How to Install libdvdcss for HandBrake on Windows, Mac, and Linux?
Summary: HandBrake cannot decrypt CSS-protected DVDs without libdvdcss installed separately. This guide covers installation on all three platforms, with updated steps for Apple Silicon Macs, a macOS Sequoia (15.x) compatibility note, and corrected download links for libdvdcss 1.5.0. For most setups, Windows takes three steps and Mac installs cleanly via Homebrew. Discs using protections beyond CSS require a different tool altogether.
Table of Contents

"I'm trying to back up or convert my DVD movies using HandBrake, but my HandBrake cannot read the disc content."
This is a common dilemma that frustrates many HandBrake users. HandBrake can transcode nearly any video file, but it cannot decrypt copy-protected DVDs on its own. Commercial discs rely on CSS, and HandBrake removed its built-in CSS library in version 0.9.3 back in 2008. To rip a store-bought disc today, you need libdvdcss installed separately.
I tested the setup on Windows 11, macOS Sonoma, and Ubuntu 22.04 to document where the process breaks down. The installation steps differ significantly across operating systems, and the most common failures — a missing DLL on Windows, a broken PATH after Homebrew on Mac, or an unconfigured package on Linux — are easy to run into without clear guidance. This guide covers the full setup for all three platforms, including specific steps for Apple Silicon Macs and a current note on macOS Sequoia (15.x) compatibility, plus what to do when libdvdcss cannot bypass the disc's protection.
Introduction
What Is libdvdcss and How It Works
Libdvdcss (short for library + DVD + Content Scrambling System) is an essential open-source component of the VideoLAN project. It enables software like VLC and HandBrake to decrypt CSS-encrypted DVDs, allowing playback across various regions. By generating possible decryption keys, libdvdcss has avoided legal issues and is mainly used by free software for personal DVD decryption.
The current source release is libdvdcss 1.5.0, published in November 2025. For Windows, community-compiled DLLs are available. For macOS, the last official pre-built package from VideoLAN is version 1.4.2; Mac users typically install via Homebrew, which pulls the most current available build. Linux distributions handle version management through the package manager.
💡Worth noting upfront: libdvdcss only handles CSS. Discs using AACS, Sony ArccOS, Disney X-project DRM, or 99-title schemes require a different tool. The "When libdvdcss Is Not Enough" section at the bottom covers that scenario.
How to Download Libdvdcss for HandBrake
If you want to know how to rip copy-protected DVD with HandBrake, follow the steps below to install libdvdcss.
Download and Install Libdvdcss for HandBrake on Windows 11/10
Installing the libdvdcss library grants HandBrake the ability to decrypt and process copy-protected DVDs on your Windows computer. Here are the steps to follow:
Step 1: Download libdvdcss-2.dll. Most Windows 10/11 systems are 64-bit. To confirm yours, go to Settings > System > About and check under "System type." Download the matching version — the file will be named libdvdcss-2.dll. Do not rename it.
- 💻32-bit: https://github.com/allienx/libdvdcss-dll/blob/main/1.4.3/32-bit/libdvdcss-2.dll
- 💻64-bit: https://github.com/allienx/libdvdcss-dll/blob/main/1.4.3/64-bit/libdvdcss-2.dll
These are community-compiled builds of libdvdcss 1.5.0 for Windows. The VideoLAN project distributes source code only; this GitHub repository (allienx/libdvdcss-dll) provides pre-built DLLs ready for HandBrake.

Step 2: Locate your HandBrake installation folder. The default path is `C:\Program Files\HandBrake`. If HandBrake was installed elsewhere, right-click its desktop shortcut and select Properties > Open File Location. Windows will open the correct folder directly.

Note: Paste libdvdcss-2.dll into that folder. A permission prompt may appear: "You'll need to provide administrator permission to copy to this folder." Click Continue.

Step 3: Close File Explorer. There is no separate decryption button in HandBrake — libdvdcss activates automatically when you open a disc source. Load your DVD using Open Source and proceed as you normally would.
Download and Install Libdvdcss for HandBrake on Mac
Mac installation has two reliable paths: Homebrew (recommended for most users) and a manual package install. The right choice depends on your macOS version and chip generation.
Option 1: Install the libdvdcss on Mac Using Homebrew
Homebrew is the most reliable method across all Mac configurations, including Apple Silicon (M1, M2, M3, M4) and macOS versions through Ventura (13.x) and Sonoma (14.x).
Step 1: Install Homebrew (First-Time Only)
Open Terminal and run the official installer, then press Return:
- `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
You will be prompted to enter your administrator password. The full installation takes a few minutes.
Apple Silicon Macs (M1/M2/M3/M4): Confirm your PATH after installing
Homebrew on Apple Silicon installs to `/opt/homebrew/bin/` rather than `/usr/local/bin/`. If you open a new Terminal window after installation and get "command not found: brew," your shell profile has not been updated. Run the following two commands to fix it:
- echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
- eval "$(/opt/homebrew/bin/brew shellenv)"
This is the most common reason the `brew install` step fails after what appears to be a successful Homebrew setup.
Step 2: Install libdvdcss via Homebrew
Run the following command in Terminal:
- brew install libdvdcss
Homebrew downloads and installs libdvdcss.2.dylib and confirms the location on completion.
Extra Step for Apple Silicon Macs (M1/M2/M3/M4 Users Only):
Homebrew places files under `/opt/homebrew/` on Apple Silicon Macs. HandBrake looks for the library in `/usr/local/lib/`. Run this command to link them:
- sudo ln -s /opt/homebrew/opt/libdvdcss/lib/libdvdcss.2.dylib /usr/local/lib/libdvdcss.2.dylib
Enter your administrator password when prompted.
macOS Sequoia (15.x) and M4 compatibility note: As of early 2026, reports on r/handbrake indicate that HandBrake does not recognize copy-protected discs on M4 Macs running macOS Sequoia, even after a successful Homebrew install and correct symbolic link setup. The cause appears related to Sequoia's updated security policies; no official fix has been confirmed at time of writing. If you are on this configuration and Homebrew does not resolve the issue, the "When libdvdcss Is Not Enough" section covers a tool that handles decryption internally.
Option 2: Install the HandBrake libdvdcss on Mac Manually
The last official pre-built macOS package from VideoLAN is libdvdcss 1.4.2, released in February 2019. It remains functional on macOS versions prior to Sequoia.
Step 1: Download and double-click the installer package to begin installation.
- 💻 https://download.videolan.org/pub/libdvdcss/1.4.2/macosx/libdvdcss-1.4.2.pkg
Step 2: Install libdvdcss on your MacBook Pro and iMac.
- For OS X Yosemite (10.10) and earlier: Double-click the downloaded installer package to install libdvdcss on your Mac.
- For macOS El Capitan (10.11) and later (macOS Sierra, High Sierra, Mojave, and through Sonoma): These macOS versions introduced System Integrity Protection (SIP), which can automatically remove the installed library.
Use one of the two workarounds below.
Workaround 1: Disable SIP for installing libdvdcss on Mac
- Restart your computer. Hold Command + R until the Apple logo appears on your screen.
- Navigate to Utilities > Terminal. Enter the command `csrutil disable` and press Return.
- Exit Terminal and restart your Mac.
After disabling SIP, install libdvdcss. Note that disabling SIP removes a core macOS security layer — re-enable it after installation is complete by repeating these steps with `csrutil enable`.
Workaround 2: Advanced Installation Method
macOS places files from unofficial installers in a quarantine folder at `/Library/SystemMigration/History/`. To move the library to where HandBrake can find it:
- Open Finder. Click Go in the top menu bar, then select Go to Folder.
- Paste the path `/Library/SystemMigration/History/` and click Go.
- Open the folder beginning with `Migration-` (followed by random characters).
- Open the `QuarantineRoot` subfolder. Copy `libdvdcss.2.dylib` from there to `/usr/local/lib/`. Enter your administrator password when prompted.
Downland and Install Libdvdcss for HandBrake on Linux
The libdvd-pkg package handles libdvdcss installation on Debian-based distributions, including Ubuntu. The package manager compiles and installs the library, so no separate download is needed.
Step 1: Update your package lists and installed packages.
- sudo apt-get update
- sudo apt-get upgrade
Step 2: Debian users must have the contrib repository enabled. If it is not already active, add it and then install libdvd-pkg:
- sudo apt install software-properties-common
- sudo apt-add-repository contrib
- sudo apt-get install libdvd-pkg

Step 3: Compile and install libdvdcss from the downloaded source:
- sudo dpkg-reconfigure libdvd-pkg
Step 4: Install regionset for region code handling:
- sudo apt-get install regionset
Step 5: Install additional media codecs used by HandBrake for MP3, H.264, and AAC support:
- sudo apt-get install libavcodec-extra
For non-Debian distributions: On Fedora, enable RPM Fusion first, then run `sudo dnf install libdvdcss`. On Arch Linux, use `sudo pacman -S libdvdcss`
How to Use HandBrake Libdvdcss to Rip Protected DVDs
After setting up libdvdcss on your Windows, Mac, or Linux OS, you can then rip DVD with HandBrake with ease, even for CSS-protected discs.
Detailed Steps
Step 1: Run HandBrake on your computer and insert the source DVD into the optical drive.

Step 2: Click Open Source and select your DVD drive as the source. HandBrake will start scanning using libdvdcss-2.dll for Windows or libdvdcss.pkg for Mac to detect the correct titles that have the longest playback time and also bypass encryption methods such as region codes and CSS.
If you are confronted with a "No valid title found" error, you should check that libdvdcss is correctly installed. If the problem persists, then the DVD has some sophisticated encryption or DRM protection that is beyond the capability of libdvdcss and must be handled by other advanced tools such as DVDFab DVD Ripper.
Step 3: Open up HandBrake, click the Title dropdown, and select the title to rip. Oftentimes, the main movie title will be what you want to rip.

For movie DVDs, the longest duration title is generally the main film, unless it's one of those DVDs with 99 titles. For TV series, each title usually represents an episode. To rip all episodes, simply add multiple titles to the queue.
To rip multiple titles, select a title and click Choose a preset. Then, open the Add to Queue dropdown box and select one option from the following:
- Add Current: Add selected title.
- Add All: Add all DVD titles.
- Add Selection: Manually choose the titles to add.
Step 4: Choose the output format. HandBrake can rip DVDs into 3 formats: MP4, MKV, and WebM. It also provides various presets categorized under General, Web, Devices, Matroska, and Production.
For best results, choose the resolution that matches the DVD format: 720 x 576 (576p) for PAL DVDs and 720 x 480 (480p) for NTSC DVDs. Avoid 1080p presets, as upscaling won't increase quality and may increase file size unnecessarily.

Step 5: To choose the destination for your ripped file, move to the Save As section and click Browse. You can save these file either on your computer's hard drive or an external storage device.
Step 6: After adjusting all settings to your preference, click the Start Encode button in the top menu bar to begin the ripping process in HandBrake.
How to Rip Protected DVDs without Libdvdcss Installed
Libdvdcss is a popular tool mainly used with free DVD rippers, such as HandBrake, to bypass CSS encryption on DVDs. But HandBrake Libdvdcss has limitations. Evidently, the installation of the libraries, such as libdvdcss-2.dll for Windows or libdvdcss.pkg for macOS, is complicated. Furthermore, while it can decrypt most DVDs protected with CSS, it cannot bypass complex protections like AACS 2.0, Region Codes, Sony ArccOS, UOPs, or Disney X-project DRM. In that case, you might consider alternatives, such as DVDFab DVD Ripper, that offer a more streamlined experience.
DVDFab DVD Ripper is excellent ripping software that doesn't require a third-party tool to recognize and remove copy protection from DVDs. Its advanced ripping feature can detect any encryption mechanism, old or new, and bypass it easily from DVDs, ISO, and folders. Within 5 minutes, your ripped content will be ready for playback on any device.
Supported OS:
Key Features:
- Rips DVDs to 1,000+ video and audio formats with 260+ device presets
- Supports newly-released and old copy-protected DVDs
- Converts multiple files simultaneously at 50x faster blazing ripping speed
- Inbuilt video editor to manage the video clips
- Sync metadata info and create a .nfo file compatible with the media server
- Compress video size while preserving quality for any device
How to Rip Any Protected DVDs with DVDFab DVD Ripper
Step 1: Install and launch DVDFab 13. Switch to the Ripper tab and use the Add button to select the encrypted DVD content to rip.

Step 2: Once your source DVD is loaded, DVDFab will auto-recognize and remove all the copy-protection from the DVD. Tap the Info button to learn about all the protections.

Step 3: Customize your profile's default settings. Use several available options to set preferences for output file format, audio track(s), and subtitles (whether to add or extract).

Step 4: Move to Advanced Settings and set advanced audio and video parameters. Likewise, Video Edit lets you adjust the video sections by cropping or trimming and performing other features to match your requirements.

Ensure you select the Save To location before ripping the DVD for your output content.
Step 5: After confirming your save location, click Start to rip the DVD. You can see the progress right on the screen. Once the ripping task is complete, you can choose to hibernate, exit the program, shut down the system, or cancel it.
FAQs
The real legal risk with libdvdcss isn't about downloading it, but about purpose and distribution. If you use libdvdcss for commercial purposes, for example, to distribute or sell ripped, copyrighted DVDs, that is illegal. If you are only making a personal backup, in the United States, the US Copyright Office decision allow circumvention in some cases, granting temporary exemptions for specific types of works and uses so that users may circumvent for non-infringing purposes. Always verify local laws before installing HandBrake's libdvdcss to rip protected DVDs.
What is libdvdcss 2 dll?
libdvdcss-2.dll is the Windows build of libdvdcss. On macOS, the file you download and install is typically named libdvdcss.2.dylib. On Linux, you usually get libdvdcss via the libdvd-pkg package, which automates installing libdvdcss.
Despite the libdvdcss download, if HandBrake fails to rip encrypted DVDs, any of the following underlying issues may be causing the trouble.
Reason 1: The DVD uses a newer protection scheme beyond CSS (e.g., Disney/Sony variants such as Sony's ARccOS).
Reason 2: The libdvdcss DLL/dylib file is placed in the wrong location or the version doesn't match the program.
Reason 3: The drive or the disc itself is damaged.
Does libdvdcss work on M4 Mac or macOS Sequoia?
As of early 2026, compatibility is inconsistent on M4 Macs running macOS Sequoia (15.x). Multiple users on r/handbrake have reported that HandBrake does not recognize copy-protected discs on M4 hardware under Sequoia, even after a correct Homebrew install and symbolic link setup. If you are in this situation, install via Homebrew first and test. If HandBrake still fails, a tool that handles decryption internally is the more reliable option for this configuration at present.
Conclusion
HandBrake with libdvdcss handles the majority of standard commercial DVDs using CSS encryption. The setup is free and open-source; the main variable is installation complexity by platform. Howwever, if you regularly encounter discs HandBrake cannot open, or if you need a tool that handles decryption and format conversion without third-party dependencies, I recommend the best HandBrake alternative, DVDFab DVD Ripper.

![Top 12 DVD to MP4 Converter Software for Win & Mac [2026 Tested]](https://r3.dvdfab.cn/upload/resource/convert-dvd-to-mp4-p2X3.jpeg)
![How to Rip Audio from DVD with 5 Best Free DVD Audio Extractors [2026]](https://r6.dvdfab.cn/upload/resource/how-to-extract-audios-from-dvds-in-2017-fCu6.jpeg)

