Commit bb62a8b6 authored by Tim Nicholson's avatar Tim Nicholson Committed by Michael Niedermayer

doc: update mono to stereo workaround example

Now uses -filter_complex instead of deprecated lavfi/amovie
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dadfd2a5
...@@ -722,10 +722,7 @@ filter. For example, if you need to merge a media (here @file{input.mkv}) with 2 ...@@ -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 mono audio streams into one single stereo channel audio stream (and keep the
video stream), you can use the following command: video stream), you can use the following command:
@example @example
ffmpeg -i input.mkv -f lavfi -i " ffmpeg -i input.mkv -filter_complex "[0:1] [0:2] amerge" -c:a pcm_s16le -c:v copy output.mkv
amovie=input.mkv:si=1 [a1];
amovie=input.mkv:si=2 [a2];
[a1][a2] amerge" -c:a pcm_s16le -c:v copy output.mkv
@end example @end example
@item -map_metadata[:@var{metadata_spec_out}] @var{infile}[:@var{metadata_spec_in}] (@emph{output,per-metadata}) @item -map_metadata[:@var{metadata_spec_out}] @var{infile}[:@var{metadata_spec_in}] (@emph{output,per-metadata})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment