[FFmpeg-user] wav concat woes

Sean Darcy seandarcy2 at gmail.com
Mon Apr 28 23:23:56 CEST 2014

On 04/28/2014 12:49 AM, Tim Hiles wrote:
>>> On Fedora 20, trying to concatenate a set of wav files.
>>> cat 01_list.txt
>>> file '01/01.01_test.wav'
>>> file '01/01.02_test.wav'
>>> file '01/01.03_test.wav'
>>> file '01/01.04_test.wav'
>>> ffmpeg  -f concat -i 01_list.txt -vn -c:a libfdk_aac    -profile:a aac_he
>>> -b:a 48k -ac 1 -signaling implicit    test2.m4a 2> ffmpeg.out
>>> And I can run the command on each individually.
>>> ..
>>> ..
>>> Any help appreciated.
> I will preface my comment by saying I'm not sure if this breaks ffmpeg
> email list rules by suggesting this, so my apologies in advance if I'm not
> supposed to.
> I used ffmpeg for almost every video encoding and some audio encoding as
> well.  Occasionally I will need to use opensource command line software
> called sox.  I'm not endorsing, I'm not on their team, nor a friend of
> anyone on the team, etc.  Just mentioning another tool to use.
> According to the sox documentation you can use example below to concatenate.
> sox −m music.mp3 voice.wav mixed.flac
>   I just tested it out using this:
>   c:\sox\sox.exe "WS520148.WAV" "WS520149.WAV" total.wav

Thanks for the suggestion. I'd still lie to know why -f concat didn't 
work in ffmpeg, but I did use sox as a workaround.

sox 01/01*wav  -t wav  - |
    ffmpeg -i - -vn -c:a libfdk_aac \
    -profile:a aac_he -b:a 48k -ac 1 -signaling implicit \

Worked like a charm.


More information about the ffmpeg-user mailing list