[FFmpeg-cvslog] doc/muxers/tee: add example showing second level escaping

Stefano Sabatini git at videolan.org
Sun Dec 15 20:14:11 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Dec 15 18:32:51 2013 +0100| [81eff6e7a20b81fb9928a9f370c290debadd2b47] | committer: Stefano Sabatini

doc/muxers/tee: add example showing second level escaping

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81eff6e7a20b81fb9928a9f370c290debadd2b47
---

 doc/muxers.texi |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 4860acb..776ba2b 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -942,6 +942,15 @@ 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
+
+ at item
+As below, but select only stream @code{a:1} for the audio output. Note
+that a second level escaping must be performed, as ":" is a special
+character used to separate options.
+ at example
+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:1\']out.aac"
+ at end example
 @end itemize
 
 Note: some codecs may need different options depending on the output format;



More information about the ffmpeg-cvslog mailing list