Howto rip the audio from a video clip

Recently I came across a video clip that I wanted to rip the audio from. Easy enough (and fast!) using mencoder:

mplayer -novideo -ao pcm:file=output.wav input_file.avi Then if you want to convert said wave file into an mp3 or ogg file: lame -b 64 -a output.wav new_output.mp3 oggenc --downmix -b 64 output.wav -o new_output.ogg
Leave A Reply - 3 Replies
Replies
Swobodin 2006-08-04 02:03am - No Email - Logged IP: 196.203.44.90

How about piping? mkfifo sound cat sound | oggenc -o soundtrack.ogg - & mplayer dvd://1 -dvd-device /dev/hdc -vo null -ao pcm:file=sound

http://fedora-tn.org/?q=node/88

Scott Baker 2006-08-04 08:33am - No Email - Logged IP: 65.182.224.60

That totally works too. There are several different ways to do it. I think my way above is a little clearer, but they both work. Pipes make more sense if you're going to have LOTS of data that you don't want sitting on your disk you want it processed in a chain.

vivpet 2007-03-23 11:58am - No Email - Logged IP: 64.12.116.207

but how you do it? coul you do it step by step, please

All content licensed under the Creative Commons License