Install Libdvdcss On Windows

Posted on -

Everyone has a dream to be a Hollywood movie maker, right? For performing certain operations on a video file, most friends like to import it into iMovie and then perform the.

From the website:

libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.

This repository hosts the compiled libdvdcss-2.dll for Windows. Downloadthe .dll from this repository and drop it into the Handbrake installationfolder to convert your DVDs to mp4 files.

Instructions

  • Pick the version of libdvdcss you want (the highest version should be fine).
  • Download the appropriate libdvdcss-2.dll from this repository.
  • Move libdvdcss-2.dll into the Handbrake installation folder (usually C:Program FilesHandBrake).
  • Enjoy ripping your DVDs. Please use responsibly.

Compile libdvdcss yourself

Either Linux, macOS, or Windows 10 is required.

Old movie indian. These instructions are tailored for those familiar with the command line on a Linux machine. I documented them so I don't forget them.

Download the libdvdcss source code.

For Windows 10:

  • Open the Ubuntu VM built into Windows 10 (Windows Subsystem for Linux).
  • cd to the directory the source code was downloaded to (the path to your Downloads folder in the Ubuntu VM is /mnt/c/Users/<username>/Downloads).

Run the following to build libdvdcss-2.dll:

Troubleshooting

If you get an error like WARNING: 'aclocal-1.15' is missing on your system.

Bundling a release

Create a .tar.gz archive:

Create a zip archive:

Say you have a movie on DVD, but you want to watch it on your phone, tablet, somewhere else. You can “rip” that DVD—or turn it into a movie file on your computer—to play it wherever you want. Here’s how to do it.

Ripping a movie to your hard drive can seem complicated, but it’s actually pretty simple. There are a lot of ways to do it and a lot of different programs out there, but our favorite method uses a program called Handbrake. It’s easy to use, it’s available for Windows, Mac, and Linux, and it’ll convert your file into compatible formats for any device, like an iPad or Android phone. The video above should walk you through the process, but you can follow along with these instructions.

Advertisement

  1. Head to Handbrake’s homepage and download the program. Install it to your computer as directed.
  2. By default, Handbrake can rip unprotected DVDs, but most DVDs you buy from the store have copy protection. To get around this, you’ll need to install libdvdcss. On Windows, you can download this file separately (here for 32-bit systems and here for 64-bit systems), rename it to libdvdcss.dll leave the filename as libdvdcss-2.dll, and put it in your Handbrake program folder (C:Program FilesHandbrake). If you’re on a Mac, download this file and double-click to install it. If you’re running OS X El Capitan, you have a few more steps—head to the bottom of this article before doing anything else.
  3. Insert the DVD you want to rip, and open Handbrake.
  4. Click the Source button in the upper left-hand corner and choose your DVD drive from the list. It will start scanning your DVD, which could take a few minutes.
  5. When it’s done, head to the “Title” drop-down menu in the upper left hand corner of the window. This is where you’ll select which part of the DVD you want to rip. In the case of movies, it’s usually the longest title, so just pick that one. If you’re ripping episodes of a TV show, it’s usually the 22 or 44 minute ones, and you’ll have to rip them each separately.
  6. Click the Browse button on the right side of the window. Navigate to where you want to save your movie file, and type in a file name in the box. Click OK.
  7. Next, head to the bar on the right labeled “Presets”. This is where you’ll choose what format the resulting file will be in. If you just want to watch it on your computer, the “Normal” or “High Profile” preset is fine. If you want to watch it on something like your iPod or iPhone, though, pick the correct preset from the list.
  8. Hit the Start button at the top of the window. This will take awhile, so you’ll probably want to grab a cup of tea.
  9. When it’s done, you’ll get a popup notification. From there, you can double-click on your movie file to watch it, or sync it to your device of choice. Enjoy!

Advertisement

It seems like a lot of steps at first, but it really isn’t very difficult—especially after your first time through. Once you’ve installed the libdvdcss file, for example, you can skip that step in the future.

Mac users, specifically those running OS X El Capitan, have to deal with System Integrity Protection (SIP), a security feature designed to protect critical system files and processes. Unfortunately, SIP breaks a lot of software, and removes the libdvdcss file that Handbrake needs in order to work. You could disable SIP, but it’s useful, and you shouldn’t have to. Besides, there’s a better way, as redditor hvyboots points out:

  1. Close Handbrake, and open a new Finder window.
  2. Type cmd+shift+G, and paste in this path: /Library/SystemMigration/History/
  3. Inside this folder should be a folder named “Migration-[random letters and numbers].” Open that folder and you’ll find “QuarantineRoot.” Open that folder, and you should see your libdvdcss.2.dylib file.
  4. Open a second Finder window.
  5. Type cmd+shift+G, and paste in this path: /usr/local/lib (If you get an error saying this folder doesn’t exist, go to /usr/local instead, create a new folder called “lib”, and open it.)
  6. Drag and drop the libdvdcss.2.dylib file from the first window into the /usr/local/lib folder. You should be prompted for your admin password. Type that in and wait for the copy to finish.

Advertisement

Make sure to restart Handbrake after doing this, since the app will scan for the libdvdcss file, and once it’s detected, you won’t have to move it or deal with it again. Then you can go ahead and follow the above instructions as normal and rip away!

It’s just a matter of picking the right chapter from the DVD and ripping it to the right format. Note that if you’re going to be ripping a lot of DVDs, you can head to Tools > Options (or Handbrake > Preferences, if you’re on a Mac), and hit “Browse” next to “Default Path” to choose a location for all the other movies you rip in the future. You can also click “Add to Queue” instead of “Start” and rip multiple files at once, which is great for ripping TV shows.

Good luck and enjoy your newly ripped DVD! If you’re looking to rip Blu-Rays too, you’ll need to do just a little bit of extra work. Check out our guide to Blu-Ray ripping for more.

Advertisement

The Hassle-Free Guide to Ripping Your Blu-Ray Collection

Blu-Ray may be majestic, but it also has more copy protection than any other format around, and…

Read more Read

Video music by Smurg.