LinuxQuestions.org
Visit Jeremy's Blog.
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 02-01-2017, 11:10 AM   #1
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Rep: Reputation: Disabled
xine won't play DVDs. Please help.


My operating system is Slackware 14.2, I use an external DVD drive for playing DVDs, and yes - I had asked about this issue in a previous thread, and it had been resolved. But since then, my hard drive had "died" on me (so to speak) and I had to replace it (then re install everything, of course), but up until that point, I managed to get it to play DVDs, but for some strange reason, no matter what I do, the same two error messages keep popping up (as seen in the attached image) whenever I try to use it to play DVDs, and yes, I installed libdvdcss, and I gave my user account authorization to access DVDs.
 
Old 02-01-2017, 11:39 AM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 514

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
There are no images attached, or at least, I don't see them.
 
Old 02-01-2017, 12:30 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,525

Rep: Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273
I don't see them either. Please provide the images, or copy/paste the error messages into the forum using [code][/code] tags.

Have you tried any other players like mplayer to see if it is a xine issue or something that is affecting the whole system?
 
Old 02-01-2017, 03:10 PM   #4
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled
Yes, I tried UMplayer, and it seems to work with that, but not as reliably though.
 
Old 02-01-2017, 03:14 PM   #5
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ppr:kut View Post
There are no images attached, or at least, I don't see them.
Sorry, I thought it uploaded, anyway, here it is:
Click image for larger version

Name:	snapshot1.jpg
Views:	62
Size:	109.1 KB
ID:	24098
 
Old 02-01-2017, 04:38 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,525

Rep: Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273
Can you try using the commandline version of mplayer? That can provide a lot more useful output than GUI apps. Paste all output into [code][/code] tags.
 
Old 02-01-2017, 05:03 PM   #7
GazL
Senior Member
 
Registered: May 2008
Posts: 4,795
Blog Entries: 14

Rep: Reputation: Disabled
It doesn't work here either.
Code:
test@ws1:~$ xine dvd://dev/sr0
This is xine (X11 gui) - a free video player v0.99.9.
(c) 2000-2014 The xine Team.
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Could not open //dev/sr0 with libdvdcss.
libdvdread: Can't open //dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
I think that's the correct format of MRL as listed in xine(5).
And yes, 'test' is in group cdrom so it shouldn't be permissions.

mplayer dvd://1 works just fine.

Maybe xine and or some of the libs need rebuilding. I did try using an old build I had lying around but I got a load of unresolved references for xcb_* objects and I wasn't in the mood to chase it down tonight.
 
Old 02-01-2017, 05:22 PM   #8
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled
And the output is:
Code:
bash-4.3$ mplayer
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
and while I'm at it, where do I get a copy of libdvdread (I already installed libdvdcss)?

Last edited by TheNutCase; 02-01-2017 at 05:25 PM.
 
Old 02-01-2017, 05:28 PM   #9
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,289

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Quote:
Originally Posted by TheNutCase View Post
And the output is:
Code:
bash-4.3$ mplayer
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
Look at the output. It's telling you that you need to supply the file/DVD you are trying to play. Try the mplayer command GazL posted.

Last edited by montagdude; 02-01-2017 at 05:30 PM.
 
Old 02-01-2017, 05:36 PM   #10
TheNutCase
Member
 
Registered: May 2016
Posts: 240

Original Poster
Rep: Reputation: Disabled
Code:
bash-4.3$ mplayer dvd://dev/sr0
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team

Playing dvd://dev/sr0.
The hostname option must be an integer: dev
Struct dvd, field hostname parsing error: dev
libdvdread: Can't stat sr0
No such file or directory
libdvdread: Could not open sr0
Couldn't open DVD device: sr0 (No such file or directory)
No stream found to handle url dvd://dev/sr0
And yes, the DVD that I'm trying to play is in the drive.

But I'm trying to play it from an EXTERNAL DVD drive (sr1).

Last edited by TheNutCase; 02-01-2017 at 05:38 PM.
 
Old 02-01-2017, 06:07 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,525

Rep: Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273
So, if you change it to mplayer dvd://dev/sr1, does it work?

As for libdvdread, it should be part of an official Slackware install.

http://packages.slackware.com/?r=sla...3-x86_64-1.txz
 
Old 02-01-2017, 06:12 PM   #12
GazL
Senior Member
 
Registered: May 2008
Posts: 4,795
Blog Entries: 14

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
So, if you change it to mplayer dvd://dev/sr1, does it work?

As for libdvdread, it should be part of an official Slackware install.

http://packages.slackware.com/?r=sla...3-x86_64-1.txz
That's still the wrong syntax.

mplayer dvd:////dev/sr1 will probably work (yes, 4 slashes!) though I find the alternate syntax clearer:
mplayer -dvd-device /dev/sr1 dvd://

Last edited by GazL; 02-01-2017 at 06:14 PM.
 
2 members found this post helpful.
Old 02-01-2017, 06:20 PM   #13
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 858
Blog Entries: 9

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
dvd://dev/sr0 is wrong. You don't provide the device name that way.
Code:
mplayer [dvd|dvdnav]://[title|[start_title]-end_title][/device] [options]
For GUI (xine or gmplayer) check the configuration to see if they are using /dev/dvd symling to /dev/sr?. On one of my boxes /dev/dvd -> /dev/sr0 usually but on some reboots ends up /dev/sr1 (whacky udev).

try the correct way:
Code:
mplayer dvd://1 -chapter 1
to play title 1 chapter 1 on default DVD.
Code:
mplayer dvd://1 -chapter 1 -dvd-device /dev/sr0
to also specify device. Try /dev/dvd, or /dev/sr1 (see above). You may (or may not) need to specify the title and chapter to start playin the DVD from the beginning. Some multi-angle DVDs are a bit odd.

NOTE: Slackware will not play CSS encrypted media by default.

-dang, GazL beat me to it.

Last edited by kingbeowulf; 02-01-2017 at 06:24 PM. Reason: additional info
 
1 members found this post helpful.
Old 02-01-2017, 06:23 PM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,525

Rep: Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273
Looking again at your screen shot, it's trying to read /devdvdr1, which isn't a valid location. Have you verified your dvd drive is set correctly in xine (if there's an option for that)? But I haven't used xine since I found out about mplayer over a decade ago, so maybe that is normal for xine (although, I doubt it).

Also, what is your symlink of /dev/dvd set to? Do you have it pointing to /dev/sr0 or /dev/sr1? To simplify diagnosing, I would suggest setting it to whatever device you're intending on using right now (which I think is your external which should be /dev/sr1).
 
Old 02-01-2017, 06:26 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,525

Rep: Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273Reputation: 3273
Quote:
Originally Posted by GazL View Post
That's still the wrong syntax.

mplayer dvd:////dev/sr1 will probably work (yes, 4 slashes!) though I find the alternate syntax clearer:
mplayer -dvd-device /dev/sr1 dvd://
Thanks, it's been years since I've tried playing dvds on my system (I even removed my disc drives from my desktop early last year) and I must've forgotten the proper syntax.
 
  


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
Problem getting Xine to play DVDs... Erik765 Linux - Software 2 03-04-2008 12:51 AM
how do i get xine (kaffeine) to play dvds? ojasom SUSE / openSUSE 9 10-27-2004 11:32 PM
Xine wont play DVDs madmax04 Fedora 4 10-02-2004 09:35 PM
Does Xine play DVDs? chasn Linux - Software 10 04-21-2004 02:18 PM
CAN'T PLAY ENCRYPTED DVDs ON XINE krissly1 Linux - Software 3 11-22-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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