I have a folder that contains audio files, files are in sequence named from 1 to 150 but none of the files have file extension.
What I want is to convert them to aac or.mp3 and If I can join them as a one audio file that I will be fantastic.
Can some one help me out with this??
Thank you in advanced
Best Answer
get a recent, real
ffmpeg
buildThe fake version in the repository from the Libav fork can not do this. You can download a Linux build of
ffmpeg
or follow a step-by-step guide to compileffmpeg
.concatenate/join/combine the audio
Generally the concat demuxer or the concat filter can be used if all of the inputs are similar, but that may be difficult with so many inputs of various formats and properties. Usually I tend to avoid creating temporary files since the
concat demuxer
or theconcat filter
alone usually work, but perhaps you can encode them to PCM in WAV and then use the concat demuxer. Assuming there are only audio files in the directory, and your audio files are in~/Desktop/test
: