United States
FAST DELIVERY ∙ EXPERT TECH SUPPORT
UK STOCK ∙ 2 YEAR WARRANTY
Zidoo UHD8000
8K Dolby Vision & HDR10+ Media Player with 2x 3.5" HDD bays , ESS audio DAC and dual HDMI.
  INCLUDES EXPRESS 2-4 DAY DELIVERY 

Author Topic: Replace HiMedia Player with MX Player completely  (Read 66749 times)

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #30 on: January 25, 2017, 09:00:37 PM »
Yes, I got problems to mount NFS to sdcard as well. I didn't find out the reason but I'm sure pcristi knows.

To get it persistent just insert the command (without adb shell) into an empty file and name it to install-recovery.sh.
After that push it to the device:

Code: [Select]
adb connect IP:5555
adb root
adb remount
adb push install-recovery.sh /system/bin/install-recovery.sh
adb shell chmod 0755 /system/bin/install-recovery.sh
adb shell reboot

You may need to add a sleep xx (for me its 20 sec) to the beginning of the install-recovery.sh script to make it wait for the system to initiate completely.

And that's it.
Welcome. :)
« Last Edit: January 25, 2017, 09:20:38 PM by Eriol »

Henry_NL

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #31 on: January 25, 2017, 09:21:06 PM »
Hi Eriol,
Forgot to mention but I was able to do a ls (dir) command from the first 2 mountpoints on my pc through the adb shell command which runs as root. Issue is related to a lack of permissions somewhere in both mountpoints because this did not worked directly on the q10pro which has no root permissions (unrooted device).
« Last Edit: January 25, 2017, 09:25:44 PM by Henry_NL »

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #32 on: January 25, 2017, 10:09:33 PM »
That's why I chmod 0777 every directory that I made or mount to on the device myself. :)

dungtv

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #33 on: February 02, 2017, 08:18:47 AM »
My device is Q5 pro, Android 7, Kodi 17 rc4, MX Player pro 1.8.15
When I press "back" button on the remote control to stop player I got problem like this:


How to fix it ??

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #34 on: February 02, 2017, 09:52:38 AM »
When Kodi calls an external player this info message pops up in the background. You see it only when the external player closes and you are back in Kodi again. Since Kodi can't detect when do you finish using the external player it waits for the user for confirmation.

I should add here that this not always happening, but I couldn't figure out what kind of sorcery do I need to perform to stop these info messages.

looun

  • Senior Member
  • ***
  • Posts: 550
    • View Profile
    • himedia Pro Blog
Re: Replace HiMedia Player with MX Player completly
« Reply #35 on: May 02, 2017, 10:49:55 AM »
« Last Edit: May 02, 2017, 11:03:07 AM by looun »

Henry_NL

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #36 on: May 02, 2017, 08:54:00 PM »

kaosnews

  • Full Member
  • **
  • Posts: 65
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #37 on: May 03, 2017, 09:01:03 AM »
When Kodi calls an external player this info message pops up in the background. You see it only when the external player closes and you are back in Kodi again. Since Kodi can't detect when do you finish using the external player it waits for the user for confirmation.

I should add here that this not always happening, but I couldn't figure out what kind of sorcery do I need to perform to stop these info messages.

I use FTMC (http://freaktab.com/forum/tv-player-support/general-tv-player-dicussions/xbmc-talk/575588-ftmc) and there they fixed that problem (also the reason I switched to this version)

Code: [Select]
[Extra] Disabled External Player confirmation dialog. Like this theirs no more need to press 'OK' every time it starts/stops the play of a video file! ( Thks mo123 for the tip ;) )
Himedia Q10 Pro | Nvidia Shield TV (2017) | Amazon Fire TV (first & second generation) | Amazon Fire TV stick (first generation)

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #38 on: May 03, 2017, 03:35:48 PM »
When Kodi calls an external player this info message pops up in the background. You see it only when the external player closes and you are back in Kodi again. Since Kodi can't detect when do you finish using the external player it waits for the user for confirmation.

I should add here that this not always happening, but I couldn't figure out what kind of sorcery do I need to perform to stop these info messages.

I use FTMC (http://freaktab.com/forum/tv-player-support/general-tv-player-dicussions/xbmc-talk/575588-ftmc) and there they fixed that problem (also the reason I switched to this version)

Code: [Select]
[Extra] Disabled External Player confirmation dialog. Like this theirs no more need to press 'OK' every time it starts/stops the play of a video file! ( Thks mo123 for the tip ;) )

Thanks, will check it out!

oxanna

  • Guest
Re: Replace HiMedia Player with MX Player completly
« Reply #39 on: May 07, 2017, 11:46:54 AM »
I'm not really like the fact that HiMedia player is getting worse and worse with every new fw so  I tried and managed to replace HiMedia Player with MX Player recently. What I got so far:

HD Audio passthrough working
10bit HDR working (thx Fa.Ch for testing)
Subtitles working
Smooth, shuttering free playback (with 23.976fps as well)
SMB playback with subtitles works via Total Commander (needs testing via Kodi)
Imprex configurable from MX Player with patch: Unofficial Remote Patch
Optimized playercorefactory.xml:
     Wrapper (HiMediaPlayer) and DVDPlayer (Kodi's player) still selectable in the "Play using..." menu
     DVDPlayer (Kodi's player) automatically plays DVDs, DVD files and ISOs


Pros:
Faster and more responsive seeking
Much better subtitle handling and styling (there are fading effects, etc)
Better and configurable interface

Cons:
Auto framerate switching not completely implemented (but still got smooth, shuttering free playback)
SMB/NFS playback via Kodi needs testing (I can't right now)


How to set up (Kodi 16.1):

1. Installed MX Player Free from store.
2. MX Player settings: Decoder -> Turn off all HW+ and SW video/audio option.
3. Edit \sdcard\Android\data\org.xbmc.kodi\files\.kodi\userdata\playercorefactory.xml as follows:
Code: [Select]
<playercorefactory>
  <players>
    <player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
      <filename>com.mxtech.videoplayer.ad</filename>
      <hidexbmc>true</hidexbmc>
      <playcountminimumtime>120</playcountminimumtime>
    </player>
    <player name="Wrapper" type="ExternalPlayer" audio="false" video="true">
      <filename>com.himedia.xbmcwrapper</filename>
      <hidexbmc>true</hidexbmc>
      <playcountminimumtime>120</playcountminimumtime>
    </player>
  </players>

  <rules action="prepend">
    <rule video="true" player="MXPlayerFree">
      <rule name="dvd" dvd="true" player="DVDPlayer" />
      <rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
      <rule name="dvdfile" dvdfile="true" player="DVDPlayer" />
      <rule filetypes="iso" name="iso" player="DVDPlayer" />
      <rule filetypes="bdmv" name="bdmv" player="DVDPlayer" />
      <rule filetypes="ifo" name="ifo" player="DVDPlayer" />
    </rule>
    <rule  protocols="hdhomerun|myth|cmyth|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="rtmp" protocols="rtmp" player="DVDPlayer" />
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />
    <rule name="streams" internetstream="true" player="DVDPlayer">
      <rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp"  player="DVDPlayer"/>
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>
  </rules>
</playercorefactory>

For MX Player Pro use the following:

Code: [Select]
<playercorefactory>
  <players>
    <player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
      <filename>com.mxtech.videoplayer.pro</filename>
      <hidexbmc>true</hidexbmc>
      <playcountminimumtime>120</playcountminimumtime>
    </player>
    <player name="Wrapper" type="ExternalPlayer" audio="false" video="true">
      <filename>com.himedia.xbmcwrapper</filename>
      <hidexbmc>true</hidexbmc>
      <playcountminimumtime>120</playcountminimumtime>
    </player>
  </players>

  <rules action="prepend">
    <rule video="true" player="MXPlayerPro">
      <rule name="dvd" dvd="true" player="DVDPlayer" />
      <rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
      <rule name="dvdfile" dvdfile="true" player="DVDPlayer" />
      <rule filetypes="iso" name="iso" player="DVDPlayer" />
      <rule filetypes="bdmv" name="bdmv" player="DVDPlayer" />
      <rule filetypes="ifo" name="ifo" player="DVDPlayer" />
    </rule>
    <rule  protocols="hdhomerun|myth|cmyth|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="rtmp" protocols="rtmp" player="DVDPlayer" />
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />
    <rule name="streams" internetstream="true" player="DVDPlayer">
      <rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp"  player="DVDPlayer"/>
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>
  </rules>
</playercorefactory>

For Kodi 17 you need to replace all DVDPlayer entries with VideoPlayer.

I use mountpoints for access my shares and Kodi is set up to access the library through these mountpoints. If you have problem accessing/playing back from your shares you may need to use mountpoints as well. Howto can be found here:
http://www.futeko.com/newforum/index.php?topic=813.0

MX Player shortcuts:
https://sites.google.com/site/mxvpen/features/keyboard-shortcuts

SMB playback with Kodi is under testing. I update this post when I'm have more info.
I'm not expert. But how do you change in kodi 16.1
The player with xplayer ???
Especially how do you enter to edit  (3. Edit \sdcard\Android\data\org.xbmc.kodi\files\.kodi\userdata\playercorefactory.xml as follows)

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #40 on: May 07, 2017, 05:57:38 PM »
I'm not expert. But how do you change in kodi 16.1
The player with xplayer ???
Especially how do you enter to edit  (3. Edit \sdcard\Android\data\org.xbmc.kodi\files\.kodi\userdata\playercorefactory.xml as follows)

Via samba server on the HiMedia box:
1. Stop Kodi (you can use the sweeper icon in the main screen)
2. Enabe SAMBA:  Settings -> More -> SAMBA Service (at Personal menu) -> SAMBA
3. Use your computer to browse the HiMedia box via IP address
4. Find and edit the file
5. Start Kodi

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #41 on: June 02, 2017, 03:30:24 PM »
It seems latest MX Player are able to play non standard aspect ration HDR videos properly (aka Lucy bug) in all version of the firmware.
Further testing is required.

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #42 on: June 04, 2017, 11:01:50 PM »
Some changes in playercorefactory.xml:
- Cleanup
- Wrapper (HiMediaPlayer) automatically plays 3D ISOs

Eriol

  • Senior Member
  • ***
  • Posts: 247
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #43 on: June 07, 2017, 10:54:23 PM »
In case of audio issues (this audio format ac3 is not supported) you can download this open source ffmpeg codec:
MX Player Custom Codec
With this codec you can enable HW+ settings as well.

Added this to the main post as well.

Deadrick

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Replace HiMedia Player with MX Player completly
« Reply #44 on: June 19, 2017, 09:54:08 AM »
Any lehman steps by steps to install n use mx player for video playing?
I kinda lost at the step 3 n beyond.
The coding need to use a pc to edit or enter in?

 

DELIVERY ∙ PAYMENT ∙ WARRANTY+RETURNS ∙ ABOUT ∙ PRIVACY ∙ FORUM ∙ CONTACT
© SDHDIGITAL LTD 2025