Tuesday, August 2, 2011

HowTo: Handbrake + Ubuntu + Encrypted DVDs

Every now and again I re-install Ubunutu and have to figure out how to re-install Handbrake and the DVD decryption.

Just a disclaimer, the legality of this is suspect, and this should only be used to make back-ups of DVDs you own. Blah blah blah. Be honest.

The following instructions come from Medibuntu documentation and Handbrake Ubuntu Installation instructions and work for me on Ubuntu 11.04.

The 5 steps to use Handbrake with Encrypted DVDs on Ubuntu

  1. Install Handbrake. There is a handy Ubuntu PPA, which has the most recent Handbrake builds.
    $ sudo add-apt-repository ppa:stebbins/handbrake-releases
  2. Add the Medibuntu repositories, which have the libraries for decrypting DVDs
    $ sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
  3. Install the libdvdcss2 library for decrypting DVDs
    $ sudo apt-get install libdvdcss2
  4. Update everything and install Handbrake
    $ sudo apt-get update && apt-get upgrade -y && apt-get install handbrake-gtk -y
  5. If everything went well, you can run handbrake with
    $ ghb
    and you can read encrypted DVDs! Hooray!

1 comment :