Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 22:36:12 +0200
From:      Christian Walther <cptsalek@gmail.com>
To:        ports@freebsd.org, nobutaka@FreeBSD.org
Subject:   multimedia/libdvdnav and libdvdread, libdvdcss
Message-ID:  <14989d6e0905311336x29088a3fg569216828edc446@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14989d6e0905311336x29088a3fg569216828edc446>