Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

The place to discuss linux version of MakeMKV
Post Reply
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

I have two setup both with openSuse 13.1, makemkv 1.8.7 with libmmbd.so.0 softlinked to /usr/lib64/libbdplus.so.0 and /usr/lib64/libaacs.so.0.
I tried with some bd (wall-e and underworld) but both vlc and xbmc are not able to play both discs. bd_info works well with both.
in /tmp i do not find ant makemkv eventlog.

bdinfo

Code: Select all

shm@linux-p5hq:~/xbmc> MMBD_TRACE=1 bd_info /dev/sr0 
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x6f90-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
BluRay detected     : yes
First Play supported: yes
Top menu supported  : yes
HDMV titles         : 16
BD-J titles         : 3
UNSUPPORTED titles  : 3

AACS detected       : yes
libaacs detected    : yes
Disc ID             : 5DC9C6A63AE052E4D62DED9E566E78186FD71D68
AACS MKB version    : 10
AACS handled        : yes

BD+ detected        : no

Disc library metadata:
Metadata file       : bdmt_eng.xml
Language            : eng
Disc name           : Wall•E Disc 1
Alternative         : <undefined>
Disc #              : 1/1
TOC count           : 1
	Title 1: Wall•E Disc 1
Thumbnail count     : 2
	Quack_JacketB.jpg 	
	Quack_JacketA.jpg 	
shm@linux-p5hq:~/xbmc> 
vlc stdout/err:

Code: Select all

shm@linux-p5hq:~/xbmc> MMBD_TRACE=1 vlc bluray:///dev/sr0
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x1c9c5f8] main interface error: no suitable interface module
[0x1b4c0b8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1b4c0b8] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x7b78-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
[0x7f2d8c000f18] libbluray demux: First play: 1, Top menu: 1
HDMV Titles: 16, BD-J Titles: 3, Other: 3
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 20
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 8) for PID 20
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 18
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 3) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 4) for PID 20
shm@linux-p5hq:~/xbmc> 
xbmc:

Code: Select all

shm@linux-p5hq:~/xbmc> MMBD_TRACE=1 ./xbmc.bin 
libpng warning: iCCP: known incorrect sRGB profile
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x7c1-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x7d3-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x7e3-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
Failed to open /run/media/shm/QUACK_D1_DEU/BDMV/PLAYLIST/-0001.mpls
Failed to open /run/media/shm/QUACK_D1_DEU/BDMV/BACKUP/PLAYLIST/-0001.mpls
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x806-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x816-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
MMBD: MakeMKV v1.8.7 linux(x64-release) inizializzato
MMBD: File registro evenmti abilitato. Il file registro sar? salvato in /tmp/MakeMKV-0x825-1.tmp
MMBD: Uso modalit? di accesso diretto
MMBD: Versione di valutazione, 27 giorni di 30 restanti
MMBD: Operazione completata correttamente
shm@linux-p5hq:~/xbmc> 
xbmc debug log
http://pastebin.com/Gsdzi9A2
MartinKG
Posts: 15
Joined: Wed May 26, 2010 4:58 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by MartinKG »

same behaviour on Fedora 20, both links exists

ll /usr/lib64/libbdplus.so.0 /usr/lib64/libaacs.so.0
lrwxrwxrwx 1 root root 23 31. Dez 11:22 /usr/lib64/libaacs.so.0 -> /usr/lib64/libmmbd.so.0
lrwxrwxrwx 1 root root 23 31. Dez 11:22 /usr/lib64/libbdplus.so.0 -> /usr/lib64/libmmbd.so.0

installed SW:
libdvbpsi-1.1.2-1.fc20.x86_64

Code: Select all

MMBD_TRACE=1 vlc bluray:///dev/sr1
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x2438148] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
MMBD: MakeMKV v1.8.7 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x7b4e-1.tmp
MMBD: Using direct disc access mode
MMBD: Operation successfully completed
[0x7f7e7c000f18] libbluray demux: First play: 1, Top menu: 1
HDMV Titles: 10, BD-J Titles: 0, Other: 0
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 8, expected 11) for PID 20
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 11, expected 12) for PID 0
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 13, expected 9) for PID 20
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 5, expected 12) for PID 0
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 11, expected 2) for PID 17
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 6, expected 12) for PID 17
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 14, expected 8) for PID 18
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 6, expected 14) for PID 20
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 10, expected 7) for PID 20
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 14, expected 15) for PID 18
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 7, expected 6) for PID 0
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 3, expected 7) for PID 17
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 0, expected 11) for PID 20
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 5, expected 8) for PID 0
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 12, expected 15) for PID 18
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 9, expected 6) for PID 0
[0x7f7e74000958] ts demux error: libdvbpsi (misc PSI): Bad CRC_32 table 0x0 !!!
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): PSI section too long
[0x7f7e74000958] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 4, expected 1) for PID 20

Code: Select all

MMBD_TRACE=1 bd_info /dev/sr1
MMBD: MakeMKV v1.8.7 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x7d44-1.tmp
MMBD: Using direct disc access mode
MMBD: Operation successfully completed
BluRay detected     : yes
First Play supported: yes
Top menu supported  : yes
HDMV titles         : 10
BD-J titles         : 0
UNSUPPORTED titles  : 0

AACS detected       : yes
libaacs detected    : yes
Disc ID             : 6683BBF7B09D81451019A3792FB5675B19C37979
AACS MKB version    : 1
AACS handled        : yes

BD+ detected        : no

No disc library metadata
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

I did some more tests and i found that The Dark Knight Rise play well with the same setup.
If i switch back to libaacs 0.7 i can correctly play Wall-E and Underworld but not The Dark Knight Rise due to the missing processing key.
After upgrading libbluray to 1.5 nothing is changed.
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

I tried to decrypt Wall-E using backup option of makemkv gui and i get a lot of corruption errors. So I think is not a libmmd issue but a general makemkv one.

@mike admin: if u need a sample of the bd I'm glad to help.
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by mike admin »

It is well known that VLC (libbluray) can't play certain M2TS files. Demux such M2TS with any tool of your choice (or make MKV file with MakeMKV) and result would be playable in VLC.
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

That's strange I can play it both with vlc 2.1.2 and a libaacs 0.7 (I can play every aacs only protected disk until v28 due to lack of processing key and libbdplus config),
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by mike admin »

shassino wrote:That's strange I can play it both with vlc 2.1.2 and a libaacs 0.7 (I can play every aacs only protected disk until v28 due to lack of processing key and libbdplus config),
Ouch, then this is a bug. Please confirm that it is still present in 1.8.8 . Once confirmed that the disc is playable with libaacs and broken with libmmbd, I'll provide additional instructions. Thank you.
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

Sry for the long delay between answers. I confirm the same behavior also with 1.8.9.
I'm glad to do some more deep testing.

Enabled reply notification this time :P
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by mike admin »

same here :)

Please do a first test - make a decrypted full disc backup with MakeMKV and try playing it with "vlc bluray://path-to-folder" . If decrypted backup plays, and disc via MMBD doesn't, then there is a bug in libmmbd.
PascalDragon
Posts: 2
Joined: Sat Feb 08, 2014 12:55 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by PascalDragon »

I might not be shassino, but I've got the same problem. I'm using MakeMKV 1.8.9 on ArchLinux x86_64 and try to run a Blu Ray with AACS MKB v4 (Ratatouille German). The Blu Ray does not play with MPlayer and VLC using libmmbd, but it works however if I do a full encrypted backup and use "br:////whereever" to play it.

The output generated by MPlayer (or more precisely libbluray (version 0.5)) for the non working case is this:

Code: Select all

MPlayer SVN-r37051 (C) 2000-2014 MPlayer Team
207 audio & 440 video codecs
Unknown key 'F160'
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing br:////mnt/bluray.
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/decoders/m2ts_filter.c:194: missing sync byte. scrambled data ? Filtering aborted.
libbluray/bluray.c:619: m2ts filter error
libavformat version 55.33.100 (internal)


Exiting... (End of file)
I can not verify however whether it would have worked with libaacs, because the certificates contained in my KEYDB.CFG are not valid anymore for my drive...

Regards,
Sven
shassino
Posts: 6
Joined: Fri Dec 27, 2013 1:17 pm

Re: Opensuse 13.1 x86_64 + libmmbd 1.8.7 + vlc/xbmc errors

Post by shassino »

Sry for the long delay between answers. I confirm the same behavior also with 1.9.0
Tried to backup trough the command:
makemkvcon backup disc:0 walle/

It returned me a lot of hash errors like this one:
Controllo Hash per /BDMV/STREAM/00056.m2ts : 0.18% corrotto, 99.74% corrotto, 99.93% controllato
Post Reply