Here are a few ways to extract audio from a video
video to wav
mplayer -ao pcm:file=audio.wav video.xxx -vo null -vc null
or
ffmpeg -i video.xxx -f wav audio.wav
video to mp3
ffmpeg -i video.xxx -f mp3 audio.mp3
or
mplayer -dumpaudio video.xxx -dumpfile audio.mp3
Hope this helps
Last edited by dv502; 06-04-2009 at 11:54 AM.
|