Changes between Version 10 and Version 11 of AudioChannelManipulation
- Timestamp:
- Jun 13, 2014, 10:13:46 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AudioChannelManipulation
v10 v11 13 13 }}} 14 14 15 == stereo → 2 × mono files == 16 17 [[Image(stereo_2mono_outputs.png)]] 18 19 Output each channel in stereo input to individual mono files: 20 21 {{{ 22 ffmpeg -i stereo.wav -map_channel 0.0.0 left.wav -map_channel 0.0.1 right.wav 23 }}} 24 25 or with the [https://ffmpeg.org/ffmpeg-filters.html#pan pan] audio filer: 26 27 {{{ 28 ffmpeg -i stereo.wav -filter_complex "[0:0]pan=1:c0=c0[left];[0:0]pan=1:c0=c1[right]" -map "[left]" left.wav -map "[right]" right.wav 29 }}} 30 15 31 == stereo → 2 × mono streams == 16 32 … … 20 36 21 37 {{{ 22 ffmpeg -i in.mp3 -filter_complex channelsplit out.m p338 ffmpeg -i in.mp3 -filter_complex channelsplit out.mka 23 39 }}} 24 40 … … 28 44 }}} 29 45 30 == stereo → 2 × mono files ==31 32 [[Image(stereo_2mono_outputs.png)]]33 34 Output each channel in stereo input to individual mono files:35 36 {{{37 ffmpeg -i stereo.wav -map_channel 0.0.0 left.wav -map_channel 0.0.1 right.wav38 }}}39 40 or with the [https://ffmpeg.org/ffmpeg-filters.html#pan pan] audio filer:41 42 {{{43 ffmpeg -i stereo.wav -filter_complex "[0:0]pan=1:c0=c0[left];[0:0]pan=1:c0=c1[right]" -map "[left]" left.wav -map "[right]" right.wav44 }}}45 46 46 == mono → stereo == 47 47 … … 69 69 [[Image(2mono_stereo.png)]] 70 70 71 Create a stereo output from two mono inputs: 72 73 {{{ 74 ffmpeg -i left.mp3 -i right.mp3 -ac 2 output.wav 75 }}} 76 77 or with the [https://ffmpeg.org/ffmpeg-filters.html#amerge amerge] audio filter: 71 Create a stereo output from two mono inputs with the [https://ffmpeg.org/ffmpeg-filters.html#amerge amerge] audio filter: 78 72 79 73 {{{
