Posted: Wed 27 Jun 2012, 12:47 Post subject:
Persuading FFConvert to recode mp3 Subject description: How to convert an mp3 file into another mp3 with different parameters
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.
Joined: 04 May 2005 Posts: 12823 Location: Arizona USA
Posted: Wed 27 Jun 2012, 13:12 Post subject:
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:
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum