Commit 530a540c authored by Clément Bœsch's avatar Clément Bœsch

doc: add a -map_channel example for splitting channels into streams.

parent b429440d
...@@ -757,6 +757,12 @@ to the respective @var{OUTPUT_CH0} and @var{OUTPUT_CH1}: ...@@ -757,6 +757,12 @@ to the respective @var{OUTPUT_CH0} and @var{OUTPUT_CH1}:
ffmpeg -i INPUT -map_channel 0.0.0 OUTPUT_CH0 -map_channel 0.0.1 OUTPUT_CH1 ffmpeg -i INPUT -map_channel 0.0.0 OUTPUT_CH0 -map_channel 0.0.1 OUTPUT_CH1
@end example @end example
The following example split the channels of a stereo input into streams:
@example
ffmpeg -i stereo.wav -map 0:0 -map 0:0 -map_channel 0.0.0:0.0 -map_channel 0.0.1:0.1 -y out.ogg
@end example
Note that "-map_channel" is currently limited to the scope of one input for Note that "-map_channel" is currently limited to the scope of one input for
each output; you can't for example use it to pick multiple input audio files each output; you can't for example use it to pick multiple input audio files
and mix them into one single output. and mix them into one single output.
......
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