Win HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player
Hi all,
I have been trying to make Kodi+MPC-HC/MadVR work for a while without success, hence this post.
- I can easily open and render files (mkv, bdmv, etc.) without any issue by opening the files directly from MPC-HC.
- When I do it through Kodi, it opens it through the internal Kodi player (which works). It does that apparently because it detects there is an issue opening the file through MPC-HC.
- Within Kodi, when I do open with MPC-HC ("open with") it opens MPC-HC but then I have a "cannot render file" message in MPC-HC.

Again everything works well when opening a file directly from MPC-HC or when double clicking on the file. Works well also with the internal Kodi player.

Below is my playercorefactory.xml:

<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule
filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|vob|bdmv|iso"
player="MPC-HC">
<rule protocols="http|https" player="MPC-HC"/>
<rule protocols="daap|rtv|rtsp|rtmp|rtmpe|rtsp|mms|rtp|pvr"
player="MPC-HC"/>
</rule>
</rules>
</playercorefactory>


and an extract of kodi.log:

NOTICE: CExternalPlayer::OpenFile:nfs://192.168.1.28/volume1/video/test.mkv
NOTICE: CExternalPlayer:Tonguerocess: Player : C:\Program Files (x86)\MPC-HC\mpc-hc.exe
NOTICE: CExternalPlayer:Tonguerocess: File : nfs://192.168.1.28/volume1/video/test.mkv
NOTICE: CExternalPlayer:Tonguerocess: Content:
NOTICE: CExternalPlayer:Tonguerocess: Args : "{1}" /fullscreen /close
NOTICE: CExternalPlayer:Tonguerocess: Start
NOTICE: CExternalPlayer::ExecuteAppW32: C:\Program Files (x86)\MPC-HC\mpc-hc.exe "C:\Program Files (x86)\MPC-HC\mpc-hc.exe"
"nfs://192.168.1.28/volume1/video/test.mkv" /fullscreen /close
NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0

Any clue of what the issue please?
Many thanks for reading this.
Reply


Messages In This Thread
Issue "Cannot render file" with MPC-HC - by 647830 - 2017-08-27, 19:17
Logout Mark Read Team Forum Stats Members Help
HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player7