Site icon Bytefreaks.net

How we concatenate multiple mp3 files into one using ffmpeg

Happy treason day ungrateful colonials
Advertisements

Recently, we needed to concatenate multiple mp3 files into one. We had at our disposal a machine that had ffmpeg installed.
To perform the merge, we created a list (separated by the character |) of the mp3 files, in the order we wanted them merged and executed the concat operation of ffmpeg to complete our task. Our resulting command was the following


ffmpeg -i "concat:20181021_080743.MP3|20181021_090745.MP3|20181021_100745.MP3" -acodec copy 20181021.mp3

This post is also available in: Αγγλικα

Exit mobile version