You are not logged in.

#1 2004-10-14 21:49:21

yanik
Member
From: Montreal Beach
Registered: 2004-09-29
Posts: 21

DVDRIP problem (libdvdread)

this is what I get when I try to preview a chapter before ripping it

MPlayer 1.0pre5-3.4.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 2398 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/yanik/.mplayer/config
Reading /home/yanik/.mplayer/codecs.conf: Can't open '/home/yanik/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/yanik/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Using usleep() timing
Can't open input config file /home/yanik/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing dvd://2.
libdvdread: Can't stat /dev/dvd
No such file or directory
Couldn't open DVD device: /dev/dvd


Exiting... (End of file)

Mplayer is configured to play dvds from /dev/hdc and it works..  How can I tell the same to libdvdread?

Thanks

Yanik


# cd /pub
# man women
No manual entry for women
# more beer

Offline

#2 2004-10-14 22:03:47

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: DVDRIP problem (libdvdread)

You can use a symlink named /dev/dvd which points to /dev/hdc.  You'll need to modify one of the /etc/udev.d/* files (if you use udev). I'm not in Arch so I can't be more specific.

Offline

#3 2004-10-14 23:40:38

yanik
Member
From: Montreal Beach
Registered: 2004-09-29
Posts: 21

Re: DVDRIP problem (libdvdread)

thanks, I'll try that.  I'm not on arch either right now.

Yanik


# cd /pub
# man women
No manual entry for women
# more beer

Offline

#4 2004-10-15 05:03:40

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: DVDRIP problem (libdvdread)

the file is /etc/udev/rules.d/udev.rules

KERNEL="hdc", SYMLINK="dvd"

Offline

#5 2004-10-15 05:39:53

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: DVDRIP problem (libdvdread)

yanik wrote:

this is what I get when I try to preview a chapter before ripping it [...]  How can I tell the same to libdvdread?

I had the same problem Yanik.  Since I only use devfsd, that link is not created until you mount a DVD for instance.  I don't believe a fresh reboot of Linux using devfsd will make that symlink until you mount one, but I may be wrong.  I jump back and forth from my LFS to Arch all the time so I'm probably confusing them.

However, to get around that problem, I just made the following entry in the DVDRip settings.

DVD device: /dev/cdroms/cdrom0
DVD mount point: /mnt/dvd

Of course, yours may point to something else, but I just told DVDRip not to use the symlink, and pointed it directly to where the symlink would point anyway.  No need to mount a dvd first.

If you're not talking about the DVDRip program, but mplayer, then forget what I said.  This is what I did for the app DVDRip, which does use Mplayer or Xine.  If you are talking about DVDRip, then you could just try to mount a dvd first before using DVDRip, and you should be good to go.  I'm pretty sure Arch w/devfsd has a stock "/etc/devfsd.conf" which makes those backwards compatible symlinks.

Offline

Board footer

Powered by FluxBB