Kodi Community Forum

Full Version: HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
magnetism Wrote:So, let me get this straight. It works with browse, you can actually select a title and play? But if you select play disc it doesn't work?

That is correct sir :-) I know it doesn't make sense.
The Play function makes xbmc 'hang' (I have to kill the xbmc.bin process and restart it (pkill -HUP for short). But it DOES start off the makemkv process, it just doesn't give the popup in which it is waiting for the stream.

The browse function gives me all the available tracks (maybe filter out the tracks that are shorter than let's say 5 minutes, so I don't have to search for the tracks manually on my Lost blu rays)
magnetism Wrote:Can you try to unzip it yourself in the addon directory?
I don't think it's working either - this is what I did:
Code:
$ cd ~/.xbmc/addons/
$ unzip BluRay-plugin-v01a.zip
$ mv BluRay plugin.video.bluray
But I don't see BluRay under the Video > Video Add-ons section - it just doesn't appear. Did I do it right? Cheers!!
MacUsers Wrote:I don't think it's working either - this is what I did:
Code:
$ cd ~/.xbmc/addons/
$ unzip BluRay-plugin-v01a.zip
$ mv BluRay plugin.video.bluray
But I don't see BluRay under the Video > Video Add-ons section - it just doesn't appear. Did I do it right? Cheers!!

You're not using the correct zip file. What you have is the zip file for the old 9.11 release. Download the plugin from the first post (near the top) and use that one.
magnetism Wrote:You're not using the correct zip file. What you have is the zip file for the old 9.11 release. Download the plugin from the first post (near the top) and use that one.
Aahh......silly me. I was thinking I downloaded the correct one and left me thinking why it just doesn't work for me!! It's worked now - well, installed without any error at least. So, rest of the stuff should work peacefully - I hope for the best!
Thanks a lot. Cheers!!
My bad luck!!

Just tested with a small blu-ray sample, downloaded from here and It didn't work. After completing 100% of streaming, it says "One or more items failed to play". This is what I see in the log:

13:00:54 T:140570695800576 M:1208913920 NOTICE: -->Python Interpreter Initialized<--
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR 1] Starting the BluRay script
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR 1] Staring
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR-settings 1] reading settings
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR-settings 1] raw param string: ?mode=2&autoplay=True
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR 1] mode: 2
13:00:54 T:140570695800576 M:1206874112 NOTICE: [BR 1] Entering Browse mode
13:01:24 T:140570695800576 M:1205780480 NOTICE: [BR 1] Staring
13:01:24 T:140570695800576 M:1205780480 NOTICE: [BR-settings 1] reading settings
13:01:24 T:140570695800576 M:1205780480 NOTICE: [BR-settings 1] raw param string: ?mode=2&autoplay=True
13:01:24 T:140570695800576 M:1205780480 NOTICE: [BR 1] "makemkvcon" stream iso:/home/santanu/Videos/sample/sample.iso
13:01:24 T:140570695800576 M:1206501376 NOTICE: [BR 1] Running makemkvcon locally
13:01:24 T:140570695800576 M:1206501376 NOTICE: [BR 1] attempting linux kill of makemkvcon
13:01:24 T:140570695800576 M:1205497856 NOTICE: [BR 1] attempting windows kill of makemkvcon
13:01:24 T:140570695800576 M:1206476800 NOTICE: [BR 1] "makemkvcon" stream iso:/home/santanu/Videos/sample/sample.iso
13:03:25 T:140571469592608 M:1208037376 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.makemkvbluray/?mode=2&autoplay=True]
So, am I doing something wrong again or the .iso (it's just 11Mb) itself is bad? Cheers!!

PS. I must add: a SD .iso played just fine.
Is there any method to normalize music playback sound level ? (a.k.a. compressor) ?

I´ve looked up in add-on list and I can´t find a tool for this

Thanx in advance
lenwar Wrote:That is correct sir :-) I know it doesn't make sense.
The Play function makes xbmc 'hang' (I have to kill the xbmc.bin process and restart it (pkill -HUP for short). But it DOES start off the makemkv process, it just doesn't give the popup in which it is waiting for the stream.

The browse function gives me all the available tracks (maybe filter out the tracks that are shorter than let's say 5 minutes, so I don't have to search for the tracks manually on my Lost blu rays)

Any idea yet on this?? :-)
lenwar Wrote:Any idea yet on this?? :-)

i got successed.NodI installed both program and and-on of MAKEMKV and it worked fine but just for bluray disc not for stored in hd. Big Grin
dbracher Wrote:i got successed.NodI installed both program and and-on of MAKEMKV and it worked fine but just for bluray disc not for stored in hd. Big Grin

Can you tell me what versions of the plugin and MakeMKV you use? (and also what hardware.. Probably has no impact, but who knows Smile )
It's not working for me at all. I must have doing some thing silly, otherwise I don't see any reason for not working, if it's really working for others but me. Can any one please explain how this thing actually work. I tried [2nd time] with the Phil Collins - Going Back BD-rip - this is the file-system I have in my HDD:

Code:
PHILF-toivonen
|____ERBRD5067
| |____BDMV
| | |____BACKUP
| | | |____CLIPINF
| | | | |____00000.clpi
| | | | |____00001.clpi
| | | | |____00002.clpi
| | | | |____00003.clpi
| | | | |____00004.clpi
| | | | |____00005.clpi
| | | | |____00006.clpi
| | | | |____00007.clpi
| | | | |____00008.clpi
| | | | |____00009.clpi
| | | | |____00010.clpi
| | | | |____00011.clpi
| | | | |____00012.clpi
| | | |____index.bdmv
| | | |____MovieObject.bdmv
| | | |____PLAYLIST
| | | | |____00000.mpls
| | | | |____00001.mpls
| | | | |____00002.mpls
| | | | |____00003.mpls
| | | | |____00004.mpls
| | | | |____00005.mpls
| | | | |____00006.mpls
| | | | |____00007.mpls
| | |____CLIPINF
| | | |____00000.clpi
| | | |____00001.clpi
| | | |____00002.clpi
| | | |____00003.clpi
| | | |____00004.clpi
| | | |____00005.clpi
| | | |____00006.clpi
| | | |____00007.clpi
| | | |____00008.clpi
| | | |____00009.clpi
| | | |____00010.clpi
| | | |____00011.clpi
| | | |____00012.clpi
| | |____index.bdmv
| | |____MovieObject.bdmv
| | |____PLAYLIST
| | | |____00000.mpls
| | | |____00001.mpls
| | | |____00002.mpls
| | | |____00003.mpls
| | | |____00004.mpls
| | | |____00005.mpls
| | | |____00006.mpls
| | | |____00007.mpls
| | |____STREAM
| | | |____00000.m2ts
| | | |____00001.m2ts
| | | |____00002.m2ts
| | | |____00003.m2ts
| | | |____00004.m2ts
| | | |____00005.m2ts
| | | |____00006.m2ts
| | | |____00007.m2ts
| | | |____00008.m2ts
| | | |____00009.m2ts
| | | |____00010.m2ts
| | | |____00011.m2ts
| | | |____00012.m2ts
| |____CERTIFICATE
| | |____BACKUP
| | | |____id.bdmv
| | |____id.bdmv
If I play index.bdmv, it starts preparing the stream (displaying: Waiting for the stream) and after the 100% it says "Playback failed". Any idea what's I'm doing wrong? I really appreciate if anyone can point me to the right direction. Thanks in advance. Cheers!!
MacUsers Wrote:If I play index.bdmv, it starts preparing the stream (displaying: Waiting for the stream) and after the 100% it says "Playback failed". Any idea what's I'm doing wrong? I really appreciate if anyone can point me to the right direction. Thanks in advance. Cheers!!

This Blu Ray does not seem to be encrypted. You should be able to just browse to your drive as if you play a DVD (maybe browse down to index.bdmv) and click your "Play" button (not just the 'OK' button)

At least... that should work if you use the latest XBMC (Dharma or version 10.00)

If that doesn't work for you can you please give us the relevant parts of your logfiles?
Thanks lenwar. I'll try that later in the evening. Cheers!!
Hi everyone. I am pretty new to xbmc and stuff.

I was trying to get the bluray playback to work but I succeeded only partially at first.
I have two bluray discs, Alice in Wonderland and Sherlock Holmes. Alice plays just fine, after I select Play Disc from the plugin menu it takes slightly more than 1 minute to playback start.

Now the Sherlock movie does not work. When I select Play Disc, xbmc hangs and I have to restart it. If I browse the disc and run the index.bdmv it seems to start loading, progress bar reaches 100% but then an error message appears saying xbmc cannot play it.

Strange thing is that when I start "makemkvcon stream disc:0" manually and then do a "Browse remote location" from the plugin in xbmc I can get the movie to play.

This made me think about it again. makemkvcon obviously works and the disc is OK. The plugin for xbmc works as well. Then I realized one thing. When I started makemkvcon manually, it took pretty long to start the stream. I timed the whole process and it ended being more than 3 minutes. After setting the timeout to 300 in the xbmc plugin the disc starts playing the director commentary on the movie (the longest content on the disc).

So far so good, almost there :-) Now if I browse the disc, I can select the main movie and the playback works without a glitch.

So the whole problem was that it took makemkvcon very long time to start the stream so the plugin timed out and under certain circumstances hung the xbmc.

So suggestion for you folks if you cannot get some disc to play, just give it more time to start the stream, it worked for me ;-)

P.S. Special thanks to magnetism for getting this whole thing together for all of us!
Thanx for everyone
I loved the plugin you wrote but the 10.* release broke it so I converted it to a addon, I have been playing with it for a couple of days now. If magnetism is OK I could post a link here to it or just send it "him". I am using it on my media machine with a BluRay drive and some ",mkv" files and it appears to work but it has not been pushed and has only English support at the moment.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38