diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-08-09 13:44:17 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-14 13:17:45 +0400 |
commit | 0cad101ea10d01cb9f4780ebd915fb16dad19997 (patch) | |
tree | 7a4f655f210ebbded5acaa703163d4b108bf804c /doc | |
parent | 1bfa349a8d706424b5f2f379c439c11be21f4316 (diff) |
ffmpeg: add an option to fix subtitles durations.
With this option, transcoding DVB subtitles becomes possible.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffmpeg.texi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 2908ad8a71..ab7697abc5 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -620,6 +620,25 @@ Disable subtitle recording. Deprecated, see -bsf @end table +@section Advanced Subtitle options: + +@table @option + +@item -fix_sub_duration +Fix subtitles durations. For each subtitle, wait for the next packet in the +same stream and adjust the duration of the first to avoid overlap. This is +necessary with some subtitles codecs, especially DVB subtitles, because the +duration in the original packet is only a rough estimate and the end is +actually marked by an empty subtitle frame. Failing to use this option when +necessary can result in exaggerated durations or muxing failures due to +non-monotonic timestamps. + +Note that this option will delay the output of all data until the next +subtitle packet is decoded: it may increase memory consumption and latency a +lot. + +@end table + @section Audio/Video grab options @table @option |