Converting Audio Files; FLAC to MP3

Using my little computer which has the cpu capacity of a very stupid weevil I find it quicker to avoid too much GUI.

So, lets get to the point:

Navigate to the directory which contains the offending FLAC files and copy this in:

for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done

You'll get an error if you don't have lame or flac installed. So install them and try again. Done. Easy.

read more from the original post

Comments

And if it's just for the one

And if it's just for the one file:

ffmpeg -i input.foo -acodec libmp3lame -aq 4 output.mp3

 

 

Ruben
tregeagle.com