

Then I concat the three audios with ffmpeg:įfmpeg -i "concat:hello.mp3|10SecSilence.mp3|goodbye.mp3" -acodec copy test.mp3 I listen separately to each of the mp3 audios and they're fine. Then I create an mp3 file with the ffmpeg software:įfmpeg -filter_complex aevalsrc=0 -t 10 10SecSilence.mp3


I'm using the Google text-to-speech gtts package ( ) to create the two (non-silent) mp3 files: gtts-cli 'hello' -output hello.mp3 I want to create an mp3 file from the linux command line that is the concatenation of two mp3 files with a period of silence in the middle.
