[MPlayer-dev-eng] Re: MPlayer compliling bug on Mac OS X usinglibdvdnav
nsabbi at email.it
Fri Oct 20 12:56:25 CEST 2006
sci-fi at hush.ai wrote:
> I got a similar nm listing after getting libdvdnav2 cvs built &
> installed (I always do both --enable-shared --enable-static for every
> lib when possible).
> I built mplayer with --disable-dvdread --disable-mpdvdkit but let it
> autodetect dvdnav:
> Checking for VCD support ... yes Checking for DVD support (libdvdnav)
> ... yes Checking for DVD support (libmpdvdkit2) ... no Checking for
> DVD support (libdvdread) ... no Checking for cdparanoia ... no
> Checking for libcdio ... no
> I know DVDNAV_LIB was properly set and included into the Makefile.
> But I've been discovering a bunch of libs aren't found if I don't also
> put them into --extra-libs. I have a hunch that any -L/-l that follow
> -framework for Darwin/OSX builds are ignored for some reason. So I
> had to add -L/usr/local/lib -ldvdnav to --extra-libs to resolve
dvdnav-config --libs should output those flags. doesn't it?
> $ mplayer -noquiet -v dvdnav://
try at least dvdnav://1
> libdvdnav: vm: failed to open/read the DVD
> Couldn't open DVD device: /dev/rdiskN
> [file] No filename
> Failed to open dvdnav://.
> This /dev/rdiskN is the familiar problem with dvdnav and other such
> libs on Darwin/OSX. If we su root and make a symlink rdiskN->rdisk5
> under /dev (the currently known system-chosen slot of the physically
> mounted DVD), mplayer _can_ play the title page, but still cannot
and what about specifying the correct -dvd-device ?
> The title menu says to hit 'enter' to play the movie, but mplayer
> simply exits after a few seconds after doing that
enter in mplayer quits the file being played
> -or- by trying to mouse-click on that part of the screen (End of File).
add -mouse-movements, but it works only with derivatives of x11
> Apple's DVD Player works fine as expected in this regard, and so does
> a recent nightly build of VLC for OSX, on the same DVD.
does not compare
> I still believe that the mpdvdkit seems to be the best for OSX with
> the current state of mplayer itself. ISTR someone patched to fix the
> /dev/rdiskN glitch, but it wasn't very pretty (hackery to guess which
> numerical slot OSX has decided to use, it could still pick the wrong
> device [I actually have two Pioneer drives installed here ;) ], and
> that's why I briefly mentioned why Apple doesn't want to make it easy
> to rip DVDs).
drop macosx and be happy
More information about the MPlayer-dev-eng