[SOLVED] Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

The place to discuss linux version of MakeMKV
Post Reply
numeralwrongdoer
Posts: 2
Joined: Fri Jan 03, 2020 12:41 pm

[SOLVED] Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

Post by numeralwrongdoer »

Hi,

I try to do the direct blue-ray playback according to https://www.makemkv.com/forum/viewtopic.php?f=3&t=7009

I installed makemkv in the prefix ~/.local/, so before symlinking, the ~/.local/lib directory looks like this:

Code: Select all

$ ls -r ~/.local/lib/
libmmbd.so.0  libmakemkv.so.1  libdriveio.so.0
I also added ~/.local/lib/ to the LD_LIBRARY_PATH environment variable.

When I now create the symlinks according to the forum post and try to play a Blu-Ray disc, both vlc and mpv segfault.

Code: Select all

# Example for mpv
LD_DEBUG=libs mpv bd:////dev/sr0 
...
      9231:	find library=libaacs.so.0 [0]; searching
      9231:	 search path=/home/numeralwrongdoer/.local/lib:tls/x86_64:tls:x86_64:		(LD_LIBRARY_PATH)
      9231:	  trying file=/home/numeralwrongdoer/.local/lib/libaacs.so.0
      9231:	
      9231:	find library=libcrypto.so.1.1 [0]; searching
      9231:	 search path=/home/numeralwrongdoer/.local/lib:tls/x86_64:tls:x86_64:		(LD_LIBRARY_PATH)
      9231:	  trying file=/home/numeralwrongdoer/.local/lib/libcrypto.so.1.1
      9231:	  trying file=tls/x86_64/libcrypto.so.1.1
      9231:	  trying file=tls/libcrypto.so.1.1
      9231:	  trying file=x86_64/libcrypto.so.1.1
      9231:	  trying file=libcrypto.so.1.1
      9231:	 search cache=/etc/ld.so.cache
      9231:	  trying file=/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
      9231:	
      9231:	
      9231:	calling init: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
      9231:	
      9231:	
      9231:	calling init: /home/numeralwrongdoer/.local/lib/libaacs.so.0
      9231:	
Speicherzugriffsfehler

The problem existed with version 1.14.4 and also exists with the current version 1.14.7.

I used VLC via GUI and tried both enabling and disabling disc menus.

I'm using the Debian-based "Devuan" distro, libavcodec is at version 10:3.3.9-dmo1+deb9u1 from Debian Multimedia.

Did I do something wrong? What else info could I look for and provide?
Last edited by numeralwrongdoer on Fri Oct 23, 2020 5:59 pm, edited 1 time in total.
numeralwrongdoer
Posts: 2
Joined: Fri Jan 03, 2020 12:41 pm

Re: Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

Post by numeralwrongdoer »

Solved:

The problem appears to be that I had libaacs installed by the systems package manager.

After uninstalling it, playback works as expected.
EncryptedEggs
Posts: 9
Joined: Fri Jan 29, 2021 9:07 pm

Re: [SOLVED] Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

Post by EncryptedEggs »

So how is it precisely that you were able to get BDs working with MPV? I know about copying libmmbd into VLC's folder twice, one as libaacs.dll and one as bdplus.dll, but how can this be done with mpv?
EncryptedEggs
Posts: 9
Joined: Fri Jan 29, 2021 9:07 pm

Re: [SOLVED] Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

Post by EncryptedEggs »

Update on the above: I solved that by putting libaacs in the same folder as mpv
jvian1
Posts: 16
Joined: Thu May 19, 2016 1:09 am

Re: [SOLVED] Using libmmdb as libaacs+libdbplus - vlc and mpv segfault

Post by jvian1 »

One may also look at my thread about a similar issue with vlc and having installed makemkv system wide.
viewtopic.php?f=3&t=31489&sid=252553db4 ... 9591c9a9c1

The linked post by mike did not work, but after installing some other packages the solution was found. I had previously installed makemkv 1.16.? so the libmmbd.so file was available even though the newer release 1.17.4 won't compile on my fedora 38 system.
Post Reply