[MPlayer-users] mplayer with external dvd libraries on windows 64-bit

Stephen Sheldon sfsheldo at gmail.com
Mon Nov 3 02:18:43 CET 2014

Josh <joshf87 <at> live.com> writes:

> The dvdread check in configure requires 'dynamic loader' to be found, if 
> it isn't it just sets _dvdread=no. My particular build environment 
> doesn't have dlfcn.h/libdl (MSYS2/mingw-w64) by default but libdvdread 
> includes one in its source.
> No other library seems to explicitly require libdl even though they 
> check for it, so I haven't seen a need to add it to my build environment.

I could automatically detect libdvdread by commenting out the #if $dl_
.../#fi in the mplayer configure check.  That #if is not needed.  I compiled
libdvdread with the --with-libdvdcss option, which does a direct link to
libdvdcss, so there is no dynamic linking required.

It also seems that using libdvdnav should require libdvdread.  If libdvdnav
is there, but not libdvdread, stream_dvd_common.c does not get compiled, and
there are link problems.

More information about the MPlayer-users mailing list