summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2015-01-30 11:48:44 +0100
committerStefano Sabatini <stefasab@gmail.com>2015-01-30 11:52:37 +0100
commit40b026b1d0a33684ec28fd7db03e250671babefa (patch)
treed3092a97ac3295f5e631a719ab5d75e19f04f60a /doc
parent64815d1f0c782a632447806e40d9c7ee71f31b92 (diff)
doc/muxers/segment: document strftime option
It was added in commit 202947a0665ea523022afb0a6c50eed96bcd6b69.
Diffstat (limited to 'doc')
-rw-r--r--doc/muxers.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index e356235b67..7ca6409373 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -814,8 +814,9 @@ overhead.
Basic stream segmenter.
This muxer outputs streams to a number of separate files of nearly
-fixed duration. Output filename pattern can be set in a fashion similar to
-@ref{image2}.
+fixed duration. Output filename pattern can be set in a fashion
+similar to @ref{image2}, or by using a @code{strftime} template if
+the @option{strftime} option is enabled.
@code{stream_segment} is a variant of the muxer used to write to
streaming output formats, i.e. which do not require global headers,
@@ -995,6 +996,12 @@ Wrap around segment index once it reaches @var{limit}.
@item segment_start_number @var{number}
Set the sequence number of the first segment. Defaults to @code{0}.
+@item strftime @var{1|0}
+Use the @code{strftime} function to define the name of the new
+segments to write. If this is selected, the output segment name must
+contain a @code{strftime} function template. Default value is
+@code{0}.
+
@item reset_timestamps @var{1|0}
Reset timestamps at the begin of each segment, so that each segment
will start with near-zero timestamps. It is meant to ease the playback