There are many people out there that have a Home Theater PC with Blu-ray drive (like the ASRock ION-330HT-BD) running with the mediaportal software XBMC. By default XBMC does not support original Blu-ray playback but it seems progress is being made on this from the XBMC community. A user named magnetism wrote a post on the forum of xbmc.org explaining how he fixed this issue. Below is a short tutorial as seen on the dutch site XBMCFreak.nl. Warning: from here on it is assumed you have basic knowledge of Linux and SSH.
Install makemkv
Use PuTTY or any other SSH client with commandline interface to execute the following commands (one per line).
sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev wget http://www.makemkv.com/download/makemkv_v1.5.0_beta_bin.tar.gz wget http://www.makemkv.com/download/makemkv_v1.5.0_beta_oss.tar.gz tar -xvf makemkv_v1.5.0_beta_bin.tar.gz tar -xvf makemkv_v1.5.0_beta_oss.tar.gz cd makemkv_v1.5.0_beta_oss sudo make -f makefile.linux sudo make -f makefile.linux install cd .. cd makemkv_v1.5.0_beta_bin sudo make -f makefile.linux sudo make -f makefile.linux install
Upload the custom Blu-ray script
Next, download the custom Blu-ray script from magnetism here: http://www.bultsblog.com/BluRay-script.zip. Extract the content and upload it to the scripts directory ./xbmc/scripts/ with a sFTP client.
Playback
If all is well you can now playback Blu-ray discs. You can do this by inserting the Blu-ray disc in the drive and then start the custom script from the scripts menu. Unfortunately I can’t test this myself since I don’t own any Blu-ray discs yet.
Playing a Blu-ray ISO
With this method it is also possible to playback Blu-ray ISO files. It is currently now build in the script but can be done manually. Read the full topic on XBMC.org for this (especially page 2).
Issues
Some people have reported that audio is killed after executing the script. The video starts but audio is killed with an error “Failed to initialize audio device”. A reboot is required to get the audio back. But this seems an isolated issue so far.
What’s next
This script has just became public and is still experimental. I’m positive it the will be further developed until playback of Blu-ray discs and perhaps also ISO’s is well supported and easily managed. Just keep track on the XBMC.org forum or consider subscribing to my news feed. I’ll be posting more about this in the future.


Having spotted the thread on this over in the xbmc forums I was then on the lookout for more information on the install of makemkv and so found your web page. Sadly the very first command gives me the following:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package build-essential has no installation candidate
I’m using a standard xbmc live install on a 2GB USB stick on a Zotac ION ITX A-B board.
If I ignore the message and carry on I get to the first make command which fails with the following:
mkdir -p out
gcc -O3 -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -Ilibdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp libdriveio/src/drives/pioneer.cpp libdriveio/src/drives/xboxhddvd.cpp \
-fPIC -Xlinker -dy -Xlinker –version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
make: *** [out/libdriveio.so.0.full] Error 1
Any ideas on how to fix things? I’m no Linux expert…
I aint no Linux expert either but Google goes a long way.
Try these commands and supply your password if requested:
sudo dpkg –configure -a
sudo apt-get -f install
sudo apt-get –fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get clean
sudo apt-get autoremove
This should fix.
Thanks Glitch – I’ve not tried what you’ve posted but I’ve been googling away myself and found the following command alone seemed to do the trick:
sudo apt-get update
Forgot to say… I’m now watching 30 Days of Night using my LG GGC-H20L HD-DVD/Blu-ray drive cnnected directly to the Zotac m/b. However, I did get the “Failed to initialize audio device” message and have no sound so will look further into that but otherwise it’s an excellent start
Glad you got the video solved. If you fix the audio let me know so I can update this post …
Hello,
after
08 sudo make -f makefile.linux install
go back, on directory with cd ..
great It’s works!
I try with Spiderman 3 It’s possible to see the movie.
Some things:
- Need 20 sec to prepare to read the BR
- Is not possible to go fast (just view sec. in 4X)
- Dont see the name of sound tracks
- Dont see the name of subtitle tracks.
But It works great.
Tank You very very much
Just an update…
I fix the audio by using the suggestion in the original xbmc forums thread (see post #103 by toker) and following the guide here (both McAfee and Kaspersky warn of a tojan which they block, so just be wary) – http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/ – to upgrade to alsa 1.0.22.1.
I’m now watching Harry Potter & the Half-Blood Prince direct from the Blu-ray disk complete with sound (all-be-it downmixed to stereo for my set-up)