I would like to install the most recent version of libdvdcss, in hopes that it might be able to decode one of my newer DVDs. However, it does not have an installer. How do I install the most recent version of libdvdcss?
From the text file included:
In order to install libdvdcss.2.dylib in OS X, you must copy it to
/usr/lib/
ex: put libdvdcss.2.dylib in ~/Downloads
From terminal:
sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/
brew install libdvdcss
Have you considered doing it with Homebrew?
If you want to install it with Homebrew, follow the instructions on: http://brew.sh
When Homebrew is installed, you can type the following in the Terminal to install libdvdcss:
Code:brew install libdvdcss
I tried that, but it gave me the response:From the text file included:
In order to install libdvdcss.2.dylib in OS X, you must copy it to
/usr/lib/
ex: put libdvdcss.2.dylib in ~/Downloads
From terminal:
sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/
There's no e in "usr".I tried that, but it gave me the response:
cp: directory /user/lib does not exist
Joshs-MacBook-Pro:Run jfblagden$ sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/There's no e in "usr".
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:cp: /Users/jfblagden/Downloads/libdvdcss.2.dylib: No such file or directory
./configure
./configure
sudo make install
I tried that. It worked fine during the configure stage. But when I ran the "sudo make install" command, I got these error messages:If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enterCode:./configure
again (press return after each of these)Code:./configure
and then type or paste
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.Code:sudo make install
Joshs-MacBook-Pro:libdvdcss-1.3.99 jfblagden$ sudo make install
Password:
CC src/libdvdcss.lo
CC src/device.lo
CC src/css.lo
CC src/ioctl.lo
src/ioctl.c:162:5: warning: missing field 'reserved0008' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:162:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:162:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:298:5: warning: missing field 'reserved0008' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:298:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:298:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:428:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:428:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:428:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:545:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:545:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:545:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:640:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:640:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:640:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:748:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:748:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:748:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:858:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:858:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:858:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:953:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:953:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:953:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1046:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:1046:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1046:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1155:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:1155:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1155:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1272:5: warning: missing field 'keyClass' initializer
[-Wmissing-field-initializers]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
DKDVD_TYPE dvd = { 0 }; \
^
src/ioctl.c:1272:5: warning: suggest braces around initialization of subobject
[-Wmissing-braces]
INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
src/ioctl.c:1272:5: warning: missing field 'reserved' initializer
[-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
BUFFER_TYPE dvdbs = { 0 }; \
^
33 warnings generated.
CC src/error.lo
CCLD libdvdcss.la
./install-sh -c -d '/usr/local/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libdvdcss.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdvdcss.2.dylib /usr/local/lib/libdvdcss.2.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libdvdcss.2.dylib libdvdcss.dylib || { rm -f libdvdcss.dylib && ln -s libdvdcss.2.dylib libdvdcss.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /usr/local/lib/libdvdcss.la
libtool: install: /usr/bin/install -c .libs/libdvdcss.a /usr/local/lib/libdvdcss.a
libtool: install: chmod 644 /usr/local/lib/libdvdcss.a
libtool: install: ranlib /usr/local/lib/libdvdcss.a
./install-sh -c -d '/usr/local/share/doc/libdvdcss'
/usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/usr/local/share/doc/libdvdcss'
./install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 src/libdvdcss.pc '/usr/local/lib/pkgconfig'
./install-sh -c -d '/usr/local/include/dvdcss'
/usr/bin/install -c -m 644 src/dvdcss/dvdcss.h '/usr/local/include/dvdcss'
I tried that. It worked fine during the configure stage. But when I ran the "sudo make install" command, I got these error messages:
Code:Joshs-MacBook-Pro:libdvdcss-1.3.99 jfblagden$ sudo make install Password: CC src/libdvdcss.lo CC src/device.lo CC src/css.lo CC src/ioctl.lo src/ioctl.c:162:5: warning: missing field 'reserved0008' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:162:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:162:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:298:5: warning: missing field 'reserved0008' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:298:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:298:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:428:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:428:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:428:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:545:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:545:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:545:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:640:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:640:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:640:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:748:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:748:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:748:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:858:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:858:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:858:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:953:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:953:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:953:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1046:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:1046:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1046:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1155:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:1155:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1155:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1272:5: warning: missing field 'keyClass' initializer [-Wmissing-field-initializers] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo, ^ src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL' DKDVD_TYPE dvd = { 0 }; \ ^ src/ioctl.c:1272:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ src/ioctl.c:1272:5: warning: missing field 'reserved' initializer [-Wmissing-field-initializers] src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL' BUFFER_TYPE dvdbs = { 0 }; \ ^ 33 warnings generated. CC src/error.lo CCLD libdvdcss.la ./install-sh -c -d '/usr/local/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libdvdcss.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libdvdcss.2.dylib /usr/local/lib/libdvdcss.2.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libdvdcss.2.dylib libdvdcss.dylib || { rm -f libdvdcss.dylib && ln -s libdvdcss.2.dylib libdvdcss.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /usr/local/lib/libdvdcss.la libtool: install: /usr/bin/install -c .libs/libdvdcss.a /usr/local/lib/libdvdcss.a libtool: install: chmod 644 /usr/local/lib/libdvdcss.a libtool: install: ranlib /usr/local/lib/libdvdcss.a ./install-sh -c -d '/usr/local/share/doc/libdvdcss' /usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/usr/local/share/doc/libdvdcss' ./install-sh -c -d '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 src/libdvdcss.pc '/usr/local/lib/pkgconfig' ./install-sh -c -d '/usr/local/include/dvdcss' /usr/bin/install -c -m 644 src/dvdcss/dvdcss.h '/usr/local/include/dvdcss'
Yeah, libdvdcss 1.3.99 works with Handbrake. The only problem is that it doesn’t come with an installer. Version 1.3.0 has an installer, but version 1.3.99 doesn’t. You have to compile and install it yourself in Terminal, which is a bit of a pain, but at least you can install the latest version of libdvdcss somehow. You might be able to install it via brew.sh, but you’ll have to disable SIP to be able to use that. I don’t want to disable SIP just to be able to use brew.sh again. It was nice, but I’m not sure I want to go through all of the work of disabling SIP just for a program. I’ll disable it for TRIM Enabler and automate-eGPU.sh, but not brew.sh. I know some people are either afraid of using Terminal or are uncomfortable with it, but you’ll become more comfortable with it the more you use it. Besides, if you get a command wrong, you’ll just get a response which is like “what? I didn’t get that. Try again”.Currently they show 1.3.0 as their 'current' release. I got the impression that 1.3.99 is beta code.
Did it work with handbrake? That's the important question...
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enterCode:./configure
again (press return after each of these)Code:./configure
and then type or paste
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.Code:sudo make install
Great solution really works. Before handbrake crashed after 5% completion. Now it runs without any trouble.If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enterCode:./configure
again (press return after each of these)Code:./configure
and then type or paste
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.Code:sudo make install
Great solution really works. Before handbrake crashed after 5% completion. Now it runs without any trouble.
how did you get handbrake to work after installing libdvdcss? I installed 1.4.0 according to post #9 above, but handbrake keep telling me there's no valid source after scanning my dvd for a while. sorry to bring up an old thread!
Easiest solution possible. Just follow the instructions on http://mac.softpedia.com/get/Development/Libraries/libdvdcss.shtml
The best way is Homebrew: http://brew.shThere's no way I'm installing software compiled by Softpedia.
The best way is Homebrew: http://brew.sh
Have you considered doing it with Homebrew?
If you want to install it with Homebrew, follow the instructions on: http://brew.sh
When Homebrew is installed, you can type the following in the Terminal to install libdvdcss:
Code:brew install libdvdcss