Difference between revisions of "LAME"

From TMB Wiki
Jump to: navigation, search
m (added the page to the "Audio Tools" category)
(Recommended LAME version: updated links and removed ref to "fix for decoding" compile)
Line 18: Line 18:
 
'''LAME 3.97'''
 
'''LAME 3.97'''
  
*Either download the ''lame.exe fixed for decoding'' version ([http://www.rarewares.org/files/mp3/lame3.97dec-fixed.zip direct download link for lazy people])
+
* The LAME bundle which includes the ''lame.exe'' & ''lame_enc.dll'' ([http://www.rarewares.org/dancer/dancer.php?f=109 direct download for lazy people])  
*Or the LAME bundle which includes the ''lame_enc.dll'' ([http://www.rarewares.org/dancer/dancer.php?f=107 direct download for lazy people])
+
** This ''lame.exe'' includes the ''fix for decoding'', thus this can be used for [http://wiki.themixingbowl.org/MP2#Converting_to_MP3 converting MP2 to MP3]
  
 
==Usage==
 
==Usage==

Revision as of 18:10, 3 November 2006

Introduction to LAME

LAME is high quality MP3 encoder. The name LAME is a recursive acronym for LAME Ain't an MP3 Encoder, although the current version is, in fact, a stand-alone MP3 encoder. It shows superior performance and gapless playback. LAME is the recommended MP3 encoder at The Mixing Bowl. Some benefits of using LAME:

Download

Download LAME from RareWares:

Recommended LAME version

LAME 3.97

Usage

LAME is a command line program, although there are graphical interfaces like ALL2LAME which can make it easier to use.

Variable Bitrate (VBR)

VBR mode is the recommended way to use LAME at The Mixing Bowl. You use it like this:

lame -V 2 --vbr-new input.wav output.mp3

The -V 2 switch controls the quality LAME will use and it can be any whole number between 0-9. A lower numbers means a higher quality and therefore a higher bitrate.

List of bitrates for VBR mode
Switch Target Kbit/s Bitrate range Kbit/s
-V 0 --vbr-new 245 220...260
-V 1 --vbr-new 225 200...250
-V 2 --vbr-new 190 170...210
-V 3 --vbr-new 175 155...195
-V 4 --vbr-new 165 145...185
-V 5 --vbr-new 130 110...150
-V 6 --vbr-new 115 95...135
-V 7 --vbr-new 100 80...120
-V 8 --vbr-new 85 65...105
-V 9 --vbr-new 65 45...85

-V 2 --vbr-new is the recommend quality to use at The Mixing Bowl. It is probably a higher quality than is strictly necessary (the lower quality presets still provide excellent quality), however its usage is strongly encouraged to avoid any arguments over quality.

Constant Bitrate (CBR)

CBR mode is not recommend because VBR provides better quality, but if you still want to use it you use it like this:

lame -b 192 input.wav output.mp3

The -b 192 switch controls the bitrate LAME will use. Please use a bitrate of 192 kbps to avoid arguments over quality (or better still, use -V 2 --vbr-new instead).

Graphical interfaces

ALL2LAME

ALL2LAME is a graphical interface for LAME that makes it very simple to use. Follow these instructions for the easiest way to encode high quality MP3s:

  1. Download ALL2LAME from ALL2LAME homepage (http://members.home.nl/w.speek/all2lame.htm) and extract it to a folder.
  2. Download LAME from RareWares (as explained in the download section at the top of this page, and not from the link on the ALL2LAME homepage) and extract into the ALL2LAME folder.
  3. Run ALL2LAME and type -V 2 --vbr-new in the Switches: box.
  4. Load the files you want encoding and click Encode.

LameDropXPd v2

LameDropXPd v2 is a drag 'n' drop frontend for LAME. It can not only be used to encode recordings to MP3 but also for transcoding from other formats to MP3 (again with a simple Drag'n Drop). It can be downloaded from RareWares:

Further Reading

Hydrogenaudio are widely regarded as the digital audiophile site on the web. Most of the audio codec developers are members of the forum, and the information detailed there in stickies and posts, in our opinion, is the best available anywhere on the internet.

Hydrogenaudio have officially announced a successor to their previoulsy recommended LAME mp3 encoder version 3.90.3. The recommended version is now Lame 3.97.

  • See this post for details on the LAME 3.97 Hydrogenaudio recommendation.
  • See this post for the Hydrogenaudio recommended LAME settings.
  • See this post for a high level overview of the LAME versions.