diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-10-03 01:05:29 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-19 21:31:28 +0400 |
commit | 02e8f03296d29949a7cffc8fa3e704b0efa66f17 (patch) | |
tree | 8425427e50808d1c78df851817a6bd1d87e40039 /doc | |
parent | 1ee5b5e823e3fe7e5599036bb057bfbcb3aa260c (diff) |
segment: introduce segmented chain muxer
It behaves similarly to image2 muxer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 17b1de3694..5a609c8b9a 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -90,6 +90,7 @@ avconv -i INPUT -c:a pcm_u8 -c:v mpeg2video -f framecrc - See also the @ref{crc} muxer. +@anchor{image2} @section image2 Image file muxer. @@ -267,4 +268,35 @@ For example a 3D WebM clip can be created using the following command line: avconv -i sample_left_right_clip.mpg -an -c:v libvpx -metadata STEREO_MODE=left_right -y stereo_clip.webm @end example +@section segment + +Basic stream segmenter. + +The segmenter 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}. + +Every segment starts with a video keyframe, if a video stream is present. +The segment muxer works best with a single constant frame rate video. + +Optionally it can generate a flat list of the created segments, one segment +per line. + +@table @option +@item segment_format @var{format} +Override the inner container format, by default it is guessed by the filename +extension. +@item segment_time @var{t} +Set segment duration to @var{t} seconds. +@item segment_list @var{name} +Generate also a listfile named @var{name}. +@item segment_list_size @var{size} +Overwrite the listfile once it reaches @var{size} entries. +@end table + +@example +avconv -i in.mkv -c copy -map 0 -f segment -list out.list out%03d.nut +@end example + + @c man end MUXERS |