Win HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player
#50
(2014-11-23, 08:07)Warner306 Wrote: 2. LIST OF SOFTWARE REQUIRED FOR PLAYBACK WITH MPC-HC & MADVR

The complexity of MPC-HC set-up can be intimidating for novice users. However, correct configuration is nothing more than following a series of set-up screens with checkboxes. Realistically, this can be completed in an hour or two. If you are at all familiar home theater set-up, these settings will be less than intimidating.

All required software is listed below with download links. Note that some software is optional and not necessary for proper audio/video playback. The bonus: Regardless of what you choose, all software is free and widely supported by its respective communities!

Required Software:
Supported Guides

The following configuration guides are recommended to assist with post-installation set-up:

Advanced MPC-HC Setup Guide

The inspiration for this guide came from the original AVS Forum post from 2011. Most technical set-up from that post has been incorporated in this guide along with supplemental information for each program. It is not required reading, but the Advanced Setup Guide is still recommended for those interested in MPC-HC and its supporting software.

http://www.avsforum.com/forum/26-home-th...guide.html

MadVR Expert Guide

As a companion to JRiver Media Center, the Expert Guide is a professional guide that deals exclusively with using madVR as a video renderer. Regardless of video player used, this step-by-step tutorial should be used to configure madVR after reading the introduction to Section 4. Screen-by-screen instructions along with technical explanations for each option make this the best madVR set-up guide on the Internet.

http://wiki.jriver.com/index.php/MadVR_Expert_Guide

playercorefactory.xml

Only one software adjustment in Kodi is required to launch an external player. This involves the creation of a playercorefactory file. Instructions inside this file control the behavior of both external and internal players. Basic syntax for launching MPC-HC is as follows:

<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>
</player>
</players>
</playercorefactory>

To create this file, copy and paste the text above into Notepad or Notepad++ and save the document as “playercorefactory.xml”. The resulting .xml must be stored in the userdata folder located at:

C:\Users\USERNAME\AppData\Roaming\Kodi\userdata

playercorefactory - Suggested Formatting

While the basic version of playercorefactory.xml will do the job of launching and closing MPC-HC, two additions (highlighted in bold below) can make the player behavior friendlier for typical usage:

<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|mp4|m4v|mov|m2v|m2ts|avi|divx|ts|mpeg|mpg|ogm|iso|wmv|flv" player="MPC-HC">
<rule name="streams" protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms|rtp|pvr" player="DVDPlayer"/>
</rule>
</rules>

</playercorefactory>

<playcountminimumtime> This sets the amount of time (in seconds) a video must be played before its status is changed to “watched” in a user’s library. In the example above, setting the value to 1140 seconds means a video must be played at least 19 minutes before its watched status is changed. Such a number is a good middle ground for handling the runtime of both TV Shows and Movies. Unfortunately, playcountminimumtime is a universal value for all videos.

Tip: Users of MPC-HC should program a remote key to toggle watched status (W) in Kodi to address the need to change the watched status of library items as videos are stopped and resumed.

<rules action="prepend">
<rule filetypes="mkv|mp4|m4v|mov|m2v|m2ts|avi|divx|ts|mpeg|mpg|ogm|iso|wmv|flv" player="MPC-HC">
<rule name="streams" protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms|rtp|pvr" player="DVDPlayer"/>
</rule>
</rules>


The final code snippet defines file compatibility with the new player. MPC-HC can be designated as the default player for all videos (video="true"). However, this would conflict with the proper playback of video add-ons containing Internet streams. By default, Internet streams of any kind are not compatible with use of MPC-HC as an external player and should be left to DVDPlayer.

Rules Section – Alternative

<rules action="prepend">
<rule video="true" player="MPC-HC">
<rule internetstream="true" player="DVDPlayer" />
</rule>
</rules>


Setting video to "true" and defining MPC-HC as the default player and setting DVDPlayer as the player for Internet streams is a an alternate way of dividing content between the two players. This eliminates the need to define every file format that is compatible with MPC-HC. Although, if this method is used, some stubborn streaming content will erroneously open with MPC. That makes format #1 the preferred choice.

Launcher4Kodi Users: You must specify all external players in the program and set each to "Focus External Player" in the "External Players" tab to avoid losing mouse focus during playback.


Can we just make this an addon much easyer didn't some think of it lol not all are computer WIZARDS AND Computer geek's lol
Reply


Messages In This Thread
RE: HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player - by SHIELD9 - 2015-11-12, 04:24


Logout Mark Read Team Forum Stats Members Help
HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player7
This forum uses Lukasz Tkacz MyBB addons.