Julian Salerno via ffmpeg-user (HE12025-11-23): > I use ffmpeg in a very simple command to concatenate WAV audio files: > > ffmpeg -f concat -i ffmpeg_wav_file_order.txt -c copy outputFile.wav > > where ffmpeg_wav_file_order.txt contains for example: > > file file1.wav > file file2.wav > file file3.wav > > All good. > > Now, I would like to be able to specify periods of silence between the > files, for example: > * no period of silence before file1 start-of-content > * 1 sec period of silence between file1 end-of-content and file2 > start-of-content > * 2.2 sec period of silence between file2 end-of-content and file3 > start-of-content > > Can somebody offer a simple solution ?
Use the concat filter instead: ffmpeg \ -i file1.wav \ -i file2.wav \ ... -lavfi '[0:0][1:0]…concat=v=0:a=1:n=…' … Then create the silence you need with 'anullsrc=d=42s[s1]' and insert it into the inputs of concat. Regards, -- Nicolas George _______________________________________________ ffmpeg-user mailing list -- [email protected] To unsubscribe send an email to [email protected]
