summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-22 21:49:06 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-12-28 10:57:02 +0100
commit7a8face9fb8ddcf7a26042a1c8019e1419a72951 (patch)
treef1446ced51e1b312d26def3294001b7232efeea7 /doc
parent9e04e11e83cdb61dfdeeaaa0c8e56073e306fe74 (diff)
lavf/segment: add reference_stream option
Diffstat (limited to 'doc')
-rw-r--r--doc/muxers.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 25cf565414..03d2ef872a 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -493,7 +493,9 @@ streaming output formats, i.e. which do not require global headers,
and is recommended for outputting e.g. to MPEG transport stream segments.
@code{ssegment} is a shorter alias for @code{stream_segment}.
-Every segment starts with a video keyframe, if a video stream is present.
+Every segment starts with a keyframe of the selected reference stream,
+which is set through the @option{reference_stream} option.
+
Note that if you want accurate splitting for a video file, you need to
make the input key frames correspond to the exact splitting times
expected by the segmenter, or the segment muxer will start the new
@@ -509,6 +511,13 @@ the option @var{segment_list}. The list type is specified by the
The segment muxer supports the following options:
@table @option
+@item reference_stream @var{specifier}
+Set the reference stream, as specified by the string @var{specifier}.
+If @var{specifier} is set to @code{auto}, the reference is choosen
+automatically. Otherwise it must a stream specifier (see the ``Stream
+specifiers'' chapter in the ffmpeg manual) which specifies the
+reference stream. The default value is ``auto''.
+
@item segment_format @var{format}
Override the inner container format, by default it is guessed by the filename
extension.