LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Playing DVD's in Kaffeine (https://www.linuxquestions.org/questions/slackware-14/playing-dvds-in-kaffeine-366818/)

infornography 09-25-2005 05:22 AM

Playing DVD's in Kaffeine
 
Hi,

I have just installed Slackware 10.2 and I'm trying to get DVD's to play using Kaffeine.

I installed kaffeine, xineui, the mplayer codecs, and libdvdcss. It works fine for playing files from the hard drive, but not with DVD's.

When I started Kaffeine, I got this error message:

Quote:

Can't check DMA mode. Permission denied or no such device: "/dev/dvd"
But I think I have fixed that by installing hdparm and running the command:

hdparm -d1 /dev/cdrom

Anyway, now when I try to open a DVD in Kaffeine I get this error message:

Quote:

The source cant be read.

Maybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc in drive). (/dev/dvd)
Another one also pops up that says:

Quote:

No plugin found to handle this resource (dvd:/)
In case its relevent. Here is my fstab:

/dev/hda4 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda2 /mnt/shared vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

I would really appreciate any help.

Riddick 09-25-2005 05:51 AM

The system seems to have found a CD ROM drive and not
a DVD Drive!

Right from Konsole, start "kaffeine -w"

Tell me if you have "libdvdcss..." ; does the wizard find it?

If you are sure that what there is in /dev/cdrom is actually your
DVD Drive, then in kaffeine, go to "Settings" then "Xine Engine Parameters"

and go to Media, and change the "dvd.device"
to "/dev/cdrom"

and let me know how it goes!

Riddick

infornography 09-25-2005 06:30 AM

kaffeine -w shows that I do have libdvdcss installed. But the error I thought I had fixed is still there:

Quote:

Can't check DMA mode. Permission denied or no such device: "/dev/dvd".
Anyway, I am certain that /dev/cdrom is my DVD drive, it is the only rom I have and it reads the DVD's fine in a file manager. I just cant play them. I changed dvd.device to /dev/cdrom, but all the same errors remained, only this time they referred to /dev/cdrom (rather than /dev/dvd).

Thanks for the help so far.

Riddick 09-25-2005 06:35 AM

Is your DVD mounted hen you are trying to play it?

infornography 09-25-2005 06:40 AM

Yeah. I have tried it both mounted and not, I get the same error either way. I have also tried several DVD's to make sure it wasn't just a shit disc.

samael26 09-25-2005 07:36 AM

Did you try /dev/hdb ?

cheers

MMYoung 09-25-2005 09:56 AM

Re: Playing DVD's in Kaffeine
 
Quote:

Originally posted by infornography
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,user,ro 0 0
Couple of things you might want to try.
1. Remove owner from the above fstab entry.
2. See what group that /dev/cdrom belongs to and add yourself to that group.

HTH,
MMYoung

BTW - Do one thing at a time so that if it works you'll know which one did the trick.

Riddick 09-25-2005 10:12 AM

ok, run kuser, and make sure you are part of the groups:

video, audio and cdrom.

Also try running: "kdesu kaffeine", which runs kaffeine as root,
but on your X desktop. See if it plays DVDs as root

WilliamS 09-25-2005 10:23 AM

I installed 10.2 a few days ago, and found that xine was already installed.
Check with pkgtool to see that you don't have have more than one instance of xine.

It played ok at first, then became jerky, the next day it wouldn't play DVDs

So I did what I always do to make xine play DVDs:

Install libdvdcss, and libdvdread, do as root:
ln -sf /dev/cdrom /dev/dvd
chmod 777 /dev/dvd
chmod 777 /dev/hdc (my DVD reader)

I did not install mplayer codecs.

It works perfectly now.

infornography 09-25-2005 11:16 PM

Quote:

Originally posted by WilliamS
I installed 10.2 a few days ago, and found that xine was already installed.
Check with pkgtool to see that you don't have have more than one instance of xine.

It played ok at first, then became jerky, the next day it wouldn't play DVDs

So I did what I always do to make xine play DVDs:

Install libdvdcss, and libdvdread, do as root:
ln -sf /dev/cdrom /dev/dvd
chmod 777 /dev/dvd
chmod 777 /dev/hdc (my DVD reader)

I did not install mplayer codecs.

It works perfectly now.

That finally did the trick. I still cant play them with Kaffeine, but if I use xine-ui and do what you suggested, I can play DVD's with that.. So thats good enough. Thanks for all the help everyone.

Riddick 09-26-2005 04:20 AM

pleasure! Well done all!


All times are GMT -5. The time now is 04:59 PM.