I seem to be unable to get libmmbd to work. makemkv itself is able to open my discs fine. When I try to use libmmbd, however, it fails. I have moved libmmbd.so.0 to /usr/lib64 and created libaacs.so.0 symlink. bd_info fails, and so do mplayer and vlc:
$ bd_info /dev/sr0
BluRay detected : yes
First Play supported: yes
Top menu supported : yes
HDMV titles : 100
BD-J titles : 0
UNSUPPORTED titles : 0
AACS detected : yes
libaacs detected : yes
Disc ID : 0000000000000000000000000000000000000000
AACS MKB version : 0
AACS handled : no
(corrupted BluRay disc)
BD+ detected : no
No disc library metadata
Am I doing something wrong? I am on Fedora 19 x86_64, which ships libcrypt and openssl without elliptic curves. Can this be the source of the problem? The "real" libaacs needed it.
Please find the relevant output below. The temp files are nowhere to be found.
$ LANG=C MMBD_TRACE=1 bd_info /dev/sr0
MMBD: MakeMKV v1.8.5 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x4371-1.tmp
MMBD: Opening files on harddrive at /run/media/julas/STAR TREK TNG S1 D5
MMBD: The volume key is unknown for this disc - video can't be decrypted
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121263544
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121265223
MMBD: Failed to open disc
BluRay detected : yes
First Play supported: yes
Top menu supported : yes
HDMV titles : 100
BD-J titles : 0
UNSUPPORTED titles : 0
AACS detected : yes
libaacs detected : yes
Disc ID : 0000000000000000000000000000000000000000
AACS MKB version : 0
AACS handled : no
(corrupted BluRay disc)
BD+ detected : no
No disc library metadata
$ LANG=C MMBD_TRACE=1 cvlc bluray:///dev/sr0
VLC media player 2.0.8 Twoflower (revision 2.0.7-29-g12aebf9)
[0x1a24e78] dummy interface: using the dummy interface module...
MMBD: MakeMKV v1.8.5 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x446f-1.tmp
MMBD: Opening files on harddrive at /run/media/julas/STAR TREK TNG S1 D5
MMBD: The volume key is unknown for this disc - video can't be decrypted
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121263544
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121265223
MMBD: Failed to open disc
[0x7f29d400a008] libbluray demux: First play: 1, Top menu: 1
HDMV Titles: 100, BD-J Titles: 0, Other: 0
[0x7f29d400a008] main demux error: Blu-Ray error
[0x7f29d400a008] main demux error: BluRay Disc is corrupted.
[0x7f29cc000b28] main input error: open of `bluray:///dev/sr0' failed
[0x7f29cc000b28] main input error: Your input can't be opened
[0x7f29cc000b28] main input error: VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details.
I went ahead and tried another bluray, season 6 of the big bang theory. Oddly enough, it works. This is the difference:
$ LANG=C MMBD_TRACE=1 bd_info /dev/sr0
MMBD: MakeMKV v1.8.5 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x1290-1.tmp
MMBD: Using direct disc access mode
MMBD: Operation successfully completed
BluRay detected : yes
First Play supported: no
Top menu supported : yes
HDMV titles : 18
BD-J titles : 2
UNSUPPORTED titles : 2
Disc library metadata:
Metadata file : bdmt_eng.xml
Language : eng
Disc name : The Big Bang Theory Season 6 Disc 2
Alternative : <undefined>
Disc # : <undefined>/<undefined>
TOC count : 0
Thumbnail count : 2
./Big_Bang_metadata416.jpg 416x240
./Big_Bang_metadata640.jpg 640x360
vs
$ LANG=C MMBD_TRACE=1 bd_info /dev/sr0
MMBD: MakeMKV v1.8.5 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x1992-1.tmp
MMBD: Opening files on harddrive at /run/media/julas/STAR TREK TNG S1 D1
MMBD: The volume key is unknown for this disc - video can't be decrypted
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121263544
MMBD: DEBUG: Code 0 at ]J2,2'1~> 3.Cjyz:121265223
MMBD: Failed to open disc
BluRay detected : yes
First Play supported: yes
Top menu supported : yes
HDMV titles : 114
BD-J titles : 0
UNSUPPORTED titles : 0
AACS detected : yes
libaacs detected : yes
Disc ID : 0000000000000000000000000000000000000000
AACS MKB version : 0
AACS handled : no
(corrupted BluRay disc)
BD+ detected : no
No disc library metadata
Any ideas why it says "opening files on disc" for star trek tng but is using direct access for the big bang theory? Game of thrones season 2 also works and uses direct access:
$ LANG=C MMBD_TRACE=1 bd_info /dev/sr0
MMBD: MakeMKV v1.8.5 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x1a0c-1.tmp
MMBD: Using direct disc access mode
MMBD: Operation successfully completed
BluRay detected : yes
First Play supported: no
Top menu supported : no
HDMV titles : 2
BD-J titles : 79
UNSUPPORTED titles : 79
Disc library metadata:
Metadata file : bdmt_eng.xml
Language : eng
Disc name : Game Of Thrones Season 2 Disc 1
Alternative : Game Of Thrones Season 2 Disc 1
Disc # : 1/1
TOC count : 81
Title 1: Game Of Thrones Season 2 Disc 1
Title 2: Game Of Thrones Season 2 Disc 1
Title 3: Game Of Thrones Season 2 Disc 1
Title 4: Game Of Thrones Season 2 Disc 1
Title 5: Game Of Thrones Season 2 Disc 1
Title 6: Game Of Thrones Season 2 Disc 1
Title 7: Game Of Thrones Season 2 Disc 1
Title 8: Game Of Thrones Season 2 Disc 1
Title 9: Game Of Thrones Season 2 Disc 1
Title 10: Game Of Thrones Season 2 Disc 1
Title 11: Game Of Thrones Season 2 Disc 1
Title 12: Game Of Thrones Season 2 Disc 1
Title 13: Game Of Thrones Season 2 Disc 1
Title 14: Game Of Thrones Season 2 Disc 1
Title 15: Game Of Thrones Season 2 Disc 1
Title 16: Game Of Thrones Season 2 Disc 1
Title 17: Game Of Thrones Season 2 Disc 1
Title 18: Game Of Thrones Season 2 Disc 1
Title 19: Game Of Thrones Season 2 Disc 1
Title 20: Game Of Thrones Season 2 Disc 1
Title 21: Game Of Thrones Season 2 Disc 1
Title 22: Game Of Thrones Season 2 Disc 1
Title 23: Game Of Thrones Season 2 Disc 1
Title 24: Game Of Thrones Season 2 Disc 1
Title 25: Game Of Thrones Season 2 Disc 1
Title 26: Game Of Thrones Season 2 Disc 1
Title 27: Game Of Thrones Season 2 Disc 1
Title 28: Game Of Thrones Season 2 Disc 1
Title 29: Game Of Thrones Season 2 Disc 1
Title 30: Game Of Thrones Season 2 Disc 1
Title 31: Game Of Thrones Season 2 Disc 1
Title 32: Game Of Thrones Season 2 Disc 1
Title 33: Game Of Thrones Season 2 Disc 1
Title 34: Game Of Thrones Season 2 Disc 1
Title 35: Game Of Thrones Season 2 Disc 1
Title 36: Game Of Thrones Season 2 Disc 1
Title 37: Game Of Thrones Season 2 Disc 1
Title 38: Game Of Thrones Season 2 Disc 1
Title 39: Game Of Thrones Season 2 Disc 1
Title 40: Game Of Thrones Season 2 Disc 1
Title 41: Game Of Thrones Season 2 Disc 1
Title 42: Game Of Thrones Season 2 Disc 1
Title 43: Game Of Thrones Season 2 Disc 1
Title 44: Game Of Thrones Season 2 Disc 1
Title 45: Game Of Thrones Season 2 Disc 1
Title 46: Game Of Thrones Season 2 Disc 1
Title 47: Game Of Thrones Season 2 Disc 1
Title 48: Game Of Thrones Season 2 Disc 1
Title 49: Game Of Thrones Season 2 Disc 1
Title 50: Game Of Thrones Season 2 Disc 1
Title 51: Game Of Thrones Season 2 Disc 1
Title 52: Game Of Thrones Season 2 Disc 1
Title 53: Game Of Thrones Season 2 Disc 1
Title 54: Game Of Thrones Season 2 Disc 1
Title 55: Game Of Thrones Season 2 Disc 1
Title 56: Game Of Thrones Season 2 Disc 1
Title 57: Game Of Thrones Season 2 Disc 1
Title 58: Game Of Thrones Season 2 Disc 1
Title 59: Game Of Thrones Season 2 Disc 1
Title 60: Game Of Thrones Season 2 Disc 1
Title 61: Game Of Thrones Season 2 Disc 1
Title 62: Game Of Thrones Season 2 Disc 1
Title 63: Game Of Thrones Season 2 Disc 1
Title 64: Game Of Thrones Season 2 Disc 1
Title 65: Game Of Thrones Season 2 Disc 1
Title 66: Game Of Thrones Season 2 Disc 1
Title 67: Game Of Thrones Season 2 Disc 1
Title 68: Game Of Thrones Season 2 Disc 1
Title 69: Game Of Thrones Season 2 Disc 1
Title 70: Game Of Thrones Season 2 Disc 1
Title 71: Game Of Thrones Season 2 Disc 1
Title 72: Game Of Thrones Season 2 Disc 1
Title 73: Game Of Thrones Season 2 Disc 1
Title 74: Game Of Thrones Season 2 Disc 1
Title 75: Game Of Thrones Season 2 Disc 1
Title 76: Game Of Thrones Season 2 Disc 1
Title 77: Game Of Thrones Season 2 Disc 1
Title 78: Game Of Thrones Season 2 Disc 1
Title 79: Game Of Thrones Season 2 Disc 1
Title 80: Game Of Thrones Season 2 Disc 1
Title 81: Game Of Thrones Season 2 Disc 1
Thumbnail count : 2
GT2_metadata_416.jpg
GT2_metadata_640.jpg
The application (vlc via libbluray) passes MakeMKV a full path to the disc, but MakemKV needs to know the device name to issue SCSI commands. For that it scans /proc/mounts to get this info. Apparently there is a bug in this code. Am I right that discs with a space in volume label are handled incorrectly? Can you please post the line from /proc/mounts for start trek? Also, please try unmounting the disc and mounting manually into /mnt or any other folder without spaces in the name.