futeko.com FORUM
Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: futeko.com on July 06, 2016, 04:15:23 PM
-
HiMedia Q5/Q10 Pro use a 'wrapper' with Kodi to give full hardware features for video playback. What the wrapper app does is create a file called playercorefactory.xml in /sdcard/data/org.xbmc.kodi/files/.kodi/userdata. It is this file that controls which player (internal Kodi or Himediaplayer) Kodi uses to play the video.
You can access this file on Q5/Q10 Pro by installing ES File Explorer and enabling 'show hidden files' in setting - display.
The default wrapper is attached to this post. The idea of this thread is to post modifications to improve it. Better handling of streaming and music would be the first things. We'll be looking at this ourselves in coming days, but the more people working on it the better so community input is appreciated.
The Kodi wiki has playercorefactory documentation here: http://kodi.wiki/view/External_players
[attachment deleted by admin]
-
From pcristi, this version adds lines to route all NFS video to internal player (NFS not being supported with wrapper) and may help with streams going to internal player too.
Adds:
<rule filename="pvr.*.pvr" player="DVDPlayer"/>
<rule protocols="nfs" player="DVDPlayer" />
Replace /sdcard/data/org.xbmc.kodi/files/.kodi/userdata/playercorefactory.xml with the attached version.
[attachment deleted by admin]
-
Two questions:
1.)
How would i set the wrapper to only play files with a certain audio format?
So far Dolby TrueHD seems to be only format i have which KODI cannot handle without the wrapper.
2.)
How would i set the wrapper to also play streaming video, like the KODI YouTube addon?
(it sometimes has issues with stuttering video/freezing video at the end of playback)
-
From pcristi, this version adds lines to route all NFS video to internal player (NFS not being supported with wrapper) and may help with streams going to internal player too.
Adds:
<rule filename="pvr.*.pvr" player="DVDPlayer"/>
<rule protocols="nfs" player="DVDPlayer" />
Replace /sdcard/data/org.xbmc.kodi/files/.kodi/userdata/playercorefactory.xml with the attached version.
Hello futeko,
Nice way but the attached file playercorefactory.xml is empty!!!
-
Two questions:
1.)
How would i set the wrapper to only play files with a certain audio format?
So far Dolby TrueHD seems to be only format i have which KODI cannot handle without the wrapper.
2.)
How would i set the wrapper to also play streaming video, like the KODI YouTube addon?
(it sometimes has issues with stuttering video/freezing video at the end of playback)
1. It would require a rule like <rule video="true" audiocodec="HD" player="Wrapper" />. The 'truehd' part is a regex search on the codec, so if the file reports codec as 'truehd' it will pick it up. you would probably also want 'true-hd' and other terms to be sure to catch all files.
2. The wrapper won't play streams. I just tested it with <rule internetstream="true" player="Wrapper" /> <rule remote="true" player="Wrapper" />. Even if it did then you probably wouldn't want this behaviour because it would apply to all Kodi add-ons and many need Kodi default player to work correctly.
-
The default HiMedia playercorefactory contains a lot of useless code. The attached version is much simpler and should achieve the same aim.
I've also annotated it a little so it's clearer what's going on.
This playercorefactory should play all HD video via wrapper and all streams using Kodi player.
It's not perfect, but is a better base than the HiMedia version if you want to improve it or add your own specific requirements.
[attachment deleted by admin]
-
aside from kodi , just wondering how can i replace the system-based playercorefactory (wrapper) with the attached file. just wanna use it with himedia video player... thanks in advance
-
aside from kodi , just wondering how can i replace the system-based playercorefactory (wrapper) with the attached file. just wanna use it with himedia video player... thanks in advance
I don't fully understand your question. The playercorefactory file is only for Kodi. It controls how himediaplayer is called from within Kodi.
-
apologies bro , my bad.... when i freshly flashed q10 pro with the official 1.0.3 , there was no stutter , but lately and for some weird reason , i started experiencing the stutter from time to time on 1080p mkv files) so i was just wondering if i can do something with the himedia video player to bring it back to the way it was... clearing the cash , setting back the PQ settings to defaults and reinstalling the app itself didn't help out...
by the way ; there's no stutter when using kodi's default player (w/o wrapper)..... thanks
-
Not sure why you would now be getting stutter where before you weren't. Could be network related if you've reset app settings and it's made no difference?
There will be a new firmware next week. I can't guarantee it will fix everything, but I advise waiting and seeing if it brings an improvement.
-
Not sure why you would now be getting stutter where before you weren't. Could be network related if you've reset app settings and it's made no difference?
There will be a new firmware next week. I can't guarantee it will fix everything, but I advise waiting and seeing if it brings an improvement.
thanks bro....
i've put 3 different android boxes side by side and played some 1080p mkv files , (beelink R89 "rk3288" , minix U1 "amlogic s905" and the Q10 pro... gosh , i couldn't just believe that i was using the former two... with all do respect to those brands but nothing beats the Q10 pro. i mean the video playback quality is just superb
-
The default HiMedia playercorefactory contains a lot of useless code. The attached version is much simpler and should achieve the same aim.
I've also annotated it a little so it's clearer what's going on.
This playercorefactory should play all HD video via wrapper and all streams using Kodi player.
It's not perfect, but is a better base than the HiMedia version if you want to improve it or add your own specific requirements.
Thanks!
It is OK for IPTV now using Kodi's internal DVD player.
-
Two questions:
1.)
How would i set the wrapper to only play files with a certain audio format?
So far Dolby TrueHD seems to be only format i have which KODI cannot handle without the wrapper.
2.)
How would i set the wrapper to also play streaming video, like the KODI YouTube addon?
(it sometimes has issues with stuttering video/freezing video at the end of playback)
1. It would require a rule like <rule video="true" audiocodec="HD" player="Wrapper" />. The 'truehd' part is a regex search on the codec, so if the file reports codec as 'truehd' it will pick it up. you would probably also want 'true-hd' and other terms to be sure to catch all files.
2. The wrapper won't play streams. I just tested it with <rule internetstream="true" player="Wrapper" /> <rule remote="true" player="Wrapper" />. Even if it did then you probably wouldn't want this behaviour because it would apply to all Kodi add-ons and many need Kodi default player to work correctly.
I just saw that answer, thank you.
I made a modified version of the file specific for my system. :)
-
so i just uninstll the old playercorefactory wrapper and install this from file manager and thats it nothing else to do
-
so i just uninstll the old playercorefactory wrapper and install this from file manager and thats it nothing else to do
What are you trying to achieve?
The modified playercorefactory files in this thread aren't necessarily better than the pre-installed HiMedia version (except that they clean up the code). This thread is just about playercorefactory and the possibilities it opens up.
Unless you know what you want (i.e. all 4K to wrapper and the rest to DVDPlayer) then I recommend not touching the pre-installed playercorefactory.
-
ok i understand now
-
Any solution for subtitles less transparency in wrapper?
-
Any solution for subtitles less transparency in wrapper?
Not via playercorefactory.
Playercorefactory just controls how external players are called from Kodi.
What do you mean by subtitles less transparency in wrapper? Can you point to a thread (or post about in either buglist thread or new thread) detailing the problem?
-
I've been trying for hours yesterday night to play anything with the Himedia wrapper but nothing works. I'm using a Qnap NAS and NFS to stream. When I use the internal dvdplayer everything works fine. Am i'm missing out on something by not using the Himedia wrapper?
-
Wrapper is not compatible with NFS shares.
There is a way around this here: http://www.futeko.com/newforum/index.php?topic=813.0
By not using wrapper you are missing out on 7.1 audio support, HiMedia Imprex settings from menu button (although if you play something with MediaCenter app, change settings, then return to Kodi you'll find settings saved for Kodi too), and some performance (Himediaplayer/wrapper is better at high bitrates).
-
Wrapper is not compatible with NFS shares.
There is a way around this here: http://www.futeko.com/newforum/index.php?topic=813.0
By not using wrapper you are missing out on 7.1 audio support, HiMedia Imprex settings from menu button (although if you play something with MediaCenter app, change settings, then return to Kodi you'll find settings saved for Kodi too), and some performance (Himediaplayer/wrapper is better at high bitrates).
Just figured out by doing a bit of reading here that I have to use SMB. Are they going to fix this issue in the future? Thanks for the quick answer though.
-
NFS support for wrapper is not going to be added in the short term.
The workaround I link to in the previous post is fairly simple to implement, only needs doing once, and gives good NFS Kodi+wrapper support.
-
New thread for Android 7 / Kodi 17: http://www.futeko.com/newforum/index.php?topic=2145.0