Ffmpeg-audio-extract
From Karmaking
ffmpeg -i sample.avi will give you the audio/video format info for your file.
ffmpeg -i sample.avi -vn -acodec 'copy' sample-audio.aac
-vn is no video. -acodec 'copy' says use the same audio stream that's already in there.