How to compile the lame (.wav to .mp3 converter utility)?


Steps described here requires download stuff from Internet web sites, hence you might want to read the article on
how to configure Internet access on your Fedora Desktop.

I have demonstrated the steps needed BSNL DataOne Broadband users here
 

Download lame version 3.97 source tarball from

http://lame.sourceforge.net/download.php

cd ~
tar -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure
make
make install

The above steps will compile and place a binary called "lame" in /usr/local/bin/ location

vi ~/.bashrc and add the following line if /usr/local/bin is not present as part of PATH environment variable

export PATH=/usr/local/bin:$PATH

. ~/.bashrc
Now type

$ lame
LAME 32bits version 3.97 (http://www.mp3dev.org/)

usage: lame [options] <infile> [outfile]

    <infile> and/or <outfile> can be "-", which means stdin/stdout.

Try:
     "lame --help"           for general usage information
 or:
     "lame --preset help"    for information on suggested predefined settings
 or:
     "lame --longhelp"
  or "lame -?"              for a complete options list


Now you have the lame mp3 encoder in your machine

To convert any .wav file to .mp3 issue the following command
$ lame test.wav test.mp3

This example command converts test.wav to test.mp3

Use this lame utility to rip Audio CD's in Fedora Core 6 using this steps


<-- Back to Home