Persuading FFConvert to recode mp3

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
Llama
Posts: 8
Joined: Tue 26 Jun 2012, 15:53

Persuading FFConvert to recode mp3

#1 Post by Llama »

Hi,

I tried different codecs and bitrates, but FFConvert makes exact copies of the source files. Quite happily, without warnings or error messages.

Search brings precious little on the subject, either for FFConvert or FFmpeg.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

I've been using this for years to downconvert high-resolution mp3 files to 32 KB mono mp3 files. It will convert an entire CD of high-res mp3 files and put them where you tell it to. (Pressing the ` key while in the directory that contains the mp3 files you want to downconvert will open a console in that directory. Just copy this code into that console, replace the /mnt// at the end with the path to the directory where you want it to put the files and hit Enter.)

Code: Select all

for f in *.mp3;do ffmpeg -i "$f" -y -f mp3  -acodec libmp3lame -ab 32k -ac 1 -ar 22050   /mnt//"$f";done
I didn't make it up. Someone in the forum gave it to me, I can't remember who. You can probably change the numbers to get the mp3 quality you want. Enter ffmpeg --help in a console for more info on the available options.

Post Reply