You could use the "-dumpaudio" option also.
Code:
mplayer file.mov -dumpaudio -dumpfile audio.mp3
MPlayer will also tell you the audio codec used in the video, so you know what extension to use for the dumped audio file.
Code:
mplayer file.mov 2>/dev/null | grep "DECAUDIO"
DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
DECAUDIO: AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)