Linux HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon)

  Thread Rating:
  • 10 Votes - 4.3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Wozza_au Offline
Senior Member
Posts: 144
Joined: Jan 2011
Reputation: 1
Location: South Australia
Post: #411
Hi
Thanks for the update appears to be working fine here ..but Smile
Im wondering if this is an issue?
Code:
ERROR: /home/wozza/.xbmc/addons/abultman-plugin.makemkvbluray-dab2624/resources/lib/makemkv.py:103: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
                                              (fin, fout) = os.popen4('%s -r' %(self.settings.mkvLocation))
Im using the git ver (prob stating the obvious due to the path in the above Smile ) Eden beta2 on top of a live install..
Thanks
Wozza
find quote
fbrea Offline
Junior Member
Posts: 11
Joined: Feb 2009
Reputation: 0
Post: #412
Can somebody explain me how to enable this plug in in Openelec??

I installed the plug in but openelec freezes when click on play

Thanks in advance
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #413
Your question may be better answered on the Openelec boards.
find quote
LastCoder Offline
Fan
Posts: 345
Joined: Dec 2011
Reputation: 0
Thumbs Up  Bluray language default .. Post: #414
Hi,

I discovered that my posted problems are related to a special Bluray [that couldn't be played even with PowerDVD] .. other blurays work well. Great Job !

Unfortunately there are some problems with choosing the "right" audio stream. Sometimes a bluray is played with german [for me okay ;-] audio sometimes with english audio.

.. do you think that it is possible it enhance the plugin with some language default choices ? Makemkv seems to offer different streams that the plugin chooses by size to identificate the main movie; is there any chance to choose it by some sort of language default ??

Btw. the progressbar doesn't work with eden beta 2 [opdenkamp builds] ..

Greetz

LastCoder

Btw. would be nice to see this thread in the plugins/addons video section .. hard to find it here ;-)

Ubuntu 12.04 LTS Server, LXDE, XBMC Frodo, Skin "Aeon Nox 4", TVHeadEnd TV Backend
ASUS P8H61-M LE/USB3, Celeron G530 w. iGPU Intel HD, 4 GB DDR3 RAM
16 GB CnMemory 300x CF, 1 TB Samsung 2,5" HDD
iHOS104 BluRay Drive, TT DVBS2-1600
Silverstone GD05B Case, Sony PS3 BD Remote control, Logitech Cordless Mediaboard Pro for PS3
find quote
bilbonvidia Offline
Fan
Posts: 433
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #415
hi, thanks for this plugin which I had a quick go at trying to get to work last night. Do I need a particular version of MakeMKV? I installed the latest from here http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224 as per the instructions and then installed the addon at the beginning of this thread. Should that be all I need to do? It is was just freezing on me last night.

I am on the latest ver of XBMCbuntu, changed the path to point to mkvcon in setttings. Bluray loads up in the mkv application.

I get lots of disc activity but nothing happens on screen.

Cheers
(This post was last modified: 2012-02-15 21:18 by bilbonvidia.)
find quote
bilbonvidia Offline
Fan
Posts: 433
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #416
Code:
GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_texture_type_2_10_10_10_REV GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
19:15:01 T:7248240   ERROR: GLX: Same window as before, refreshing context
19:15:01 T:7248240   ERROR: special://masterprofile/keymaps/noBS.xml Doesn't contain <keymap>
19:15:01 T:7248240   ERROR: special://profile/keymaps/noBS.xml Doesn't contain <keymap>
19:15:01 T:7248240  NOTICE: UDisks: Added /media/SCOTT_VS_WORLD_G55
19:15:01 T:7248240  NOTICE: start dvd mediatype detection
19:15:01 T:7248240  NOTICE: initializing playlistplayer
19:15:01 T:7248240  NOTICE: DONE initializing playlistplayer
19:15:01 T:15043440   ERROR: Detection of DVD-ROM media failed.
19:15:01 T:7248240  NOTICE: UpdateLibraries - Starting video library startup scan
19:15:01 T:7248240  NOTICE: initialize done
19:15:01 T:7248240  NOTICE: Running the application...
19:15:01 T:162544496  NOTICE: VideoInfoScanner: Starting scan ..
19:15:01 T:7248240  NOTICE: ES: Starting event server
19:15:01 T:3016739696  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:15:01 T:3016739696  NOTICE: UDP: Listening on port 9777
19:15:01 T:7248240  NOTICE: starting zeroconf publishing
19:15:02 T:2989489008  NOTICE: -->Python Interpreter Initialized<--
19:15:15 T:7248240   ERROR: GetDiskUniqueId: Failed getting CD info
19:15:24 T:7248240   ERROR: Previous line repeats 2 times.
19:15:24 T:7248240   ERROR: Texture manager unable to load file: /home/xbmc/plugin.makemkvbluray.zip/icon.png
19:15:40 T:2949634928  NOTICE: -->Python Interpreter Initialized<--
19:15:40 T:2949634928  NOTICE: [BR 1] Starting the BluRay script
19:15:40 T:2949634928  NOTICE: [BR 1] Staring
19:15:40 T:2949634928  NOTICE: [BR-settings 1] reading settings
19:15:40 T:2949634928  NOTICE: [BR-settings 1] raw param string:
19:15:40 T:2949634928  NOTICE: [BR 1] mode: None
19:15:40 T:2949634928  NOTICE: [BR 1] Showing categories
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=True
19:15:40 T:2949634928  NOTICE: [BR 1] Play Disc
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=False
19:15:40 T:2949634928  NOTICE: [BR 1] Browse Disc
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=True
19:15:40 T:2949634928  NOTICE: [BR 1] Play Filelocation
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=False
19:15:40 T:2949634928  NOTICE: [BR 1] Browse Filelocation
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=True
19:15:40 T:2949634928  NOTICE: [BR 1] Play Remote location
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=False
19:15:40 T:2949634928  NOTICE: [BR 1] Browse Remote location
19:15:40 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=20&autoplay=True
19:15:40 T:2949634928  NOTICE: [BR 1] Settings
19:15:40 T:2949634928  NOTICE: [BR 1] Showing categories done
19:15:40 T:2949634928   ERROR:  EndOfDirectory - called with an invalid handle.
19:15:42 T:2949634928  NOTICE: -->Python Interpreter Initialized<--
19:15:42 T:2949634928  NOTICE: [BR 1] Starting the BluRay script
19:15:42 T:2949634928  NOTICE: [BR 1] Staring
19:15:42 T:2949634928  NOTICE: [BR-settings 1] reading settings
19:15:42 T:2949634928  NOTICE: [BR-settings 1] raw param string:
19:15:42 T:2949634928  NOTICE: [BR 1] mode: None
19:15:42 T:2949634928  NOTICE: [BR 1] Showing categories
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=True
19:15:42 T:2949634928  NOTICE: [BR 1] Play Disc
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=False
19:15:42 T:2949634928  NOTICE: [BR 1] Browse Disc
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=True
19:15:42 T:2949634928  NOTICE: [BR 1] Play Filelocation
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=False
19:15:42 T:2949634928  NOTICE: [BR 1] Browse Filelocation
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=True
19:15:42 T:2949634928  NOTICE: [BR 1] Play Remote location
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=False
19:15:42 T:2949634928  NOTICE: [BR 1] Browse Remote location
19:15:42 T:2949634928  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=20&autoplay=True
19:15:42 T:2949634928  NOTICE: [BR 1] Settings
19:15:42 T:2949634928  NOTICE: [BR 1] Showing categories done
19:15:42 T:2949634928   ERROR:  EndOfDirectory - called with an invalid handle.
19:15:44 T:2949634928  NOTICE: -->Python Interpreter Initialized<--
19:15:44 T:2949634928  NOTICE: [BR 1] Starting the BluRay script
19:15:44 T:2949634928  NOTICE: [BR 1] Staring
19:15:44 T:2949634928  NOTICE: [BR-settings 1] reading settings
19:15:44 T:2949634928  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
19:15:44 T:2949634928  NOTICE: [BR 1] mode: 1
19:15:44 T:2949634928  NOTICE: [BR 1] Entering Disc mode
19:15:44 T:2949634928  NOTICE: [BR 1] Staring
19:15:44 T:2949634928  NOTICE: [BR-settings 1] reading settings
19:15:44 T:2949634928  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
19:15:44 T:2949634928  NOTICE: [BR 1] "makemkvcon" stream disc:0
19:15:44 T:2949634928  NOTICE: [BR 1] Running makemkvcon locally
19:15:44 T:2949634928  NOTICE: [BR 1] attempting linux kill of makemkvcon
19:15:44 T:2949634928  NOTICE: [BR 1] Linux call successful
19:15:44 T:2949634928  NOTICE: [BR 1] attempting windows kill of makemkvcon
19:15:44 T:2949634928  NOTICE: [BR 1] Windows call successful
19:15:44 T:2949634928  NOTICE: [BR 1] "makemkvcon" stream disc:0
19:16:19 T:162544496  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 01:17
find quote
dedeibel Offline
Junior Member
Posts: 2
Joined: Feb 2012
Reputation: 0
Post: #417
Thank you so much, worked great so far with two discs I tried!

Debian Wheezy, 64bit.
(This post was last modified: 2012-02-18 17:53 by dedeibel.)
find quote
bilbonvidia Offline
Fan
Posts: 433
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #418
when I run the mkvcon from the command line i get the evaluation message, could this be screwing the script upConfused

Edit yes.... needed to put key in. Jaysus.
(This post was last modified: 2012-02-20 21:48 by bilbonvidia.)
find quote
Schulteatq Offline
Junior Member
Posts: 1
Joined: Feb 2012
Reputation: 0
Post: #419
Hi guys,

I have a problem using the makemkv script on my xbmc 10.1 machine (on Arch Linux, 3.2.7-1-ARCH x86_64).

When I start makemkvcon myself on the console and choose play/browse remote, everything works perfectly fine. But when choosing play/browse disk, xbmc hangs immediately (and won't even return after the 120s timeout).

After having a look into the log and default.py, there seems to be a problem with the subprocess.call() / subprocess.Popen() calls:
Code:
12:20:22 T:140691183236864 M:1839529984  NOTICE: -->Python Interpreter Initialized<--
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] Starting the BluRay script
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] Staring
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR-settings 1] reading settings
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] mode: 1
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] Entering Disc mode
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] Staring
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR-settings 1] reading settings
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] "/usr/bin/makemkvcon" stream disc:0
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] Running makemkvcon locally
12:20:23 T:140691183236864 M:1839497216  NOTICE: [BR 1] attempting linux kill of makemkvcon

When calling the corresponding functions in a seperate python2 shell, everything works fine:
Code:
[xbmc./home/xbmc/.xbmc]python2
Python 2.7.2 (default, Nov 21 2011, 17:25:27)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.Popen("/usr/bin/makemkvcon stream disc:0", shell=True)
<subprocess.Popen object at 0x7f7a47dc0510>
>>> MakeMKV v1.7.1 linux(x64-release) started
Profile parsing error: default profile missing, using builtin default
[...]
KeyboardInterrupt
>>> subprocess.call('killall -9 makemkvcon', shell=True)
0

Does anyone have an idea what the problem is?
Thanks, Chris
find quote
optiix Offline
Junior Member
Posts: 39
Joined: Sep 2011
Reputation: 0
Lightbulb  Help to find folder please Post: #420
Ignore this post. I was just downloading the wrong file. Atleast I got the BluRay plugin installed into XBMC now.
Should see if it can run Robin Hood BD now!

Smile
(This post was last modified: 2012-03-06 17:32 by optiix.)
find quote
Post Reply