Help with DVD playback

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Help with DVD playback

Postby lilgman » 03 Oct 2018 06:16

Can anyone help me with why I can't play some DVDs but others work fine? Some of the DVD's that my children use for home schooling won't play on Solydx (both stable & testing) but others do. They all play fine from a Windows 7 virtual box, though. In VLC the copyright notice plays fine, then the menu shows. No matter what I choose in the menu, it gives me a blank screen then the menu shows again. If I mount the DVD and try to play individual .VOB files, nothing happens.

If I run vlc in terminal, I get:

Code: Select all

vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[00005588cb552570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005588cb5564e0] main playlist: playlist is empty
libdvdnav: Using dvdnav version 6.0.0

*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:572 ***
*** for vmgi_mat->vmg_last_sector != 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:574 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:575 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:588 ***
*** for vmgi_mat->vmgm_vobs == 0 || (vmgi_mat->vmgm_vobs > vmgi_mat->vmgi_last_sector && vmgi_mat->vmgm_vobs < vmgi_mat->vmg_last_sector) ***

libdvdnav: DVD Title: ENGLISH 8_DISC1_L1-8
libdvdnav: DVD Serial Number: 438e6db5
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

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 0x00000141
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000208
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00008428
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0

*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1262 ***
*** for vts_ptt_srpt->title[i].ptt[j].pgcn != 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1674 ***
*** for c_adt->cell_adr_table[i].vob_id > 0 ***

libva info: VA-API version 1.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva info: va_openDriver() returns 0
[00007f7c0816d910] main decoder error: buffer deadlock prevented

*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1262 ***
*** for vts_ptt_srpt->title[i].ptt[j].pgcn != 0 ***

libva info: VA-API version 1.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva info: va_openDriver() returns 0
[00007f7c0816d910] main decoder error: buffer deadlock prevented
libva info: VA-API version 1.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva info: va_openDriver() returns 0
[00005588cb601600] main audio output error: too low audio sample frequency (0)
[00007f7c0816d910] main decoder error: failed to create audio output
[00005588cb601600] vlcpulse audio output error: digital pass-through stream connection failure: Not supported
[00005588cb601600] main audio output error: module not functional
[00007f7c0816d910] main decoder error: failed to create audio output

*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1262 ***
*** for vts_ptt_srpt->title[i].ptt[j].pgcn != 0 ***

libva info: VA-API version 1.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva info: va_openDriver() returns 0
[00007f7c08044ec0] main decoder error: buffer deadlock prevented
I assume the "buffer deadlock prevented" errors are relevant.

Mplayer doesn't even get to the menu before exiting:

Code: Select all

mplayer dvd://1 -dvd-device /dev/sr0
MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvd://1.

*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:572 ***
*** for vmgi_mat->vmg_last_sector != 0 ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:574 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:575 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:588 ***
*** for vmgi_mat->vmgm_vobs == 0 || (vmgi_mat->vmgm_vobs > vmgi_mat->vmgi_last_sector && vmgi_mat->vmgm_vobs < vmgi_mat->vmg_last_sector) ***

There are 3 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 0x00000141
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000208
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00008428
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0

MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  2700.0 kbps (337.5 kbyte/s)
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.18.100 (external)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12 
[mpeg2video @ 0x7f85381c36e0]ac-tex damaged at 27 21
[mpeg2video @ 0x7f85381c36e0]Warning MVs not available
[mpeg2video @ 0x7f85381c36e0]concealing 405 DC, 405 AC, 405 MV errors in I frame
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12 
V:   1.0  25/ 25 13% 24%  0.0% 0 0 
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   0.3 V:   1.0 A-V: -0.702 ct:  0.000  26/ 26 13% 23%  0.2% 0 0 
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   0.5 V:   1.2 A-V: -0.692 ct: -0.013  30/ 30 11% 20%  0.3% 0 0 
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   0.6 V:   1.3 A-V: -0.646 ct: -0.027  33/ 33 10% 18%  0.4% 0 0 
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   0.8 V:   1.3 A-V: -0.432 ct: -0.040  33/ 33  9% 15%  0.4% 0 0 
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   1.0 V:   1.3 A-V: -0.325 ct: -0.047  33/ 33  8% 14%  0.5% 0 0 
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
[ac3 @ 0x7f85381c36e0]Got unexpected packet after EOF
A:   1.0 V:   1.3 A-V: -0.324 ct: -0.050  33/ 33  8% 14%  0.6% 0 0 


Exiting... (End of file)
Thanks for any advice for fixing this!
Glenn

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: Help with DVD playback

Postby ilu » 04 Oct 2018 16:21

Encryption. This might help:

Code: Select all

apt install libdvdcss2 w64codecs

lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Re: Help with DVD playback

Postby lilgman » 06 Oct 2018 04:42

Thanks for the idea. I'm showing:

Code: Select all

$ dpkg -s libdvdcss2
Package: libdvdcss2
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 58
Maintainer: Dmitry Smirnov <onlyjob@debian.org>
Architecture: amd64
Multi-Arch: same
Source: libdvdcss
Version: 1.4.2-1~local
Replaces: libdvdcss-dev (<= 0.0.3-3), libdvdcss0 (<= 1.0.0-0.0), libdvdcss2-dev (<= 1.2.10-0.0)
Provides: libdvdcss
Depends: libdvd-pkg, libc6 (>= 2.7)
Description: library for accessing encrypted DVDs
 libdvdcss is a library for accessing and unscrambling DVDs encrypted
 with the Content Scramble System (CSS).
 libdvdcss is part of the VideoLAN project.
 .
 This package provides runtime libraries.
Homepage: https://www.videolan.org/developers/libdvdcss.html


$ dpkg -s w64codecs
Package: w64codecs
Status: install ok installed
Priority: optional
Section: non-free/graphics
Installed-Size: 467
Maintainer: Christian Marillat <marillat@deb-multimedia.org>
Bugs: mailto:marillat@deb-multimedia.org
Architecture: amd64
Multi-Arch: same
Version: 1:20071007-dmo2
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
Description: win64 binary codecs
 This package contain video codecs for popular proprietary formats not
 natively supported by mplayer.
 .
 Add support for RealVideo.
Homepage: http://www1.mplayerhq.hu/MPlayer/releases/codecs/

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: Help with DVD playback

Postby ilu » 06 Oct 2018 16:43

If those libraries were already installed I don't know. libdvdread can't read the DVD for some reason. Internet searches tell me that:
Usually a CHECK_VALUE failed means the DVD is corrupt or burned incorrectly.
Since it's working in Win I still think it's due to unsupported encryption or a missing codec. But I might be wrong. Youcould try to install lsdvd and see whether you get more info that way. If not, you could try to file a debian bug against libdvdread.

libva is doing video acceleration. To get around the "buffer deadlock prevented" you could try this advice and see whether it helps:
In VLC disable hardware-accelerated decoding in Tools -> Preferences -> Output / Codecs: set Hardware-accelerated decoding to Disable. It should help for your primary issue of video shown in 1:1 scale in the top right corner.
Decoding videos on CPU is less energy efficient, but much more reliable and not limited to just a handful of codecs.


Return to “Newbie Questions”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests