use MPC-HC as player fro 720 and 1080 - not working
#1
hey there
i have windows xp installed on my Giada A50 HTPC.
i have some problems see 1080p and 720p so i used the MPC-HC and i see the mkf files great.
now i want to use this player in xbmc so i found some manual and i do everything but i still don't know if it's working - i still have problems with this kind of files.
i have the original playercorefactory.xml file in C:\Program Files\XBMC\system
here it is:

Code:
<playercorefactory>
  <players>
    <!-- These are compiled-in as re-ordering them would break scripts
    The following aliases may also be used:
      audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
    <player name="DVDPlayer" audio="true" video="true" />
    <player name="DVDPlayer" /> placeholder for MPlayer
    <player name="PAPlayer" audio="true" />
    -->
  </players>

  <rules name="system rules">
    <rule name="rtv" protocols="rtv" player="DVDPlayer" />
    <rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />

    <!-- dvdplayer can play standard rtsp streams -->
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />

    <!-- Internet streams -->
    <rule name="streams" internetstream="true">
      <rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>

    <!-- DVDs -->
    <rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
    <rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
    <rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />

    <!-- Only dvdplayer can handle these normally -->
    <rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />

    <!-- Pass these to dvdplayer as we do not know if they are audio or video -->
    <rule name="nsv" filetypes="nsv" player="DVDPlayer" />
  </rules>
</playercorefactory>

i created new playercorefactory.xml file and placed it in C:\Program Files\XBMC\userdata :

Code:
<playercorefactory>
<players>
   <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filetypes="mkv" filename=".*1080p.*" player="MPC-HC"/>
</rules>
</playercorefactory>

is there somthing i'm doing worng?

thanks
Reply
#2
OK i found my first mistake i placed the file in the worng folder.
so i moved the file to :

C:\Documents and Settings\XBMC\Application Data\XBMC\userdata

but know when i press to play 1080p file nothing happens
Reply
#3
My playercorefactory.xml is in:

C:\Users\<My user name>\AppData\Roaming\XBMC\userdata
Reply
#4
I think the 3 things we've determined about playercore files is that:

1. People put them in the wrong folder.
2. People think they're xml files, but they actually sometimes have filename.xml.txt file. That won't work.
3. People have the wrong path to MPC HC. Here's what I do with paths. Find the shortcut to MPC. Right click it and copy Target. Paste it as is between the filename tags and remove the quotes.
Reply
#5
Yep, as clubwerks said, your path is wrong.

you also might want to try this rule instead:

Code:
<rules action="prepend">
    <rule filetypes="mkv" videoresolution="1080" player="MPC-HC"/>
   </rules>

Then you don't have to include 1080 in name all your names.
Reply
#6
foghat Wrote:Yep, as clubwerks said, your path is wrong.

you also might want to try this rule instead:

Code:
<rules action="prepend">
    <rule filetypes="mkv" videoresolution="1080" player="MPC-HC"/>
   </rules>

Then you don't have to include 1080 in name all your names.

I have a question that I've never asked, that I thought maybe you might know. Or somebody. Whenever I see examples, I always see the rules written like this:

...... player="MPC-HC" />

With a space between the quote and slash. Is there any reason for that? I know it SHOULDN'T matter.
Reply
#7
clubwerks Wrote:I have a question that I've never asked, that I thought maybe you might know. Or somebody. Whenever I see examples, I always see the rules written like this:

...... player="MPC-HC" />

With a space between the quote and slash. Is there any reason for that? I know it SHOULDN'T matter.

It doesn't matter. Will work either way. Not sure why the space is there. Improved legibility maybe.
Reply
#8
foghat Wrote:It doesn't matter. Will work either way. Not sure why the space is there. Improved legibility maybe.

Ok, good. One of those nagging questions that has been bugging me for a year. Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
use MPC-HC as player fro 720 and 1080 - not working0