All Posts programming lame: encode WAV to MP3 files

lame: encode WAV to MP3 files

· 108 words · 1 minute read

lame is a command-line program to encode WAV to MP3 files.

Encode an audio file to MP3 using CBR 320 kbit/second:

lame -b 320 path/to/file.wav path/to/output.mp3

Encode an audio file to MP3 using the V0 preset:

lame -V 0 path/to/file.wav path/to/output.mp3

Encode an audio file to AAC:

lame path/to/file.wav path/to/output.aac

More information: https://svn.code.sf.net/p/lame/svn/trunk/lame/USAGE .

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .