public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: Henti Smith <bain@tcsn.co.za>
Cc: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] mplayer with dvdread ..
Date: 09 Apr 2003 22:33:32 +0200	[thread overview]
Message-ID: <1049920411.6793.12.camel@nosferatu.lan> (raw)
In-Reply-To: <20030409110919.68e54c47.bain@tcsn.co.za>

[-- Attachment #1: Type: text/plain, Size: 4553 bytes --]

On Wed, 2003-04-09 at 11:09, Henti Smith wrote:
> On 08 Apr 2003 22:18:29 +0200
> Martin Schlemmer <azarah@gentoo.org> wrote:
> 
> > 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"
> > ----------------------------------------------------------------------
> 
> I thought so as well ... but if you go throught the documentation in mplayer 
> and you have dvd specified .. it will use libdvdread and libdvdcss if its installed on your machine
> 

Having 'dvd' specified in USE will have no effect if the ebuild do not
tweak ./configure time options.  But I think I do not fully understand
what you are getting at here ...

> and the ebuild does not have libdvdread or libdvdcss in the RDEPEND settings .. so if you run a stock box and USE="dvd" 
> and emerge mplayer you only get dvd-nav which does not work.
> 

No, look at that bit I pasted.  It add the '--enable-mpdvdkit' flag,
which enables the internal libdvdread and libdvdcss.  It works fine
over here ... I have watched many encrypted movies this way.

> > We may just disable the dvdnav support if that is wat breaks things for
> > you ...
> 
> dvd support works fine ... but it's not enabled .. 
> 
> to get mplayer to emerge with dvd support correctly you have to emerge libdvdread and libdvdcss manually .. 
> and then USE="dvd" and emerge mplayer.

Like I said .. it is over here.  This is bits from when I run
'emerge mplayer':

-------------------------------------------------------
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by
libmpdvdkit2
Checking for DVD support (libdvdnav) ... yes
-------------------------------------------------------

See ... libmpdvdkit (internal libs) gets enabled. ...

-------------------------------------------------------
  Enabled optional drivers:
    Input: streaming edl tv cdda dvdnav mpdvdkit2 vcd 
    Codecs: qtx divx5linux xvid libdv libavcodec real dshow/dmo win32
libvorbis libmad liblzo gif 
    Audio output: esd oss sdl mpegpes(file) 
    Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev
svga aa opengl dga xv x11 
  Disabled optional drivers:
    Input: tv-v4l tv-bsdbt848 dvdread dvdcss smb 
    Codecs: divx4linux xanim 
    Audio output: sgi sun alsa arts dxr2 nas win32 
    Video output: bl zr dxr3 dxr2 directx ggi xmga mga directfb tdfxfb
3dfx 
-------------------------------------------------------

Once again mpdvdkit2 gets enabled, but yes, dvdread and dvdcss does
get disabled, but this is because mpdvdkit2 is these two libraries
with bug fixes and the 'dvd key caching'.

This is when i run 'mplayer -dvd 1', but lack of dvd title at hand
right now ...

---------------------------------------------------------
# mplayer -dvd 1


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel  (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or
directory
Input config file /usr/share/mplayer/input.conf parsed : 52 binds

Playing DVD title 1
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd


Exiting... (End of file)
--------------------------------------------------------

It definitely have libdvdread/css support ...


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-04-09 20:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 17:39 [gentoo-dev] mplayer with dvdread Henti Smith
2003-04-08 20:18 ` Martin Schlemmer
2003-04-09  9:09   ` Henti Smith
2003-04-09 20:33     ` Martin Schlemmer [this message]
2003-04-10  8:50       ` Henti Smith
2003-04-10 17:53         ` Martin Schlemmer
2003-04-11  8:14           ` Henti Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1049920411.6793.12.camel@nosferatu.lan \
    --to=azarah@gentoo.org \
    --cc=bain@tcsn.co.za \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox