Page 1 of 1

lame.exe commands ?

PostPosted: Fri Feb 04, 2005 8:27 am
by db_york
I want to try saving files as MP3s. I'm using LAME.EXE but I don't know what line commands to use. Any suggestions or useful links?
Thanks

PostPosted: Sat Feb 05, 2005 2:29 pm
by Derek
The LAME download includes a directory called 'HTML'. Open this directory and double click on the file index.html. This is the intro to the LAME user manual that includes all the command line options.

You can find the lame download at http://mitiok.free.fr/

Another way to list the command line options is to open the Windows command prompt; navigate the directory where lame.exe resides; and type lame --help or lame --longhelp

PostPosted: Wed Feb 09, 2005 6:40 pm
by chaswin
Lame seems to be widely used in a number of other products. For example, RazorLame - http://www.dors.de/razorlame/index.php - is a simple GUI front-end that converts wav's to MP3's quickly and easily, whilst Audiograbber - http://www.audiograbber.com-us.net/ - will take a CD, convert it to wav format and then to MP3. Both products use Lame for the actual encoding. Latest Lame version is 3.96.1.

"invalid parameters entered"

PostPosted: Mon Feb 14, 2005 8:36 pm
by db_york
To be clear on this - I'm trying to "save corrected waveform" using "external encoder" then trying to set parameters on the "compression settings" panel. I've set the path to the LAME.EXE encoder.

I've checked out the LAME help but I can't find a combination of commands (and file extension) which doesn't result in the message "invalid parameters entered". (Am I even supposed to set the file extension?)

I wouldn't have thought I need to enter the INPUT.WAV and OUTPUT.MP3 file names - these would be set by Wave Corrector wouldn't they?

Can someone suggest any combination of commands which works for them?
Thanks

PostPosted: Mon Feb 14, 2005 8:57 pm
by Derek
The input and output names are set by Wave Corrector but you have to use the %IN and %OUT tokens to tell Wave Corrector where the names go on the command line. (For example, some encoders require you to put the parameters before the file names; some require a -o before the output file name etc)

For LAME.EXE, the order is input name, output name, parameters. A simple command line would be:

%IN %OUT -b 160

This sets a bit rate of 160kb/sec and leaves all other parameters at their defaults.

Sorted!

PostPosted: Tue Feb 15, 2005 6:24 pm
by db_york
Thanks - all sorted now.