I got a problem with blu-ray player in VLC
Blu-ray error: Blu-ray Disc is corrupted. Your input can't be opened: VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details.
It's not the discs
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityThe disc is probably a normal, commercial disc and thus encrypted.
Use
sudo apt-get install libaacs0 libbluray1 libbluray-bdj
and fetch the AACS keys with
mkdir ~/.config/aacs
curl http://vlc-aacs.whoknowsmy.name/files/KEYDB.cfg > ~/.config/aacs/KEYDB.cfg
The AACS keys don't reach to 2013 and beyond, so if you want to watch something newer, you are out of luck.
You can install MakeMKV from the ppa and use this to play newer stuff, if you don't mind having closed-source software with dubious status on your system.
For this, you need to remove the libaacs0
again (sudo apt remove libaacs0
) and make
cd /usr/lib
sudo ln -s libmmbd.so.0 libaacs.so.0
sudo ln -s libmmbd.so.0 libbdplus.so.0
after you installed MakeMKV to have VLC play and decrypt Blu-Ray discs.
To play a disc, you need to make some steps everytime to be successful:
Start MakeMKV, read the disc, press the "streaming" button in the top row.
Now start vlc, press Ctrl
+N
and paste http://localhost:51000/stream/title0.ts
in the box. You might want to increase the buffer to 5000 ms or more under More Options
.
You can see what titles are available on the disc in your browser under http://localhost:51000
. If you substitute your IP address for 'localhost', you can even watch on other computers in your network as long as MakeMKV is active and streaming.
If you are on a relatively recent distro, you can safely substitute apt
for apt-get
. This is the future development and should be used if possible.