LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-21-2004, 02:40 PM   #1
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Rep: Reputation: 16
slackware 10 & playing dvds


hiya.... having a couple of problems playing dvds wondering if someone could help...

i download mplayer from linuxpackages.net -went right down the list of all the other stuff i had to install for it... installpkg on it all... then tries to play a dvd... mplayer opens... screen gets black for a second- then all i'm left with is the control panel and no screen... and it doesn't appear to be playing. tried xine and get an error message.....

no demuxer plugin availble to handle root/desktop/dvd-rom device - i'm guessing mplayer's problem *might* be the same thing? not sure what to adjust...lol. anyways... any ideas anyone?
 
Old 07-21-2004, 02:44 PM   #2
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Have you installed libdvdcss? Also, check to see which device in the /dev directory that mplayer is trying to use for the dvd player. If it is /dev/dvd, do an ls -l /dev/dvd and see if it is a symlink to your dvd drive. If not, either make /dev/dvd a symlink to the right device, or just have mplayer to straight to the the device, ie /dev/hdc, where c is the letter of your dvd drive.
 
Old 07-21-2004, 03:04 PM   #3
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
have libdvdcss installed.
when i type 'ls -l /dev/dvd' i get
lrwxrwxrwx 1 root root 8 2004-07-17 00:03 /dev/dvd -> /dev/hdc

..which looks correct to me.(..but i'm new...lol) tried playing a couple of dvds and get the error....

fatal error!
error opening/intializing the selected video_out (-vo) device.
 
Old 07-21-2004, 03:26 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,341

Rep: Reputation: 73
What is the output for :
cat /proc/ide/hdc/model

and :
grep hdc /etc/fstab

and :
ls -l /dev/hdc
 
Old 07-21-2004, 06:14 PM   #5
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
root@darkstar:~# cat /proc/ide/hdc/model
AOpen 12X DVD-ROM/ASH 01112001
root@darkstar:~# ls -l /dev/hdc
brw-rw---- 1 root disk 22, 0 2002-06-09 14:27 /dev/hdc

grep hdc /etc/fstab

-when i type in this last bit- nothing seems to happen. but if your interested my /etc/fstab file reads....

/dev/cdrom /mnt/cdrom video-CD noauto,owner,ro 0 0
/dev/scd0 /mnt/cdrom2 iso9660 ro,user,noauto 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
 
Old 07-21-2004, 08:54 PM   #6
rignes
Member
 
Registered: Mar 2003
Location: USA
Distribution: Slackware-current
Posts: 155

Rep: Reputation: 30
Quote:
Originally posted by spamhippy
[B]root@darkstar:~# cat /proc/ide/hdc/model
AOpen 12X DVD-ROM/ASH 01112001
root@darkstar:~# ls -l /dev/hdc
brw-rw---- 1 root disk 22, 0 2002-06-09 14:27 /dev/hdc
Try playing a DVD as root. If it plays then it's a permission problem. So then do as root:

chmod 666 /dev/hdc

Then try playing a DVD as a regular user.

Permission on a symlink don't govern who can access what it points to as I understand it. The permission on what the link points to actually does.

Also, I didn't have to mount the DVD's to get them to play. Just stick the DVD in and press play.

Brian
 
Old 07-21-2004, 09:59 PM   #7
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
chmod 666 /dev/hdc

-did it... didn't do anything.... tried as user... was trying from the outset as root (i know you're not suppose to be root all the time... just being root untill i get everything config-ed right...) doesn't play dvds as root or as user. i stick the dvd in there... open mplayer try to play it- same deal. same with xine. -but thanks... got anymore ideas? lol....
 
Old 07-21-2004, 10:06 PM   #8
rypatros
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
Have you tried playing your dvd with gxine ?
 
Old 07-21-2004, 10:32 PM   #9
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
i tried gxine- go through set up wizard and get a coulple of errors i'm not really understanding....

check for cd rom drive -
Either create a symbolic link /dev/cdrom pointing toyour cdrom device or set your cdrom device in thepreferences dialog.
FAILED - /dev/cdrom permissions are not sufficient

next error..... checking dvd drive...

Either create a symbolic link /dev/dvd pointing toyour cdrom device or set your cdrom device in thepreferences dialog.
FAILED - /dev/cdrom permissions are not sufficient

last error-

check for MIT Xv extension


You can improve performance by installing an X11
driver that supports the Xv protocol extentsion.
video_out_xv: No adaptors found

...now i might add that i'm doing this all as root... so .... what are these permission problems? didn't i just set the permissions up doing the chmod 666 thing?

and then if i just hit play on gxine i get - no demuxer found stream format not recognized.
 
Old 07-21-2004, 11:54 PM   #10
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
I am not quite sure, if your are trying to watch the movie in console with mplayer, or in X. I have never found a good slackware package for mplayer, because to reduce the size of the package, the packager leaves out codecs, and in mplayer when you add a new codec you have to recompile, and you can not recompile from a package. Sorry about that just a little rant, now back to the problem. Some else mentioned that you need libdvdcss, make sure you have that correctly installed. Also I am not sure if any one else said this (I read through the other posts kinda fast), but make sure you have support for UDF in your kernel. Good Luck.

-tank
 
Old 07-22-2004, 12:12 AM   #11
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
i've tried playing dvds in mplayer... xine.... gxine.... none of them work.... that's the problem...lol.... i'm using kernal 2.4.26 ... the one that came with slackware... what's udf? and how does on make sure it is inabled?
 
Old 07-22-2004, 12:23 AM   #12
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
UDF is the filesystem for DVD's, like the filesystem for CD's is ISO9660. I for get what is stands for, if anything. I guess one way to check would be to look through your /usr/src/linux/.config but that would be a pain. So go to /usr/src/linux and type make menuconfig, then go to Filesystems. Scroll down the list with the arrow keys and look for "UDF file system support (read only)" make sure that has a * or M next to it. A * means that it is built in to the kernel, a M means that it is compiled as a module. If it has an M next to it, then the module is not loaded. To load it type /sbin/modprobe udf, with no errors try to play the dvd. If you do not have a * or M next to "UDF file system support (read only)" then you have to recompile your kernel. DaOne has wrote a great article for this it is a sticky at the front page of this Slackware Forum. Good Luck.

-tank

Last edited by tank728; 07-22-2004 at 12:25 AM.
 
Old 07-22-2004, 01:01 AM   #13
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: slackware, ubuntu studio
Posts: 124

Original Poster
Rep: Reputation: 16
wait a sec....everything just started working after a reboot! lol... something must of happened in there...lol... well thanks!
 
  


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
Playing DVDs TomalakBORG Linux - Software 4 04-24-2005 09:17 PM
playing DVDs carldub Linux - Newbie 2 03-17-2005 09:57 PM
B&W colours when playing DVDs Patsy Linux - Software 0 07-25-2004 01:28 PM
playing dvds alorri Linux - Software 9 12-03-2002 03:07 AM
dvds not playing enzo250gto Linux - Software 1 09-16-2002 01:43 AM


All times are GMT -5. The time now is 08:12 PM.

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