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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-04-2004, 11:21 PM
|
#1
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Rep:
|
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
|
|
|
06-04-2004, 11:46 PM
|
#2
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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
|
|
|
06-04-2004, 11:56 PM
|
#3
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
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
|
|
|
06-05-2004, 01:09 AM
|
#4
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
i did the chmod thing but it still does not work
|
|
|
06-05-2004, 01:33 PM
|
#5
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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
|
|
|
06-05-2004, 04:30 PM
|
#6
|
Member
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288
Rep:
|
|
|
|
06-05-2004, 07:27 PM
|
#7
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
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)
|
|
|
06-05-2004, 07:59 PM
|
#8
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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)
|
|
|
06-05-2004, 08:08 PM
|
#9
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
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
|
|
|
06-05-2004, 08:12 PM
|
#10
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
still doesnt work 
|
|
|
06-05-2004, 08:38 PM
|
#11
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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
|
|
|
07-03-2004, 03:28 PM
|
#12
|
Member
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547
Rep:
|
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)
|
|
|
07-03-2004, 06:15 PM
|
#13
|
LQ Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
|
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.
|
|
|
07-03-2004, 06:40 PM
|
#14
|
Member
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547
Rep:
|
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:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|