diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-09-19 00:46:53 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-09-19 10:07:53 +0200 |
commit | 6230a95659da49eb1b81f31763f930f2f8af161e (patch) | |
tree | d98e5102d7742b481a86e548a2abdef44e386a02 /doc/muxers.texi | |
parent | ea70e2f2d7b69ce3800fc72b91de5dd09bac59d5 (diff) | |
download | ffmpeg-6230a95659da49eb1b81f31763f930f2f8af161e.tar.gz |
doc/muxers: itemize tee examples
Improve rendering.
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r-- | doc/muxers.texi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index cc78b6e843..bd7088b0b1 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -878,15 +878,18 @@ specified by a stream specifier. If not specified, this defaults to all the input streams. @end table -Example: encode something and both archive it in a WebM file and stream it +Some examples follow. +@itemize +@item +Encode something and both archive it in a WebM file and stream it as MPEG-TS over UDP (the streams need to be explicitly mapped): - @example ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a "archive-20121107.mkv|[f=mpegts]udp://10.0.1.255:1234/" @end example -Example: use @command{ffmpeg} to encode the input, and send the output +@item +Use @command{ffmpeg} to encode the input, and send the output to three different destinations. The @code{dump_extra} bitstream filter is used to add extradata information to all the output video keyframes packets, as requested by the MPEG-TS format. The select @@ -896,6 +899,7 @@ audio packets. ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental -f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=a]out.aac" @end example +@end itemize Note: some codecs may need different options depending on the output format; the auto-detection of this can not work with the tee muxer. The main example |