Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2001 09:19:56 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Edwin Culp <eculp@EnContacto.Net>
Cc:        MultiMedia@FreeBSD.ORG
Subject:   Re: Device for DVD with mplayer/current/devfs?
Message-ID:  <20011013091956.A1069@nc.rr.com>
In-Reply-To: <1002944815.3bc7b92f39ba9@Mail.SavvyWorld.Net>; from eculp@EnContacto.Net on Fri, Oct 12, 2001 at 08:46:55PM -0700
References:  <1002914934.3bc7447630577@Mail.SavvyWorld.Net> <20011012224656.A90053@f113.hadiko.de> <1002914934.3bc7447630577@Mail.SavvyWorld.Net> <20011012210517.A15947@nc.rr.com> <1002944815.3bc7b92f39ba9@Mail.SavvyWorld.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Culp:
 ||  |# mplayer -dvd 1 /dev/acd0c
 || ...
 ||  |libdvdread: Can't open path /dev/acd0c.
 ||  |Couldn't open DVD device: /dev/acd0c
 || 
 || Don't have current here either.  mplayer works here on 4.3-stable (from
 || June) with dvdread 0.9.2 as mentioned on the list, with /dev/acd1c linked
 || to /dev/dvd, and running as root.
...
 |I tried that this morning and I get "can't open path /dev/dvd"
 |I can dd if=/dev/dvd  with a block size and a count and read the title 
 |so the link works.

Your mplayer is still linked with libdvdread-0.8.0.  0.8.0 contains that
error string, but 0.9.2 does not.

This may help:

> /bin/ls -l /usr/local/lib/libdvdread* | cut -c47-
/usr/local/lib/libdvdread.a
/usr/local/lib/libdvdread.la
/usr/local/lib/libdvdread.so -> libdvdread.so.2             <------------
/usr/local/lib/libdvdread.so.1
/usr/local/lib/libdvdread.so.2

> ldd /usr/local/bin/mplayer
/usr/local/bin/mplayer:
...
        libdvdread.so.2 => /usr/local/lib/libdvdread.so.2 (0x2843c000)
...

And FWIW, this is what I did to build mplayer with libdvdread-0.9.2:

  - Installed dependencies (less libdvdread); namely: win32-codecs, 
     svgalib, sdl, png, libaudiofile, imake, gtk, glib, gettext, freetype2,
     esound, aalib, XFree86, Mesa, libdvdcss

  - Fetched libdvd 0.9.2 src pkg to /usr/ports/distfiles

  - Fetched libdvd port, nuked files/ subdir, change PORTVERSION in
    Makefile to 0.9.2, make makesum, make configure,
    ln -s /usr/local/bin/libtool work/libdvdread-0.9.2/, make install

  - Fetched mplayer port, and installed with:

      make WITH_MMX=YES WITH_3DNOW=YES WITH_DSP=YES WITH_GUI=YES \
           WITH_OPTIMIZED_CFLAGS=YES WITH_CSS=YES \
           install

Note that this doesn't result in a correct package list for
libdvdread-0.9.2 (so pkg_delete won't work perfectly), but that's not a big
deal to me.

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011013091956.A1069>