Showing the changes to doc/APIchanges (1 of 28 files). Show all
Unified · Split
| @@ -15,6 +15,23 @@ libavutil: 2015-08-28 · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | API changes, most recent first: |
| 17 | 17 | |
| 18 | +2016-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 | + | |
| 18 | 35 | 2016-xx-xx - lavc 57.25.0 - avcodec.h |
| 19 | 36 | Add AVCodecContext.hw_frames_ctx. |
| 20 | 37 | |