Ripping DVD audio
August 6, 2006
What do you do if you don’t have a video iPod, but you still want to enjoy your favorite DVD’s on the road? You can rip the audio right off the DVD using mplayer’s mencoder. At the command line type mencoder dvd://1 -oac mp3lame -of rawaudio -ovc frameno -o outputfile.mp3
If you want to rip each track individually you can script the process like this:
for (( i=1; $i<13; i++ )) do mencoder dvd://$i -oac mp3lame -of rawaudio -ovc frameno -o outfile-$i.mp3 done
Just replace the 13 with the highest title number in you DVD and you’re all set. You can use mencoder to rip the audio into ogg vorbis format or any of the other audio codecs mplayer supports.
Grab mplayer at http://www.mplayerhq.hu/
Entry Filed under: Linux. Tags: Audio, Command Line, Learning, Linux, Shell.
Trackback this post | Subscribe to the comments via RSS Feed