LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Taking audio from a video? (https://www.linuxquestions.org/questions/linux-newbie-8/taking-audio-from-a-video-730686/)

Shortguy109 06-04-2009 11:36 AM

Taking audio from a video?
 
Is it possible to take the audio from a video and take away the video? I recorded myself using cheese on the guitar with the webcam/recording into the laptop but now i want to take the video away from it.

dv502 06-04-2009 11:50 AM

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

Shortguy109 06-04-2009 12:46 PM

Thanks so much :D it worked

dv502 06-04-2009 02:14 PM

Glad to help :D


All times are GMT -5. The time now is 06:37 AM.