On Tue, 2003-04-08 at 19:39, Henti Smith wrote: > hi all > > I been battling to get mplayer with dvd working and I went throught the mplayer dvd docs. > libdvdread is included in the tarball and can be used but I see there is also a media-libs/libdvdread-0.9.4 > > mplayer has advd option but it only uses the media-libs/libdvdnav library .. and in the docs it says this > > DVD Navigation support (dvdnav) > > Support for DVD navigation via dvdnav was being worked on, but it was never finished properly and it is > currently unmaintained. Who knows, it might even compile. > > MPlayer uses libdvdread and libdvdcss for DVD decryption and playback. These two libraries are contained > in the libmpdvdkit2/ subdirectory of the MPlayer source tree, you do not have to install them > separately. We opted for this solution because we had to fix a libdvdread bug and apply a patch which > adds cracked CSS keys caching support to libdvdcss. This results in a large speed increase because the > keys do not have to be cracked every time before playing. > > MPlayer can also use system-wide libdvdread and libdvdcss libraries, but this solution is not > recommended, as it can result in bugs, library incompatibilities and slower speed. > > Using this info I patched mplayer to use the internal libdvdread and libdvdcss libraries and it work wonderfully. > > Would it be recommended to alter the ebuild for mplayer to use the internal libraries .. maby changing the lib names to reflect mplayer use only and patching mplayer for that then sticking with the current non working solution ? > Afiak, if you have 'dvd' in USE, it enables --enable-mpdvdkit, which DOES use the libdvdread and libdvdcss included with mplayer. This is shown here as from ebuild: ---------------------------------------------------------------------- use dvd \ && myconf="${myconf} --enable-mpdvdkit --enable-dvdnav" \ || myconf="${myconf} --disable-mpdvdkit --disable-dvdread \ --disable-css --disable-dvdnav" ---------------------------------------------------------------------- We may just disable the dvdnav support if that is wat breaks things for you ... Regards, -- Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa