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. Download
the .dll from this repository and drop it into the Handbrake installation
folder to convert your DVDs to mp4 files.
- Pick the version of libdvdcss you want (the highest version should be fine).
- Download the appropriate
libdvdcss-2.dllfrom this repository. - Move
libdvdcss-2.dllinto the Handbrake installation folder (usuallyC:\Program Files\HandBrake). - Enjoy ripping your DVDs. Please use responsibly.
- Download the source code from the repository here.
- Follow the instructions in the
INSTALLfile for Windows.- You will need to install
mesonandmingw-w64
- You will need to install
The INSTALL file has a typo when compiling the 64-bit library:
# 32-bit
meson setup build-w32 --cross-file package/crossfiles/i686-w64-mingw32.meson
cd build-w32
ninja
# 64-bit
meson setup build-w64 --cross-file package/crossfiles/x86_64-w64-mingw32.meson
cd build-w64
ninjaEither Linux, macOS, or Windows 10 is required.
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).
cdto 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:
# macOS
brew install mingw-w64
# Windows 10 and Ubuntu
sudo apt-get install mingw-w64
tar -xjf /path/to/libdvdcss.tar.bz2
cd /path/to/libdvdcss
# 32-bit
./configure --host=i686-w64-mingw32
# 64-bit
./configure --host=x86_64-w64-mingw32
make
# .libs/libdvdcss-2.dll
# Run 'make clean' before compiling again.If you get an error like WARNING: 'aclocal-1.15' is missing on your system.
touch aclocal.m4 Makefile.am Makefile.inmkdir dist/libdvdss-dll-<version>
cp -R <version>/ dist/libdvdss-dll-<version>Create a .tar.gz archive:
cd dist
tar -czf libdvdcss-dll-<version>.tar.gz libdvdcss-dll-<version>/Create a zip archive:
cd dist
zip -r libdvdcss-dll-<version>.zip libdvdcss-dll-<version>/