How to do it...

The following command accepts an mp4 video file (FILE.mp4) and extracts the audio portion into a new file (OUTPUTFILE.mp3) as an mp3:

ffmpeg -i FILE.mp4 -acodec libmp3lame OUTPUTFILE.mp3