flac to vbr mp3

Requiring two external programs (flac and lame) this method will quickly convert your flac files to mp3 on the command line (so you can play them on your phone).

flac -cd input.flac |lame -V -h – output.mp3

Done and done. A slight modification to do everything in the directory is:

for file in *.flac; do flac -cd “$file” | lame -V -h – “${file%.flac}.mp3”; done

which is a slight mod of this method (to use vbr, increasing quality when needed and saving file size when not).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: