Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Henti Smith <bain@×××××××.za>
Cc: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] mplayer with dvdread ..
Date: Tue, 08 Apr 2003 20:21:58
Message-Id: 1049833109.25930.25.camel@nosferatu.lan
In Reply to: [gentoo-dev] mplayer with dvdread .. by Henti Smith
1 On Tue, 2003-04-08 at 19:39, Henti Smith wrote:
2 > hi all
3 >
4 > I been battling to get mplayer with dvd working and I went throught the mplayer dvd docs.
5 > libdvdread is included in the tarball and can be used but I see there is also a media-libs/libdvdread-0.9.4
6 >
7 > mplayer has advd option but it only uses the media-libs/libdvdnav library .. and in the docs it says this
8 >
9 > DVD Navigation support (dvdnav)
10 >
11 > Support for DVD navigation via dvdnav was being worked on, but it was never finished properly and it is
12 > currently unmaintained. Who knows, it might even compile.
13 >
14 > MPlayer uses libdvdread and libdvdcss for DVD decryption and playback. These two libraries are contained
15 > in the libmpdvdkit2/ subdirectory of the MPlayer source tree, you do not have to install them
16 > separately. We opted for this solution because we had to fix a libdvdread bug and apply a patch which
17 > adds cracked CSS keys caching support to libdvdcss. This results in a large speed increase because the
18 > keys do not have to be cracked every time before playing.
19 >
20 > MPlayer can also use system-wide libdvdread and libdvdcss libraries, but this solution is not
21 > recommended, as it can result in bugs, library incompatibilities and slower speed.
22 >
23 > Using this info I patched mplayer to use the internal libdvdread and libdvdcss libraries and it work wonderfully.
24 >
25 > 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 ?
26 >
27
28 Afiak, if you have 'dvd' in USE, it enables --enable-mpdvdkit, which
29 DOES use the libdvdread and libdvdcss included with mplayer. This is
30 shown here as from ebuild:
31
32 ----------------------------------------------------------------------
33 use dvd \
34 && myconf="${myconf} --enable-mpdvdkit --enable-dvdnav" \
35 || myconf="${myconf} --disable-mpdvdkit --disable-dvdread \
36 --disable-css --disable-dvdnav"
37 ----------------------------------------------------------------------
38
39 We may just disable the dvdnav support if that is wat breaks things for
40 you ...
41
42
43 Regards,
44
45 --
46
47 Martin Schlemmer
48 Gentoo Linux Developer, Desktop/System Team Developer
49 Cape Town, South Africa

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] mplayer with dvdread .. Henti Smith <bain@×××××××.za>