Changes between Version 10 and Version 11 of AudioChannelManipulation


Ignore:
Timestamp:
Jun 14, 2014, 1:13:46 AM (5 years ago)
Author:
llogan
Comment:

remove or fix incorrect examples

Legend:

Unmodified
Added
Removed
Modified
  • AudioChannelManipulation

    v10 v11  
    1313}}}
    1414
     15== stereo → 2 × mono files ==
     16
     17[[Image(stereo_2mono_outputs.png)]]
     18
     19Output each channel in stereo input to individual mono files:
     20
     21{{{
     22ffmpeg -i stereo.wav -map_channel 0.0.0 left.wav -map_channel 0.0.1 right.wav
     23}}}
     24
     25or with the [https://ffmpeg.org/ffmpeg-filters.html#pan pan] audio filer:
     26
     27{{{
     28ffmpeg -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
    1531== stereo → 2 × mono streams ==
    1632
     
    2036
    2137{{{
    22 ffmpeg -i in.mp3 -filter_complex channelsplit out.mp3
     38ffmpeg -i in.mp3 -filter_complex channelsplit out.mka
    2339}}}
    2440
     
    2844}}}
    2945
    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.wav
    38 }}}
    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.wav
    44 }}}
    45 
    4646== mono → stereo ==
    4747
     
    6969[[Image(2mono_stereo.png)]]
    7070
    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:
     71Create a stereo output from two mono inputs with the [https://ffmpeg.org/ffmpeg-filters.html#amerge amerge] audio filter:
    7872
    7973{{{