Browse code

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

Stefano Sabatini authored on 2013/12/16 02:32:51
Showing 1 changed files
... ...
@@ -942,6 +942,15 @@ audio packets.
942 942
 ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental
943 943
        -f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=a]out.aac"
944 944
 @end example
945
+
946
+@item
947
+As below, but select only stream @code{a:1} for the audio output. Note
948
+that a second level escaping must be performed, as ":" is a special
949
+character used to separate options.
950
+@example
951
+ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental
952
+       -f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=\'a:1\']out.aac"
953
+@end example
945 954
 @end itemize
946 955
 
947 956
 Note: some codecs may need different options depending on the output format;