diff options
author | Marton Balint <cus@passwd.hu> | 2016-01-18 01:29:06 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-01-28 21:35:44 +0100 |
commit | 369a6a6ed450487a31b00423bc136fae41c54556 (patch) | |
tree | eca4a58ece8347a8d551b773a4ffa7643d6841e9 /doc/muxers.texi | |
parent | 1036a1b8a31d879d773922f9e24ebe310bb573e1 (diff) | |
download | ffmpeg-369a6a6ed450487a31b00423bc136fae41c54556.tar.gz |
lavf/segment: add new option segment_clocktime_wrap_duration
This option can force the segmenter to only start a new segment if a packet
reaches the muxer within the specified duration after the segmenting clock
time, which makes it more resilient to backward local time jumps, such as leap
seconds or transition to standard time from daylight savings time.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r-- | doc/muxers.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index ed806d3706..4ba88831c3 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1110,6 +1110,18 @@ create files at 12:05, 12:20, 12:35, etc. Default value is "0". +@item segment_clocktime_wrap_duration @var{duration} +Force the segmenter to only start a new segment if a packet reaches the muxer +within the specified duration after the segmenting clock time. This way you +can make the segmenter more resilient to backward local time jumps, such as +leap seconds or transition to standard time from daylight savings time. + +Assuming that the delay between the packets of your source is less than 0.5 +second you can detect a leap second by specifying 0.5 as the duration. + +Default is the maximum possible duration which means starting a new segment +regardless of the elapsed time since the last clock time. + @item segment_time_delta @var{delta} Specify the accuracy time when selecting the start time for a segment, expressed as a duration specification. Default value is "0". |