VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hi,
    considering my usual: https://dl.dropboxusercontent.com/u/39871584/C0020.mxf

    I would like generate a first .wav file (16bit 48Khz L+R) with audio Ch1 e Ch2

    and a second .wav file (16bit 48Khz L+R) with audio Ch3 e Ch4



    I have try ffmpeg -i C0020.mxf -map_channel 0.1.0 -map_channel 0.2.0 -af "volume=9dBrecision=fixed" audioch1ch2.wav

    but I error something.. I get a mono .wav with only ch1

    Is it possible? thanks

    ps: in original file audio ch1 is mute, audio ch2 panoramic mic camera, audio ch3=ch4 (otherMic)
    Last edited by marcorocchini; 27th Apr 2014 at 15:59.
    Quote Quote  
  2. Try it with amerge

    Code:
    ffmpeg -i c0020.mxf -filter_complex "[0:1] [0:2] amerge" -c:a pcm_s16le output1.wav
    ffmpeg -i c0020.mxf -filter_complex "[0:3] [0:4] amerge" -c:a pcm_s16le output2.wav
    Quote Quote  
  3. Name:  smiling-cat.jpg
Views: 225
Size:  3.2 KB mm it does work!

    only one thing: can I amplify of +9dB?
    Quote Quote  
  4. I don't think ffmpeg audio filters work in dB, just a multiplier
    https://www.ffmpeg.org/ffmpeg-filters.html#volume

    eg

    Code:
    ffmpeg -i c0020.mxf -filter_complex "[0:1] [0:2] amerge,volume=2" -c:a pcm_s16le test.wav
    You have to adjust the value . If you need dB scale, maybe pipe it to sox
    Last edited by poisondeathray; 27th Apr 2014 at 17:00.
    Quote Quote  
  5. NONONOsox it's so perfect! thanks
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!