mencoder — dvd rip one-liner 

I use mencoder to rip DVDs into .avi files under Linux. The following one-liner assumes that the DVD is mounted and available under dvd://, the first track is to be encoded into MPEG4 video with 1200Kbps bit rate, the video is (or gets) scaled to 640 width, the lame lib is used to encode sound into mp3 at 128Kbps bit rate. Here is the (long) one-liner, enjoy:

mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate="1200" \
-vop scale -zoom -xy 640 -oac mp3lame -lameopts br=128 -o dvd.avi # ©2007

To customise the above command look up its entry in the man pages. Further information can also be fund here.

Did you find the above information useful and interesting? If so, please support this site by using the blog directory links at the bottom of this page. Thanks for your support!

If you have any Linux related problems or questions then please feel free to post them on our Linux Forums:

VPS Hosting Referral Code DZZCC3

Add me to Technorati Favorites Vote for me on Blog Catalog

3 Responses to “mencoder — dvd rip one-liner”

  1. Daniel Says:

    Just wanted to say thanks for posting this, it worked for me - the only thing I had to change was to replace '-vop' with '-vf'

  2. mendalon Says:

    I recommend adding 'autoaspect=1' to the list of lavcopts parameters. This will ensure that widescreen-aspect DVDs are encoded correctly. Otherwise you may end up with a squished image.

  3. May Says:

    nice work. dvd to avi

Leave a Reply