How do I maintain an ongoing conversion of all my .flac files to high-bitrate .mp3s?

cheesehead

Lifer
Aug 11, 2000
10,079
0
0
I have a great big library of .FLAC files, and a not-so-great-big mp3 player I'd like to put them on. I'm running Ubuntu Linux, pretty much bone-stock. What's the best way to keep all of my files in high-bitrate mp3 format?
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,179
518
126
for file in *.flac; do $(flac -cd "$file" | lame -q 0 -b 320 - "${file%.flac}.mp3"); done


You need lame installed on your linux box for the above to work. You can change the bitrate by changing the value of the "-b 320" to be what you want, maybe 192 is fine for you (or maybe you have a MP3 player that only supports certain bitrates). I like using "-q 0" as opposed to "-h" (which is really "-q 2") for the noise sharpening and psycho acoustic quality setting. It takes longer, but it is higher quality.
 

cheesehead

Lifer
Aug 11, 2000
10,079
0
0
Soundconverter works pretty well, though I'm hoping I won't need to manually convert any files I add to my FLAC library.