Changes between Version 4 and Version 5 of AudioChannelManipulation


Ignore:
Timestamp:
Dec 18, 2013, 3:08:57 AM (5 years ago)
Author:
llogan
Comment:

add mono to stereo example

Legend:

Unmodified
Added
Removed
Modified
  • AudioChannelManipulation

    v4 v5  
    44
    55== stereo → mono stream ==
    6 Mix a single stereo stream down to a mono stream. Both channels of the stereo stream will be mixed into the stream.
     6Mix a single stereo stream down to a mono stream. Both channels of the stereo stream will be downmixed into the stream.
    77       
    88{{{
     
    1414       
    1515{{{
    16 ffmpeg -i in.mp3 -filter_complex channelsplit out.mkv
     16ffmpeg -i in.mp3 -filter_complex channelsplit out.mp3
    1717}}}
    1818
     
    3030}}}
    3131
    32 == 2 × mono → stereo ==
    33 Create a stereo output from two mono inputs:
     32== mono → stereo ==
     33Create a stereo output from one mono input:
    3434
    3535{{{
    36 ffmpeg -i left.mp3 -i right.mp3 -ac 2 output.mkv
     36ffmpeg -i input.mp3 -ac 2 output.m4a
    3737}}}
    3838
     
    4040
    4141{{{
    42 ffmpeg -i left.mp3 -i right.mp3 -filter_complex amerge output.mkv
     42ffmpeg -i input.mp3 -filter_complex "[0:a][0:a]amerge[aud]" -map "[aud]" output.m4a
     43}}}
     44
     45
     46== 2 × mono → stereo ==
     47Create a stereo output from two mono inputs:
     48
     49{{{
     50ffmpeg -i left.mp3 -i right.mp3 -ac 2 output.wav
     51}}}
     52
     53or with the [http://ffmpeg.org/ffmpeg-filters.html#amerge amerge] audio filter:
     54
     55{{{
     56ffmpeg -i left.mp3 -i right.mp3 -filter_complex amerge output.mka
    4357}}}
    4458