Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at

hpr1031 :: Backing up your dvd collection using mencoder

Using mencoder from the command line

<< First, < Previous, , Latest >>

Hosted by BrocktonBob on 2012-07-16 is flagged as Explicit and is released under a CC-BY-SA license.
mencoder, dvd. 1.
The show is available on the Internet Archive at:

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:07:04


Hello HPR BrocktonBob here with another short but sweet episode about backing up your dvd collection using mencoder a terminal command program.In this episode i tell you how to back up your dvd's using a small mencoder command.You will end up with a very nice .avi file about a third the size of your original dvd movie size.So just copy and paste the command below into the terminal after you have inserted the dvd into your drive.make sure to close movie player by hitting copy the code below

mencoder dvd://1 \
-alang en \
-vf crop=640:480:0:0,scale=640:405 \
-ovc xvid -xvidencopts \
bvhq=1:chroma_opt:quant_type=mpeg:bitrate=3000 \
-oac mp3lame \
-lameopts br=96:cbr:vol=6 \
-o HarryPotter.avi

Just replace HarryPotter.avi with the name of the movie your backing up enjoy.


Subscribe to the comments RSS feed.

Comment #1 posted on 2012-07-19 13:02:21 by dave

Great info BrocktonBob

Another thing that may need to be changed is the -vf crop=640:480:0:0,scale=640:405 option

Some movies will have different crop boundaries. I use mplayer dvd//:1 -vf cropdetect to to get this info before ripping.

Another tip is for the scale option. Here is your original code -vf crop=640:480:0:0,scale=640:405

Here mencoder can preserve the aspect ratio whether the movie is full screen or wide screen by using a -2 like so


Hop these tips help

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?