Browse code

doc/muxers/segment: document strftime option

It was added in commit 202947a0665ea523022afb0a6c50eed96bcd6b69.

Stefano Sabatini authored on 2015/01/30 19:48:44
Showing 1 changed files
... ...
@@ -814,8 +814,9 @@ overhead.
814 814
 Basic stream segmenter.
815 815
 
816 816
 This muxer outputs streams to a number of separate files of nearly
817
-fixed duration. Output filename pattern can be set in a fashion similar to
818
-@ref{image2}.
817
+fixed duration. Output filename pattern can be set in a fashion
818
+similar to @ref{image2}, or by using a @code{strftime} template if
819
+the @option{strftime} option is enabled.
819 820
 
820 821
 @code{stream_segment} is a variant of the muxer used to write to
821 822
 streaming output formats, i.e. which do not require global headers,
... ...
@@ -995,6 +996,12 @@ Wrap around segment index once it reaches @var{limit}.
995 995
 @item segment_start_number @var{number}
996 996
 Set the sequence number of the first segment. Defaults to @code{0}.
997 997
 
998
+@item strftime @var{1|0}
999
+Use the @code{strftime} function to define the name of the new
1000
+segments to write. If this is selected, the output segment name must
1001
+contain a @code{strftime} function template. Default value is
1002
+@code{0}.
1003
+
998 1004
 @item reset_timestamps @var{1|0}
999 1005
 Reset timestamps at the begin of each segment, so that each segment
1000 1006
 will start with near-zero timestamps. It is meant to ease the playback