aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-12-15 18:32:51 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-12-15 20:04:06 +0100
commit81eff6e7a20b81fb9928a9f370c290debadd2b47 (patch)
tree8d55762aaaa80d5f88b10a6529aad07fb842c969
parent2364b4031dcbcaaf55c7af72e7b0ebf9be5f9cb8 (diff)
downloadffmpeg-81eff6e7a20b81fb9928a9f370c290debadd2b47.tar.gz
doc/muxers/tee: add example showing second level escaping
-rw-r--r--doc/muxers.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 4860acb02c..776ba2b7b9 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
+
+@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.
+@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"
+@end example
@end itemize
Note: some codecs may need different options depending on the output format;