Ralfs
mp3 on Linux

Grip

grip config:
Rip:
	~/Music/wav/%A/%d/%t_%n.wav
Encode:
	~/Music/%x/%A/%d/%t_%n.%x
(/extension/, Artist, Disc name, Track number, Track Name.) Pie wav NEVAR lietot %x !
Skat ieksh:
~/.grip
ripfileformat ~/Music/%x/%A/%d/%t_%n.wav
mp3fileformat ~/Music/%x/%A/%d/%t_%n.%x
Tad visi wav faili, ja tie paliek buus atsevishkji no mp3.
Tip:
Any of the '%' switches can optionally be preceded by a '*' or '!' modifier (for example, '%*a'). '*' prevents Grip from doing any stripping of characters from the string. '!' forces Grip to strip characters from the string.

LAME

Important lame switches:
-h      Use  some  quality  improvements.
-b n    CBR (constant bitrate, the default)
Fixed bit rate jstereo 320 kbps encoding:
$ lame -b 320 sample.wav sample.mp3

Links: LAME Project - official home page