summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2022-12-21 19:41:58 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2022-12-29 15:43:40 +0530
commitd39b34123daadce3c7db2851120cf10b4c3511db (patch)
tree5e01f8c2b8ff56865ce0c78ce670a197d922aeef /doc
parentaee0f320ac7f45143d8dc87b5b0f79d264ed40eb (diff)
avformat/segment: add option min_seg_duration
New option can be used to avoid creating very short segments with inputs whose GOP size is variable or unharmonic with segment_time. Only effective with segment_time.
Diffstat (limited to 'doc')
-rw-r--r--doc/muxers.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 4edbb22b00..ed5341be39 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -2369,6 +2369,11 @@ Note that splitting may not be accurate, unless you force the
reference stream key-frames at the given time. See the introductory
notice and the examples below.
+@item min_seg_duration @var{time}
+Set minimum segment duration to @var{time}, the value must be a duration
+specification. This prevents the muxer ending segments at a duration below
+this value. Only effective with @code{segment_time}. Default value is "0".
+
@item segment_atclocktime @var{1|0}
If set to "1" split at regular clock time intervals starting from 00:00
o'clock. The @var{time} value specified in @option{segment_time} is