Posts Tagged dvdrip

Medibuntu – Community Ubuntu Documentation

Adding the Repositories

Below are the instructions to add the Medibuntu repository to your system’s list of APT repositories. These are commands that should be run in the Terminal (Applications -> Accessories -> Terminal).

If you are new to Ubuntu, please see https://help.ubuntu.com/community/Repositories/Ubuntu for an overview of repositories.

Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution.

Any Ubuntu Release and keyring:

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

Ubuntu 9.04 “Jaunty Jackalope”:

sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 8.10 “Intrepid Ibex”:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 8.04 “Hardy Heron”:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 7.10 “Gutsy Gibbon”:

sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 6.06 “Dapper Drake”:

sudo wget http://www.medibuntu.org/sources.list.d/dapper.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Then, add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

You may be asked to accept this package even though it cannot be authenticated. This is normal; typing “Yes” means you trust Medibuntu.


If you have added the entire Medibuntu repository, you just need to install the package using APT:

sudo apt-get install libdvdcss2 w32codecs

via Medibuntu – Community Ubuntu Documentation.

Tags: , , ,

Rip a DVD into a DivX with Mencoder on MisterHowto.com

Rip a DVD into a DivX with Mencoder

We’re going to use Mencoder and Mplayer to backup a DVD you own into a DivX file.

Find out which part and language we want

mplayer dvd://2

A DVD can have several “titles” (parts), and the actual movie is not always the first one. Replace “2″ in the command above with any number, beginning from 1, until you find the part you want. Keep that number in mind.

The language you want is not necessarily the default one either. Run this command:

mplayer -alang en dvd://2

Replace “2″ with the number you found earlier, and “en” (English) with a two-letter code for the language you want (fr for French, etc.).

Make the right crop

The DVD will probably have black borders at the top and bottom of the movie, and we don’t want them in our DivX (they would make the file pointlessly larger), so we need to crop them out. Run this command:

mplayer -ss 60 -vf cropdetect dvd://2

This will make Mplayer start playing the movie 60 seconds after the beginning (replace “2″ with the right title number). Navigate in the movie (Right and Left arrows) until you reach a sequence that is bright enough to let you clearly see the movie’s borders. Close the movie and look at what Mplayer has been outputting in the terminal: lots of lines like this one:

crop area: X: 0..719 Y: 72..503 (-vf crop=720:432:0:72)30.0% 33 0

The part between brackets is exactly what you’ll need to use in a few moments to get the right crop.

Encode!

We’re all set, let’s encode the movie. We’re going to do it in two passes (better quality).

mencoder -alang en dvd://2 -ovc xvid -xvidencopts pass=2:bitrate=-700000 -oac mp3lame -vf crop=720:432:0:72 -o Movie.avi

Of course, replace “en”, “2″ and the crop options with what you need. The “bitrate” value is usually set to how much disk space (in Kb) the video will use for each second. However, by using a negative value (here -700000) you can just ask for a (very) approximate file size (here about 700 M) and Mencoder will calculate the bitrate for you.

via Rip a DVD into a DivX with Mencoder on MisterHowto.com.

Tags: , , ,