Converting AAC audio files to mp3

Written by

in

This command will convert an AAC audio file to an mp3 audio file:
ffmpeg -i input.m4a -acodec mp3 -ac 2 -ab 128 output.mp3
Batch conversion can be done with
for i in *.m4a; do
    ffmpeg -i "$i" -acodec mp3 -ac 2 -ab 128 "${i%m4a}mp3";
done
Sometimes it really is simple 🙂

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *