Re: Audio conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan and Bertil Smark Nilsson wrote:

Does anybody know a good conversion program to convert from flac to mp3? Preferably console based.

Unfortunately the LAME encoder doesn't read FLAC files natively, though there's probably a good argument for such support. But you could do the following:

flac -dc <flacfile> |lame <lameopts> - <mp3file>

This assumes you have lame and flac installed.

The -d for flac tells flac to decode, and the -c tells it to write to standard output.

Lame can be run with no options, and will default to 128kbps stereo or equivalent. If you care about quality, you'll probably want to at least up the bitrate (e.g. lame -b 192).

Hope this helps,
Geoff.

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]