[FFmpeg-cvslog] doc: add a -map_channel example for splitting channels into streams.

Clément Bœsch git at videolan.org
Tue Nov 22 21:54:46 CET 2011


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Nov 22 21:51:20 2011 +0100| [530a540cece290ab356f1608be0b8706b61616b4] | committer: Clément Bœsch

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=530a540cece290ab356f1608be0b8706b61616b4
---

 doc/ffmpeg.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 5daeb3b..2fbfa44 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -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
 @end example
 
+The following example split the channels of a stereo input into streams:
+
+ at 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
+ at end example
+
 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
 and mix them into one single output.



More information about the ffmpeg-cvslog mailing list