DVD decryption, VLC 2.x and HandBrake

HandBrake for Mac support
Forum rules
Activity Log is required for support requests. See Must Read: How To Get Questions Answered on These Forums for details
User avatar
Rodeo
HandBrake Team
Posts: 11221
Joined: Tue Mar 03, 2009 8:55 pm

DVD decryption, VLC 2.x and HandBrake

Postby Rodeo » Tue Feb 14, 2012 2:52 am

The following information is only applicable to HandBrake for Mac, which is why this topic is located in the Mac subforum.

Starting with VLC 2.0, libdvdcss is no longer available as an individual dylib in the VLC application package, which means HandBrake can no longer use VLC's libdvdcss for DVD decryption.

There are two solutions:

  1. Keep an older version of VLC as /Applications/VLC.app
    This is cumbersome and not recommended

  2. Install a copy of libdvdcss.2.dylib in /usr/lib or /usr/local/lib
    Videolan kindly provides a Universal (Intel 32+64-bit) .pkg installer for Mac OS X: link - thanks!
    This is the recommended solution; and it works for HandBrake 0.9.5, too ;-)

To check whether libdvdcss installed successfully, open /Applications/Utilities/Terminal, copy/paste the following command and press return:

Code: Select all

file /usr/lib/libdvdcss.2.dylib


The command should produce the following output:

Code: Select all

/usr/lib/libdvdcss.2.dylib: Mach-O universal binary with 2 architectures
/usr/lib/libdvdcss.2.dylib (for architecture i386):   Mach-O dynamically linked shared library i386
/usr/lib/libdvdcss.2.dylib (for architecture x86_64):   Mach-O 64-bit dynamically linked shared library x86_64


The following output:

Code: Select all

/usr/lib/libdvdcss.2.dylib: cannot open `/usr/lib/libdvdcss.2.dylib' (No such file or directory)


means libdvdcss is not installed in /usr/lib. Make sure to actually run the .pkg installer after downloading it.

Return to “Mac”