LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-08-2009, 11:06 AM   #1
dustmote
LQ Newbie
 
Registered: Mar 2009
Location: New England, USA
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
[Slackware 12.2] dvd playback issues with xine


I can't play a DVD by entering "xine dvd://" at the shell. I end up getting an error about how the DVD can't be unencrypted.

It works when "xine dvd://dev/hda" is entered ("/dev/hda" is the block device for my DVD drive).

The following SlackBuilds were compiled and installed in this order:
libdvdcss-1.2.10-i486-1_SBo.tgz
libdvdread-4.1.3-i486-1_SBo.tgz
libdvdnav-4.1.3-i486-1_SBo.tgz


Here are the relevant links in "/dev". To the best of my knowledge, they are all correct.
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdr -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdr0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-08 23:07 /dev/cdrom -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrom0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrw -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrw0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdwriter -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdwriter0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-08 23:08 /dev/dvd -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvd0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdrw -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdrw0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdwriter -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdwriter0 -> hda
brw-rw---- 1 root cdrom 3, 0 2009-03-09 03:36 /dev/hda


I've narrowed the problem down to either libdvdnav or libdvdread trying to access the wrong device when I ask xine to play a dvd the normal way.

Here's some selected output from xine when DVD playback does not work:
Code:
bash-3.1$ xine --verbose=100 dvd://
...
xine: found input plugin  : DVD Navigator
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/root mounted on / for CSS authentication
libdvdcss debug: opening target `/dev/root'
libdvdcss debug: using libc for access
libdvdcss debug: cannot open /dev/root (Permission denied)
libdvdcss error: failed to open device
libdvdread: Could not open /dev/root with libdvdcss.
libdvdread: Can't open /dev/root for reading
libdvdread: Device /dev/root inaccessible, CSS authentication not available.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/bloke/.dvdnav/.map'
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
...
Here's some selected output from xine when DVD playback does work:
Code:
bash-3.1$ xine --verbose=100 dvd://dev/hda
...
xine: found input plugin  : DVD Navigator
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdcss debug: opening target `//dev/hda'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
...
I've highlighted what I believe to be the important differences. Everything else is just fallout, I think.

Like I said, the problem seems to be that if I don't guide xine to the correct device, my system points it to the root device. That's wrong.

Any ideas? I'm sure it's just a simple configuration problem.
 
Old 03-08-2009, 12:23 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
That's strange, /dev/hda is usually the HDD.
 
Old 03-08-2009, 01:27 PM   #3
dustmote
LQ Newbie
 
Registered: Mar 2009
Location: New England, USA
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
My only hard disk is "/dev/sda".
This is an Averatec 2370 laptop.
 
Old 03-08-2009, 02:10 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
Oh yeah, I forgot that. The DVD drive is /dev/hda on my laptop too, HDD is /dev/sda.
 
Old 03-24-2009, 10:04 AM   #5
dustmote
LQ Newbie
 
Registered: Mar 2009
Location: New England, USA
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Solved, I guess. PEBKAC!

The proper MRL to pass to xine has only one slash after the colon.
Code:
bash-3.1$ xine dvd:/
 
  


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 playback issues, google earth issues AdamBath Slackware 8 08-22-2008 09:28 AM
Choppy DVD playback in Xine garbo73 Fedora 4 01-10-2007 02:19 PM
Need help with DVD Playback on Xine v0.99.1 artielnx Slackware 7 09-13-2004 11:48 AM
Xine DVD Playback not Working. olias Mandriva 11 02-17-2004 07:36 AM
DVD playback problem using Xine dizzyflower28 Linux - Software 0 08-10-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration