LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-04-2004, 11:21 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
Question 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
 
Old 06-04-2004, 11:46 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
 
Old 06-04-2004, 11:56 PM   #3
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
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
 
Old 06-05-2004, 01:09 AM   #4
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
i did the chmod thing but it still does not work
 
Old 06-05-2004, 01:33 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
 
Old 06-05-2004, 04:30 PM   #6
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
This link any help?

http://cambuca.ldhs.cetuc.puc-rio.br/xine/
 
Old 06-05-2004, 07:27 PM   #7
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
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)
 
Old 06-05-2004, 07:59 PM   #8
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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)
 
Old 06-05-2004, 08:08 PM   #9
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
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
 
Old 06-05-2004, 08:12 PM   #10
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
still doesnt work
 
Old 06-05-2004, 08:38 PM   #11
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
 
Old 07-03-2004, 03:28 PM   #12
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
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)
 
Old 07-03-2004, 06:15 PM   #13
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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.
 
Old 07-03-2004, 06:40 PM   #14
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine wont play DVDs madmax04 Fedora 4 10-02-2004 09:35 PM
Cannot get DVD to play Xine chestnut Debian 4 06-28-2004 06:43 AM
Setting up Xine to play DVD briaric Linux - Software 3 12-30-2003 12:18 AM
Xine Error will not play DVD luegner Linux - Software 7 08-28-2003 05:30 PM
dvd's wont play in xine sk8guitar Linux - Software 9 07-12-2003 11:23 PM


All times are GMT -5. The time now is 03:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration