Page 1 of 1

Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 4:58 pm
by chihwahli
The instructions in here are to vague. I really have no clue where to execute the command to create an symbolic link.
I do not care if I have double the same files, I just need it to work.
viewtopic.php?f=10&t=7008

I installed MakeMKV with the instructions:
viewtopic.php?t=224

my file location: /usr/lib/libmmbd.so.0
In this directory inside terminal , I execute command: sudo ln -s libmmbd.so.0 /usr/lib/
I get message: ln: Already exists

Please someone. Where must I execute this command, or is there an alternative way to solve this? The instructions are really not clear. I am just a user, instructions must be crystal clear.

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 7:45 pm
by Sayaka
Please try this instead :

Open a terminal inside the /usr/lib folder (as you previousy did)

Then :

Code: Select all

sudo rm libaacs.so.0 libbdplus.so.0
Ignore any error messages, this is just a precaution to remove any faulty links, just in case.

Then, in the same terminal and the same folder :

Code: Select all

sudo ln -vs libmmbd.so.0 libaacs.so.0
and then, also in the same terminal and the same folder :

Code: Select all

sudo ln -vs libmmbd.so.0 libbdplus.so.0

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 7:48 pm
by tomty89
You shouldn't need to create the symlink unless you have some ancient system / libbluray though.

What you better make sure / check beforehand is that MakeMKV can work (rip to MKV / make decrypted backup). For example, you need to "register" first, as in, entering beta / permanent key to "activate' all functons, or start the trial period. Also, for UHD BD / non-LibreDrive, Hashed Keys need to be downloaded (it might be slow / fail because of geoblocking). sdf.bin update stalling might also prevent it from working.

In other words, make ripping / decrypted backup attempt before you play directly. (You can stop it once you see the main content being ripped.)

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 7:57 pm
by Sayaka
tomty89 wrote: Tue Jun 30, 2026 7:48 pmYou shouldn't need to create the symlink unless you have some ancient system / libbluray though
On my Noble Numbat-based distro, I most certainly did need both symlinks.

EDIT : Please note that it's also not recommended to use your Blu-ray drive to play discs directly in a repeated manner, as this will cause unnecessary laser wear-and-tear. On the other hand, my guess is that if you have, say, a ton of Blu-ray discs from a TV series that you couldn't possibly rip because you lack the storage space needed for all of them, then you might want to go for it.

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 8:00 pm
by Overlap3470
I'm using the flathub version.

It installs to:

/var/lib/flatpak/app/com.makemkv.MakeMKV

The lib is in:

/var/lib/flatpak/app/com.makemkv.MakeMKV/current/active/files/lib/libmmbd.so.0


Soo the command would be:


sudo ln -s /var/lib/flatpak/app/com.makemkv.MakeMKV/current/active/files/lib/libmmbd.so.0 /usr/lib/libmmbd.so.0

that will create a symlink (shortcut) that points from your lib folder to the lib itself.

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 8:17 pm
by tomty89
Sayaka wrote: Tue Jun 30, 2026 7:57 pm
tomty89 wrote: Tue Jun 30, 2026 7:48 pmYou shouldn't need to create the symlink unless you have some ancient system / libbluray though
On my Noble Numbat-based distro, I most certainly did need both symlinks.
No idea. Apparently the last non-Windows libmmbd commit dates back to 2017 (1.0.2), with 1.3.4 being the version Noble ships. A quick check doesn't seem to show that the libmmbd loading logic is being patched out or disabled whatsoever in Ubuntu.

EDIT: although IIRC under certain cirumstances libaacs could "stall" instead of just "fail", in which case would prevent libmmbd from "kicking in". (To be frank, instead of overwriting the files with symlinks, uninstalling libaacs and libbdplus properly might be a better thing to do -- should be possible for "Recommend"?)

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 8:38 pm
by Sayaka
uninstalling libaacs and libbdplus properly might be a better thing to do
Good point - I assumed this to already be the case for chihwahli, but I probably should have mentioned that to them. The reason I posted this :

Code: Select all

sudo rm libaacs.so.0 libbdplus.so.0
was more in the very unlikely case chihwahli could have, say, manually created faulty links due to typos or something before reading my post. Just a silly precaution on my part, really.

EDIT :
No idea. Apparently the last non-Windows libmmbd commit dates back to 2017 (1.0.2), with 1.3.4 being the version Noble ships. A quick check doesn't seem to show that the libmmbd loading logic is being patched out or disabled whatsoever in Ubuntu.
It's not just Ubuntu, it would seem. Even with my Arch distrobox with Kodi, VLC and MakeMKV, direct 4K Blu-ray disc playback wouldn't work before I created the symlinks...

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 9:43 pm
by tomty89
Well it definitely worked / works for me on Arch, but my experience is with mpv and bd_info only. (I'm not sure if the player / frontend could matter though.) Also mainly of encrypted backup instead of direct disc playback (but I definitely tested the latter once -- could be just regular BD though).

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 10:36 pm
by Sayaka
Well it definitely worked / works for me on Arch, but my experience is with mpv and bd_info only. (I'm not sure if the player / frontend could matter though.) Also mainly of encrypted backup instead of direct disc playback (but I definitely tested the latter once -- could be just regular BD though).
Interesting. May I ask how you installed MakeMKV on Arch ? Normal download/compile/install straight from the forums, or something else?

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 10:56 pm
by tomty89
The AUR package. (Not so different from make and make install, except it is packaged for pacman first -- well makepkg might do something in addition like "stripping" whatsoever?)

Re: Ubuntu VLC use MakeMKV

Posted: Tue Jun 30, 2026 11:08 pm
by Sayaka
Understood, thank you for the reply. I may have a closer look at this later.