Convert Your DVDs to MP4s and Get Rid of Your DVD Player

Also great for movies on the go

Convert Your Physical Discs to Digital Files with HandBrake.

Martin Janecek/Getty Images

If you have a big collection of DVDs, you probably have a DVD player to watch them on. But what if you want to watch them on the go or, better yet, save them as a digital file on your computer or mobile device?

You can use HandBrake, a free and open source video encoding tool, to convert those DVDs to the MP4 file format.

Why Convert DVDs to MP4?

There are several advantages to "ripping" your discs, or converting the content from the physical media to a digital file:

  • Place these files on a storage server and play them with the Plex system.
  • Copy them to your phone to enjoy on the go.
  • Make a backup copy of the content to have in the event the physical disc is damaged.

However, there are two legal issues with ripping a DVD. The grey area is the ripping process involves defeating the digital rights management (DRM) that protects the DVD, which is technically a violation of the Digital Millenium Copyright Act.

The second is ripping media makes it tempting to share the resulting content over networks such as BitTorrent, which amounts to piracy. However, if you make sure to keep the results of your work for your own personal use, then you'll be in strict legal territory.

How to Install HandBrake Video Converter on Windows

The installation process for the HandBrake application is fairly painless. Once you've downloaded the Windows installer from the HandBrake site, you can double-click it and run through the installation.

  1. The first screen contains a simple welcome message. Select Next to continue.

    The Welcome Screen of HandBrake's Windows Installer.
  2. Select I Agree to accept the software's license. This is the GNU Public License (GPL), an open source software license that governs a lot of free software.

    You Can Agree to the GPL Open Source Licence That Governs HandBrake.

    Since you have access to the software's source code, the GPL basically says you won't take that code and use it to create a proprietary product.

  3. The installer will offer to place Handbrake within a standard folder: C:\Program Files\HandBrake. You can install it here or elsewhere, just select your folder and select Install.

    Selecting the Install Location for HandBrake.
  4. The files will begin to copy over to your machine at this point. This is a really quick process.

    The HandBrake Installer Copying Its Files.
  5. The final screen will confirm the installation. Select Finish to close the installer.

  6. Once HandBrake is installed,, you'll need to take one extra step in order to rip your DVDs. Download this libdvdcss-2.dll file from the VideoLan project (makers of the excellent VLC media player).

  7. Copy the .dll file into the HandBrake install directory. This will be "C:\Program Files\HandBrake\" if you kept the default install location.

    The version of libdvdcss-2 we're using is a bit older because it's the last one the VideoLAN project made available as an easily-installable binary. If you browse through later versions, the only release is .BZ2 files. Inside these you'll find source code you can compile yourself, but if you want a quick, point-and-click install, v1.2.11 will do just fine.

Now, you'll be ready to make your movies digital.

How to Install HandBrake Video Converter on macOS

Getting HandBrake going on your Mac is even easier.

  1. Head over to the HandBreak website and download the macOS .DMG archive.

  2. Double-click to open it. You'll see two items: doc, which contains documentation, and the program itself in the .APP format.

    The HandBrake .DMG File Contains Documentation and the App Itself.
  3. Simply drag and drop this into your Applications folder, and HandBrake is good to go.

Adding the libdvdcss-2 library in macOS

We will also need to add the libdvdcss-2 library if we're to rip your DVDs. This takes a little more effort, but the easiest way is to install it from the Homebrew project, which is a Linux-style package repository and installer for macOS.

  1. First, we'll need to install Xcode command line tools for software development on a Mac. Open Terminal and issue the following commands:

    sudo xcode
  2. Select Install to install the development tools.

    The Terminal Command Will Start the Install for XCode's Command Line Tools.

    If you select Get XCode, you'll be prompted to download the full XCode application, which you do not need.

  3. Select Agree to accept the XCode License Agreement.

    Accept the License Agreement for the XCode Tools.
  4. It may take some time for the tools to download, but you'll see a handy progress bar. Once the process finishes the tools are installed.

    Downloading and Installing the XCode Command Line Tools.
  5. Next, let's install Homebrew itself. Use this command from the project, which uses the curl tool to download and run a Ruby language script to perform the install:

    /usr/bin/ruby -e "$(curl -fsSL
    Installing the Homebrew System with a Single Terminal Command.
  6. Now we can install the library we need with the following command:


    There's a lot of technical stuff going on here, but basically Homebrew is downloading the code for libdvdcss, building it, and installing it for you.

    Homebrew Downloading and Installing libdvdcss.

The library will now be available for HandBrake to use.

How to Install HandBrake Video Converter on Linux

The HandBrake project offers Linux installers in two formats. For Ubuntu, you can get it up and running with the following commands in Terminal:

  1. Add the offical HandBrake Personal Package Archive (PPA):

    sudo add-apt-repository ppa:stebbins/h
  2. Then, update your package lists:

  3. Finally, install the graphical application and/or the command line (CLI) version with the following commands:

    sudo apt inst
    sudo apt inst
  4. You can now launch the GUI HandBrake from your applications menu, or the command line version in your favorite terminal.

Installing the libdvdcss library

Linux will also require the installation of libdvdcss, but fortunately it's really simple. The following command will install some development tools (again, nothing you'll actually have to use manually):

sudo apt i
The libdvd-pkg Package for Linux Requires Some Additional Software.

As with macOS, getting this library requires you to install some development tools on your system. Even if you're not a programmer these are OK to install, and they may be useful for other types of software, like automatic hardware driver updates.

Now issue the following, which will download the latest code for libdvdcss, build it, and install it on your system:

sudo dpkg-recon
The libdvd-pkg Script Offering to Download and Update the Library.

The above message is a little cryptic, but it's letting you know it will periodically download and update libdvdcss as new releases are available.

Using HandBrake to Convert DVD to MP4

The HandBrake Source Selection Dialog on Windows.

Once you've installed HandBrake, start it up in the usual way, depending on your operating system. Initially, the app should prompt you for a media source to ope. This may be an existing file or folder containing more than one, but we want to convert a DVD, so take the following steps:

  1. If you haven't already, insert the DVD into your PC's drive.

  2. Either select Open Source on the toolbar, or select File > Open Source. The drive should then show up.

    This is referring to the media source, not open source software.

  3. Select the DVD drive with the video you want.

    Choosing Your Media Source on macOS.

    This screen may look slightly different depending on your system, but it will operate in the same way.

  4. At this poing HandBrake will start scanning your disk. You'll see it start to count up the Titles on the disc, which we'll come to in a little bit.

    HandBrake Scanning Your DVD's Contents.

    If the app freezes for what feels like a long time, it might be because you forgot to install the libdvdcss-2 library, or the install went wrong. This means HandBrake can't decrypt the DVD, and unfortunately it doesn't always let you know this. Cancel the current task, then try again after following the install instructions for your OS.

  5. Once it completes, you'll see the main screen. For our purposes, there are really four settings that matter. The first is the Range settings, which should have Chapters selected by default. Make sure all of your movie's chapters are included here (e.g. 1 through 40 in the below screenshot).

    Configure a Few Key Settings on the Main Screen to Convert Your DVD.
  6. Next, take a look at the Presets, which dictate the size and quality of the resulting video file. 1080p is good if you're going to watch on anything larger than a mid-size tablet. 720p is good for smaller devices, as you won't notice the difference in quality as much and 720p or less will give you a good balance of portability and quality.

    The higher the quality, the larger the resulting file size.

  7. Next, select the Summary tab (if not selected by default), select the Format dropdown menu, then select MP4.

  8. Select Browse in the bottom right corner to choose a destination for your output. Pick your folder and filename, then select Save to lock it in.

  9. Now that all your configurations are done, select Start Encode. You'll get an estimate for how long the process will take.

    The Progress Bar at the Bottom of the Screen Gives You an ETA.
  10. Once it's done, your new digital video file is ready.