Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-01-18 03:29:06 +0300
committerMarton Balint <cus@passwd.hu>2016-01-28 23:35:44 +0300
commit369a6a6ed450487a31b00423bc136fae41c54556 (patch)
treeeca4a58ece8347a8d551b773a4ffa7643d6841e9 /doc/muxers.texi
parent1036a1b8a31d879d773922f9e24ebe310bb573e1 (diff)
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.texi12
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".