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.
bash-4.3$ mplayer -dvd-device /dev/sr1 dvd://
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Playing dvd://.
There are 20 titles on this DVD.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001a94
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000d566
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0023a808
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0030b497
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: en aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: en
number of subtitles on disk: 2
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 720x540 Planar YV12
[mpeg2video @ 0x55952acbd360]ac-tex damaged at 18 22
[mpeg2video @ 0x55952acbd360]Warning MVs not available
[mpeg2video @ 0x55952acbd360]concealing 360 DC, 360 AC, 360 MV errors in I frame
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 720x540 Planar YV12
V: 0.3 2/ 2 ??% ??% ??,?% 0 0
bash-4.3$ mplayer -dvd-device /dev/sr1 dvd://
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Playing dvd://.
There are 20 titles on this DVD.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001a94
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000d566
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0023a808
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0030b497
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: en aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: en
number of subtitles on disk: 2
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 720x540 Planar YV12
[mpeg2video @ 0x55952acbd360]ac-tex damaged at 18 22
[mpeg2video @ 0x55952acbd360]Warning MVs not available
[mpeg2video @ 0x55952acbd360]concealing 360 DC, 360 AC, 360 MV errors in I frame
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x480 => 720x540 Planar YV12
V: 0.3 2/ 2 ??% ??% ??,?% 0 0
And it STILL won't play DVDs.
What does it do? It totally looks like it's doing something. It has successfully decoded the dvd and said it started playback (although, it is probably a menu, not the actual movie).
Maybe it'd be worth replacing the dvd:// at the end with dvdnav://, as that should have better support for menus (although, it's been a long time since I played with dvdnav, so someone might need to correct me).
When it worked, I always found xine did a better job with the menu's (dvdnav), which is why I always used it for dvd's even though I now use mpv for everything else.
Mplayer's dvdnav: works, but it's a bit on the raw side. Having said that, xine-ui is pretty horrid, so it's all swings and roundabouts.
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).
Have you tried VLC? Alienbob has an excellent pre made package I would highly recommend. Start VLC go to media-open disk and see how it works for you. I've had freezing problems with Xine consistently over the last couple years. In the old days it was my media player of choice but I've given up on it long ago. I use VLC for all DVDs and Smplayer for most other media.
Ok, I tried to replicate the OP issue, and, lo' same problem. After much pain and anguish, I discovered what is goofy about XINE in my Slackware64 14.2. I have 2 drives: blu-ray and dvd. I normally use mplayer/ffplay/gnome-mplayer to play back video, and since I bought a DVD player with 1080p upscaling years ago, I rarely watch commercial DVDs on my computer. Mplayer would play the DVD OOTB, but XINE gui and CLI would not. Same errors. Some digging on the config located weird dvd defaults in the UI and MEDIA tabs when "expert" mode is selected. I have, when a DVD is inserted:
Code:
dvd -> sr0
dvd0 -> sr0
dvd1 -> sr1
Open the XINE config, or edit ~/.xine/config for these entries:
Code:
# directory a media in dvd device will be mounted
# string, default: /dvd
gui.osdmenu.dvd_mountpoint:/mnt/dvd
# device used for DVD playback
# string, default: /dev/dvd
media.dvd.device:/dev/dvd
# raw device set up for DVD access
# string, default: /dev/rdvd
media.dvd.raw_device:/dev/dvd
Hitting the DVD button on the XINE gui should now fire up the DVD. The issue, and I never touched XINE for 10+ yrs, was the wrong defaults for those lines. Usually, I do a full, clean install every stable release, but this time I rolled 14.1-->current-->14.2. No idea if that scrambled anything. The culprits I suspect was the original "media.dvd.raw_device:/dev/rdvd" and "gui.osdmenu.dvd_mountpoint:/dvd"
restart XINE and "Bob's yer uncle." Hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.