aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Nicholson <Tim.Nicholson@bbc.co.uk>2012-07-03 11:42:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-07-07 17:37:16 +0200
commitbb62a8b6900fd08755e96b93eec2607f9ba2bea0 (patch)
treeeb0d4109ca2f16e50295fdc58485bffa239fbd7c
parentdadfd2a525bb8d6be4fe7bef8d803efa10371f3a (diff)
downloadffmpeg-bb62a8b6900fd08755e96b93eec2607f9ba2bea0.tar.gz
doc: update mono to stereo workaround example
Now uses -filter_complex instead of deprecated lavfi/amovie Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--doc/ffmpeg.texi5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 9b4ba14312..3d3d78fd32 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -722,10 +722,7 @@ filter. For example, if you need to merge a media (here @file{input.mkv}) with 2
mono audio streams into one single stereo channel audio stream (and keep the
video stream), you can use the following command:
@example
-ffmpeg -i input.mkv -f lavfi -i "
-amovie=input.mkv:si=1 [a1];
-amovie=input.mkv:si=2 [a2];
-[a1][a2] amerge" -c:a pcm_s16le -c:v copy output.mkv
+ffmpeg -i input.mkv -filter_complex "[0:1] [0:2] amerge" -c:a pcm_s16le -c:v copy output.mkv
@end example
@item -map_metadata[:@var{metadata_spec_out}] @var{infile}[:@var{metadata_spec_in}] (@emph{output,per-metadata})