From 40b026b1d0a33684ec28fd7db03e250671babefa Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 30 Jan 2015 11:48:44 +0100 Subject: doc/muxers/segment: document strftime option It was added in commit 202947a0665ea523022afb0a6c50eed96bcd6b69. --- doc/muxers.texi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3