History

lavc: allow subtitle text format to be ASS without timing

Clément Bœsch committed 10 years ago

Commit 29412821 parent 805685f28 files · +341 −236Browse files

Showing the changes to doc/APIchanges (1 of 28 files). Show all

Unified · Split

doc/APIchanges+17−0
@@ -15,6 +15,23 @@ libavutil: 2015-08-28 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182016-xx-xx - xxxxxxx - lavc 57.26.100 - avcodec.h
19 Add a "sub_text_format" subtitles decoding option allowing the values "ass"
20 (recommended) and "ass_with_timings" (not recommended, deprecated, default).
21 The default value for this option will change to "ass" at the next major
22 libavcodec version bump.
23
24 The current default is "ass_with_timings" for compatibility. This means that
25 all subtitles text decoders currently still output ASS with timings printed
26 as strings in the AVSubtitles.rects[N]->ass fields.
27
28 Setting "sub_text_format" to "ass" allows a better timing accuracy (ASS
29 timing is limited to a 1/100 time base, so this is relevant for any subtitles
30 format needing a bigger one), ease timing adjustments, and prevents the need
31 of removing the timing from the decoded string yourself. This form is also
32 known as "the Matroska form". The timing information (start time, duration)
33 can be found in the AVSubtitles fields.
34
182016-xx-xx - lavc 57.25.0 - avcodec.h352016-xx-xx - lavc 57.25.0 - avcodec.h
19 Add AVCodecContext.hw_frames_ctx.36 Add AVCodecContext.hw_frames_ctx.
20 37

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t