Sometimes it is useful to extract an mp3 file from an mpeg or mpg file. This is a task that is handled efficiently using ffmpeg and lame. These tools are available for Linux and for Windows via Cygwin.
Here is an example:
ffmpeg -i example.mpg example.wav lame -h example.wav example.mp3