summaryrefslogtreecommitdiff
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-13 23:29:09 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-07-08 17:08:56 +0200
commit7f08bfae6e65dbc7753706b57cb49c23565bd0e8 (patch)
treebfeb87a8ce238607568e01aadfb6e50f15867503 /doc/muxers.texi
parentb010d9b58651379883b42e58494aaefbab4df648 (diff)
lavf/segment: add segment_list_type option, extend format for the segment list file
Add list extended format which specifies in the list file the start and ending time for each segment. This is required to make it available this information to external tools, avoiding the need to perform file analysis in the output segments.
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index dabf8b0929..2d7c32f482 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -450,6 +450,30 @@ listfile is generated.
@item segment_list_size @var{size}
Overwrite the listfile once it reaches @var{size} entries. If 0
the listfile is never overwritten. Default value is 5.
+@item segment_list type @var{type}
+Specify the format for the segment list file.
+
+The following values are recognized:
+@table @option
+@item flat
+Generate a flat list for the created segments, one segment per line.
+
+@item ext
+Generate a list for the created segments, one segment per line,
+each line matching the format:
+@example
+@var{segment_filename},@var{segment_start_time},@var{segment_end_time}
+@end example
+
+@var{segment_filename} is the name of the output file generated by the
+muxer according to the provided pattern, and should not contain the
+"," character for simplifying parsing operations.
+
+@var{segment_start_time} and @var{segment_end_time} specify
+the segment start and end time expressed in seconds.
+@end table
+
+Default value is "flat".
@item segment_wrap @var{limit}
Wrap around segment index once it reaches @var{limit}.
@end table