How to convert DVD to DivX under Ubuntu

Posted in: Softwares, Tips and Tricks — November 28th, 2009



HandBrake is a good software to convert videos, such as DVD to DivX.

Note: It seems that since version 0.9.4, HandBrake does not support most AVI and OGG containers, and no longer supports the Xvid codec.

18915-ubuntu-logo1-s-


Here’s how to convert DVD to DivX under Ubuntu:

Add deposits for HandBrake

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 62D38753
sudo bash -c 'echo "deb http://ppa.launchpad.net/handbrake-ubuntu/ppa/ubuntu jaunty main" > /etc/apt/sources.list.d/launchpad_handbrake.list'

(Jaunty is for Ubuntu 9.04. Adapt depending on your distribution.)

Install HandBrake

sudo apt-get update
sudo apt-get install handbrake-gtk

How to use it

Insert the DVD in your computer to convert and launch HandBrake. Click “Source”:

0-sAuBGeNu-screenshot-001-s-

Check “Open VIDEO_TS folder”, then select your DVD and click on “Open “.

0-n3knH4NP-screenshot-002-s-

Then HandBrake scans the DVD.

0-aXxZSKPd-screenshot-003-s-

In principle, HandBrake automatically selects the longest sequence (the film). This should be automatic. Verify that the length is consistent.

0-HMfnJGZi-screenshot-004-s-

In the destination, choose the AVI container and then specify the destination file. Use a disc with lots of free space (over 10GB).

0-8i4HDEfs-screenshot-005-s-

Under the “Video” tab:

  • Choose codec MPEG-4 (Xvid) (which corresponds to DivX)
  • Check “2-pass encoding” for a better quality of final image.
  • Select the final size of the file (here: 700 MB).

18915-screenshot-001-s-

Under the “Audio/Subtitles” tab, select the track in English and use the MP3 codec (lame). You have nothing else to edit.

0-ePzPntSD-screenshot-007-s-

Now you can start converting by clicking on the “Start” button.

0-4Lx2Wrgh-screenshot-008-s-

Then just wait (a while). You will have at the end your AVI file of 700 MB.




Bookmark and Share

Tags: , , , , ,




3 Responses to “How to convert DVD to DivX under Ubuntu”

  1. Zach says:

    These instructions are written for Jaunty.

    In karmic it’s: sudo add-apt-repository ppa:handbrake-ubuntu

Leave a Reply