multimedia/libdvdnav and libdvdread, libdvdcss

Christian Walther cptsalek at gmail.com
Sun May 31 21:02:34 UTC 2009


Hi,

today I wanted to dive into the adventure of getting my media players,
including vlc, to work with encrypted DVDs.
After several hours of work and a minor headache because of the
results I figured out that libdvdnav doesn't really depend on
multimedia/libdvdread, but comes with its own version.

/usr/ports/multimedia/libdvdnav/work/libdvdnav-0.1.10/Changelog states:
libdvdnav (0.1.9)
  * libdvdnav does not depend on libdvdread any more. It has it's own version.

The problem is twofold: libdvdnav seems to "swallow" dvdreads
contents, so there is no real dependency. All symbols from dvdread are
just contained in libdvdnav. While this doesn't cause any dependency
issues with multimedia/dvdread, it is impossible to enable CSS
decryption in dvdnav. The port doesn't handle this situation, it still
lists multimedia/libdvdread as a dependency.
While it is possible to enable CSS decryption manually (make build,
edit config.h and Makefiles) I was unable to get a result that was
usable by VLC. It complains that there is no access module matching
'dvd'. I guess this is because I either used the wrong flags (or
adding some -I, -L and -l flags to CFLAGS and LDFLAGS was
insufficient), or because dvdnav expects the symbols from dvdcss to be
found in its own library, too.

I don't mind if anybody would tell me that I got it all wrong and that
I just need to press the right buttons to get it working, so please
correct me if I'm wrong. ;-) In all other cases it would be
interesting to know how to proceed from here. Can anybody verify this
issue? Should I open a PR?

Regards
Christian Walther


More information about the freebsd-ports mailing list