aboutsummaryrefslogtreecommitdiffstats
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-28 22:36:38 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-07-10 00:49:43 +0200
commit2058b52cf8a4eea9bf046f72b98e89fe9b36d3e3 (patch)
treea062b5466bbe0eb460551b4debc5465386e76efb /doc/muxers.texi
parentf8911b987de4a84ff8ae92f41ff492ece4acadb9 (diff)
downloadffmpeg-2058b52cf8a4eea9bf046f72b98e89fe9b36d3e3.tar.gz
lavf/segment: add -segment_times option
Address trac ticket #1504.
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 703bbd832e..7934fe2c89 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -474,6 +474,9 @@ the segment start and end time expressed in seconds.
Default value is "flat".
@item segment_time @var{time}
Set segment duration to @var{time}. Default value is "2".
+@item segment_times @var{times}
+Specify a list of split points. @var{times} contains a list of comma
+separated duration specifications, in increasing order.
@item segment_wrap @var{limit}
Wrap around segment index once it reaches @var{limit}.
@end table
@@ -490,6 +493,13 @@ ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.list out%03d.nu
@end example
@item
+As the example above, but segment the input file according to the split
+points specified by the @var{segment_times} option:
+@example
+ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list_type ext -segment_list out.list -segment_list_size 0 -segment_times 1,2,3,5,8,13,21 out%03d.nut
+@end example
+
+@item
To convert the @file{in.mkv} to TS segments using the @code{libx264}
and @code{libfaac} encoders:
@example