XBMC Community Forum
[Linux] HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [Linux] HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon) (/showthread.php?tid=67420)



- magnetism - 2010-01-24 17:02

Shank Wrote:Wow... Im so stupid, i presumed that was included in the script...

Nope....


- Wingie - 2010-01-24 18:31

@magnetism thanks for the great script after updating my system with some libraries everything (almost) works.

I've changed the command in the script so i'm able to play a iso file with
makemkvcon stream iso:”/home/xbmc/bluray/test/dve-bluray.iso”’, shell=True)

And after loading till 100% it starts playing but without sound. Even if I try to change the sound via the menu to the second audio channel i'm getting the error "failed to initialize...". After stopping the dvd sound is completely gone, if I check it via the prompt with "alsamixer" everything is turned on.

My xbmc.log says: 20:19:57 T:2506005360 M:968880128 DEBUG: ffmpeg[955E9B70]: [truehd] Lossless check failed – expected 4e, calculated fd.

I'm using the karmic 9.11 live release (installed on HD), using alsa 1.0.22.1 and both outputs (in the settings) in XBMC are HDMI enabled, ac3,dts boxes are ticked.

Oh btw my system is a asrock ion 330ht-bd with 2GB ram.

Any idea how to get the sound back so that i'm able to change audio channel?


- magnetism - 2010-01-24 18:40

Wingie Wrote:@magnetism thanks for the great script after updating my system with some libraries everything (almost) works.

I've changed the command in the script so i'm able to play a iso file with
makemkvcon stream iso:”/home/xbmc/bluray/test/dve-bluray.iso”’, shell=True)

And after loading till 100% it starts playing but without sound. Even if I try to change the sound via the menu to the second audio channel i'm getting the error "failed to initialize...". After stopping the dvd sound is completely gone, if I check it via the prompt with "alsamixer" everything is turned on.

My xbmc.log says: 20:19:57 T:2506005360 M:968880128 DEBUG: ffmpeg[955E9B70]: [truehd] Lossless check failed – expected 4e, calculated fd.

I'm using the karmic 9.11 live release (installed on HD), using alsa 1.0.22.1 and both outputs (in the settings) in XBMC are HDMI enabled, ac3,dts boxes are ticked.

Oh btw my system is a asrock ion 330ht-bd with 2GB ram.

Any idea how to get the sound back so that i'm able to change audio channel?

Once playback starts it's out of the scripts hands. Playback is delegated to XBMC proper, so not sure what's going on but it looks like your setup has issues with the selected audio format. Maybe one of the core devs knows?

Did you select to downmix, if not could you try and see if that 'solves' the audio issue?


- batrad - 2010-01-26 20:21

Wingie Wrote:@magnetism thanks for the great script after updating my system with some libraries everything (almost) works.

I've changed the command in the script so i'm able to play a iso file with
makemkvcon stream iso:”/home/xbmc/bluray/test/dve-bluray.iso”’, shell=True)

And after loading till 100% it starts playing but without sound. Even if I try to change the sound via the menu to the second audio channel i'm getting the error "failed to initialize...". After stopping the dvd sound is completely gone, if I check it via the prompt with "alsamixer" everything is turned on.

My xbmc.log says: 20:19:57 T:2506005360 M:968880128 DEBUG: ffmpeg[955E9B70]: [truehd] Lossless check failed – expected 4e, calculated fd.

I'm using the karmic 9.11 live release (installed on HD), using alsa 1.0.22.1 and both outputs (in the settings) in XBMC are HDMI enabled, ac3,dts boxes are ticked.

Oh btw my system is a asrock ion 330ht-bd with 2GB ram.

Any idea how to get the sound back so that i'm able to change audio channel?

Having similar issues with Live install on HD.. No Playback. Fails after reading the Disc

Appreciate if anyone can help fix

thanks


- Wingie - 2010-01-26 21:05

magnetism Wrote:Once playback starts it's out of the scripts hands. Playback is delegated to XBMC proper, so not sure what's going on but it looks like your setup has issues with the selected audio format. Maybe one of the core devs knows?

Did you select to downmix, if not could you try and see if that 'solves' the audio issue?

Yep downmix is on. Is there no way to tell makemkv to start with another audiochannel?

I know truehd is not supported at the moment with XBMC but Bluray always contains a DTS /AC3 stream for backwards compatibility as far as I know.

The strange thing is that audio is completely shutdown after running a bluray iso and you have to restart your system.

Is there any DEV that can help us or knows what's happening? More logging can be supplied.

@magnetism, could you update the script so you can choose between bluray disk/iso file or bluray dir on disk. And another thing I was wondering how can I supply the path to an iso that's on a network share like my movies.

Local drive on PC => F:\Films\Movies\HD\Ratatouille (2007)
\\CORE2DUO\Films sharename


- magnetism - 2010-01-26 21:21

I'm working on browse functionality right now. Browsing is a simple xbmc browse of your video sources. As long as your iso or bluray dir is in there you can select it.
It's not really pretty right now, but at least it should work. Pretty can come after.


- Wingie - 2010-01-26 22:16

magnetism Wrote:I'm working on browse functionality right now. Browsing is a simple xbmc browse of your video sources. As long as your iso or bluray dir is in there you can select it.
It's not really pretty right now, but at least it should work. Pretty can come after.

Great to here this if you need beta testing i'm very willing to do this, I know some coding and know my way around on a linux system.


- glenner05 - 2010-01-26 22:59

hey, great work on this script! is it possible to watch blu ray disc and select subtitles this way? or only the movie without subtitling?


- magnetism - 2010-01-26 23:12

glenner05 Wrote:hey, great work on this script! is it possible to watch blu ray disc and select subtitles this way? or only the movie without subtitling?

All subtitles and audiostreams should be selectable. They're not conveniently named though, so it is a bit of trial and error at the moment. Hopefully that will improve with never MakeMKV versions


- magnetism - 2010-01-26 23:15

magnetism Wrote:I'm working on browse functionality right now. Browsing is a simple xbmc browse of your video sources. As long as your iso or bluray dir is in there you can select it.
It's not really pretty right now, but at least it should work. Pretty can come after.

Ok, I've run into a big of a problem on linux. I've been building this on windows and it actually works pretty well now. However my main setup is on linux. Problem: On windows the SMB shares are simply mapped to a drive and thus recognized and MakeMKV has no problems. In linux the SMB shares are accessed using SBM:// url style connections which are meaningless when passed to MakeMKV.
Anybody have any bright ideas? I guess I could try and smbmount everything into the regular mount structures but I'd really rather not do that.