DVD Ripping with Mplayer (note to self)

Just for my memory. This is a good guidance. I just bought a DVD (yes, it’s been a long time since we had “Datenträger”. Go figure… ), “Das China Syndrome” – the elder ones may remember. And now I want to watch it on my Android and Linux Devices, and have it on my media server. So: 

How to rip a DVD to MPEG-4 using MEncoder & Linux » Axllent.org

mplayer dvd://1 -chapter 3 -vf cropdetect

mencoder dvd://1 -vf crop=720:416:0:80,scale=704:304 -ovc xvid -xvidencopts bvhq=1:chroma_opt:quant_type=mpeg:bitrate=658:pass=1 -oac copy -o /dev/null

mencoder dvd://1 -vf crop=720:416:0:80,scale=704:304 -ovc xvid -xvidencopts bvhq=1:chroma_opt:quant_type=mpeg:bitrate=658:pass=2 -alang en -oac mp3lame -lameopts br=96:cbr:vol=6 -o outfile.avi

Don’t just copy and paste these lines. You’ll need the crop values from the output of the first command.