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: Wed, 09 Apr 2003 20:50:28
Message-Id: 1049920411.6793.12.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] mplayer with dvdread .. by Henti Smith
1 On Wed, 2003-04-09 at 11:09, Henti Smith wrote:
2 > On 08 Apr 2003 22:18:29 +0200
3 > Martin Schlemmer <azarah@g.o> wrote:
4 >
5 > > Afiak, if you have 'dvd' in USE, it enables --enable-mpdvdkit, which
6 > > DOES use the libdvdread and libdvdcss included with mplayer. This is
7 > > shown here as from ebuild:
8 > >
9 > > ----------------------------------------------------------------------
10 > > use dvd \
11 > > && myconf="${myconf} --enable-mpdvdkit --enable-dvdnav" \
12 > > || myconf="${myconf} --disable-mpdvdkit --disable-dvdread \
13 > > --disable-css --disable-dvdnav"
14 > > ----------------------------------------------------------------------
15 >
16 > I thought so as well ... but if you go throught the documentation in mplayer
17 > and you have dvd specified .. it will use libdvdread and libdvdcss if its installed on your machine
18 >
19
20 Having 'dvd' specified in USE will have no effect if the ebuild do not
21 tweak ./configure time options. But I think I do not fully understand
22 what you are getting at here ...
23
24 > and the ebuild does not have libdvdread or libdvdcss in the RDEPEND settings .. so if you run a stock box and USE="dvd"
25 > and emerge mplayer you only get dvd-nav which does not work.
26 >
27
28 No, look at that bit I pasted. It add the '--enable-mpdvdkit' flag,
29 which enables the internal libdvdread and libdvdcss. It works fine
30 over here ... I have watched many encrypted movies this way.
31
32 > > We may just disable the dvdnav support if that is wat breaks things for
33 > > you ...
34 >
35 > dvd support works fine ... but it's not enabled ..
36 >
37 > to get mplayer to emerge with dvd support correctly you have to emerge libdvdread and libdvdcss manually ..
38 > and then USE="dvd" and emerge mplayer.
39
40 Like I said .. it is over here. This is bits from when I run
41 'emerge mplayer':
42
43 -------------------------------------------------------
44 Checking for DVD support (libmpdvdkit) ... yes
45 Checking for DVD support (libcss - old style) ... no
46 Checking for DVD support (libdvdread - new style) ... disabled by
47 libmpdvdkit2
48 Checking for DVD support (libdvdnav) ... yes
49 -------------------------------------------------------
50
51 See ... libmpdvdkit (internal libs) gets enabled. ...
52
53 -------------------------------------------------------
54 Enabled optional drivers:
55 Input: streaming edl tv cdda dvdnav mpdvdkit2 vcd
56 Codecs: qtx divx5linux xvid libdv libavcodec real dshow/dmo win32
57 libvorbis libmad liblzo gif
58 Audio output: esd oss sdl mpegpes(file)
59 Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev
60 svga aa opengl dga xv x11
61 Disabled optional drivers:
62 Input: tv-v4l tv-bsdbt848 dvdread dvdcss smb
63 Codecs: divx4linux xanim
64 Audio output: sgi sun alsa arts dxr2 nas win32
65 Video output: bl zr dxr3 dxr2 directx ggi xmga mga directfb tdfxfb
66 3dfx
67 -------------------------------------------------------
68
69 Once again mpdvdkit2 gets enabled, but yes, dvdread and dvdcss does
70 get disabled, but this is because mpdvdkit2 is these two libraries
71 with bug fixes and the 'dvd key caching'.
72
73 This is when i run 'mplayer -dvd 1', but lack of dvd title at hand
74 right now ...
75
76 ---------------------------------------------------------
77 # mplayer -dvd 1
78
79
80 MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
81
82 CPU: Intel (Family: 8, Stepping: 4)
83 Detected cache-line size is 64 bytes
84 CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
85 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
86
87 Reading config file /usr/share/mplayer/mplayer.conf
88 Reading config file /root/.mplayer/config
89 Reading /root/.mplayer/codecs.conf: can't open
90 '/root/.mplayer/codecs.conf': No such file or directory
91 Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
92 font: can't open file: /root/.mplayer/font/font.desc
93 font: can't open file: /usr/share/mplayer/font/font.desc
94 Using Linux hardware RTC timing (1024Hz).
95 Can't open input config file /root/.mplayer/input.conf : No such file or
96 directory
97 Input config file /usr/share/mplayer/input.conf parsed : 52 binds
98
99 Playing DVD title 1
100 libdvdread: Could not open device with libdvdcss.
101 libdvdread: Can't open /dev/dvd for reading
102 Couldn't open DVD device: /dev/dvd
103
104
105 Exiting... (End of file)
106 --------------------------------------------------------
107
108 It definitely have libdvdread/css support ...
109
110
111 Regards,
112
113 --
114
115 Martin Schlemmer
116 Gentoo Linux Developer, Desktop/System Team Developer
117 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>