SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
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.
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.
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.
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 04:25 PM.
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 04:30 PM.
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 04:38 PM.
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 05:24 PM.
Reason: additional info
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.