LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xine wont play dvd (https://www.linuxquestions.org/questions/linux-software-2/xine-wont-play-dvd-189861/)

Longinus 06-04-2004 10:21 PM

xine wont play dvd
 
hi

when i try to play a dvd i get this error:

libdvdnav: Using dvdnav version 1-rc4a from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/hdc with libdvdcss.
libdvdread: Can't open /dev/hdc for reading
libdvdnav: vm: faild to open/read the DVD

(totem:1472): Gtk-WARNING **: Ignoring the separator setting

(totem:1472): Gtk-WARNING **: Ignoring the separator setting

i downloaded libdvdcss which worked for other people on the forums but for me it doesnt seem to work

any suggestions?

thanks

TheOneAndOnlySM 06-04-2004 10:46 PM

make sure /dev/hdc has the proper permissions

as root, do chmod 666 /dev/hdc

also, make sure you installed libdvdcss before you compiled xine

Longinus 06-04-2004 10:56 PM

well the thing is that i ran that as root so it should work

and i did install libdvdcss before i compiled xine

bah lol

any suggestions?
thanks

Longinus 06-05-2004 12:09 AM

i did the chmod thing but it still does not work

TheOneAndOnlySM 06-05-2004 12:33 PM

hmmm, could it be a problem with the dvd? if you have any other dvd's around, try those

i don't know what else could be wrong; to see if it is a hardware or software issue, try using MPlayer; download the 1.0pre4 version and compile with ./configure --enable-gui

after you have installed that, make sure you have a symlink to /dev/hdc called /dev/dvd
do
ln -s /dev/hdc /dev/dvd
chmod 666 /dev/dvd

then do
mplayer -vo xv dvd://

see what happens then

btw, (sorry if i sound condescending), make sure /dev/hdc is your dvd drive; check dmesg and see what it says about hdc

Chris H 06-05-2004 03:30 PM

This link any help?

http://cambuca.ldhs.cetuc.puc-rio.br/xine/

Longinus 06-05-2004 06:27 PM

hello

i tried the mplayer thing and it didnt work, but here is the errors i get:

bash-2.05b# mplayer -vo xv dvd://
MPlayer 1.0pre4-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 2412 MHz (Family: 8, Stepping: 7)
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/local/etc/mplayer/mplayer.conf: No such file or directo ry
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/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c odecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/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 director y
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing dvd://.
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)

TheOneAndOnlySM 06-05-2004 06:59 PM

well, i'm sure you see by now that something is wrong with libdvdcss

i don't know what it could be, you may just want to recompile it

also, i didn't think mplayer used libdvdcss; i don't even have that installed!

anyway, does xine or mplayer start reading the dvd drive when you try to play the dvd? (ie, do you see the drive lights flash?)

check dmesg for anything new after you try to play the dvd (for example, i get the message you got in mplayer only if i try to play a dvd when there isn't one in the drive; dmesg then says cdrom: failed to open)

hmm, just had a thought... do you have ide-scsi enabled? (this point would be a good time to say which distro you're trying to get this to work in)

if you have ide-scsi enabled, you will have to use /dev/sr0 in slackware or /dev/scd0 in redhat

try mplayer -vo xv /dev/sr0 or xine /dev/sr0 (or scd0 if in redhat)

Longinus 06-05-2004 07:08 PM

well im using slackware, but its not a scsi just on regular ide

i checked dmesg and everything is fine

ill try recompiling libdvdcss again

Longinus 06-05-2004 07:12 PM

still doesnt work :(

TheOneAndOnlySM 06-05-2004 07:38 PM

by default, ide-scsi emulation is enabled in slackware; it is necessary simply because of the structure of the 2.4 kernels and its inability to correctly work directly with ide cd drives

check lsmod, and if you see ide-scsi listed, check lilo.conf and see if you have the line append="hdc=ide-scsi" near the top; if not, either add that line under "timeout" or edit /etc/rc.d/rc.modules and comment out /sbin/modprobe ide-scsi

if you never want to burn cd's in a kernel 2.4.x, then i suggest removing the line /sbin/modprobe ide-scsi for /etc/rc.d/rc.modules (or just comment it out)
in this case, use /dev/hdc as the dvd drive

if you want to burn cd's (or also listen to audio cd's), then i suggest adding append="hdc=ide-scsi" near the top of lilo.conf (under timout or prompt would be fine)
in this case, use /dev/sr0 as the dvd drive

R00ts 07-03-2004 02:28 PM

I'm having trouble getting xine to play DVDs on my new Linux machine. I've read everything in here and tried to get things working, but so far no luck. At first it was giving me an error message and said it couldn't open a few things (I have all the dvd libraries installed), but then I found out my dvd rom drive was on /dev/hdc and I also didn't have the /dev/dvd symbolic link, so I changed the /dev/hdc permissions to 666 and created the /dev/dvd link with the same permissions. Now when I try and play a DVD with xine it will look like its working and the play icon on the screen starts, but then xine exits completely without warning, and the process isn't even listed anymore. Maybe I should uninstall xine and the dvd libraries and try installing them again? I'm not sure if I installed xine or the libraries first... (by the way I'm running on Debian sarge)

LavaDevil94 07-03-2004 05:15 PM

R00ts: Try MPlayer, it could be something that Xine doesn't like about your system. Download the source package and compile with ./configure --enable-gui, make, and su -c make\ install. When that's done, try doing this command:
mplayer dvd://1

Longinus: TheOneAndOnly was right about having to enable SCSI emulation for the 2.4 kernels, but if don't want to do that to burn CDs and etc., you can try downloading a 2.6 kernel and using that, which doesn't require SCSI emulation.

R00ts 07-03-2004 05:40 PM

yeah I thought about trying mplayer, but truth is I hate using it to play DVDs. It doesn't support DVD menus! (at least not the last version I used). I'll give it a shot though just to see what happens ;)


All times are GMT -5. The time now is 03:56 PM.