MPC-HC External Player DXVA playback
#1
Hi folks

Anyone who has been following the DSPlayer thread may have noticed that I extoled the virtues of external playback via mpc-hc. One or two there asked for details of how I accomplished it and here it is. This config will give full dxva playback, subtitles without breaking dxva, chapter support and FLAC with WASAPI support and bitstreaming of DD/DTS, though if you follow the link at the end of this post the author claims that this will also playback HD Audio codecs - can't comment as I don't have the relevant hardware to test.

I have been tinkering for sometime with both native and DSPlayer dxva implementations. However it got to the stage where I was tinkering/troubleshooting more than watching. Thinking about it and pondering the problem (under severe pressure from SWMBO) I decided to look at using an external player for playback. Some searching later I came across a thread by another member of the community (Background) who gave me the inspiration and xmlcoding to accomplish external player playback - thanks.

System: Vista x86, Phenom 9650 Quad Core, ATI HD4670, 2 GB-DDR, Catalyst 10.2 drivers,

I have no experience of XP or Win7 applications, therefore cannot comment on their suitability to work with the following.

Requirements
xbmc r28256 OR LATER (latest from nightly builds, though I haven't tested it, the instructions should work with earlier builds)
mpc-hc

Note - If using x64/xp/Win7 builds change references to file names accordingly.

Create the following file (use notepad and save to .xml formats) and place in the folder as indicated below.

filename is the location of your mpc-hc exe file.

C:\Users\Your Username\AppData\Roaming\XBMC\userdata\

<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="m2ts|ts|mkv" player="MPC-HC" />
</rules>
</playercorefactory>

Using an mce remote couldn't be simpler, mpc-hc is by and large set up to carry out the basic playback functions. The only thing I found that I had to add was a command to exit after stop and return to xbmc, just as if we were using the default DVDplayer.

Open up MPC and go to View -> Options. Under Player go to Keys. Here you will see a list of all the commands for MPC and what keys control. If you scroll to the right you will see the App Command column which shows if any Apps have been assigned to the respective command.

Right now we just want to focus on the basic commands which would be Play, Pause, Stop, Exit, Next (skip chapter forward) and Previous (skip chapter previous). By default you will see that MPC already has App Commands assigned to most of these commands, the only one that is missing is Exit. When I hit the stop button I want MPC to exit and go back into xbmc, so I assign the App Command MEDIA_STOP. (thanks to DBone at mediasmartserver.net for the info)

One other feature you might want enabled with MPC is the ability to resume where you left off. While still in the Options screen go to Miscellaneous and check “Remember DVD position” and “Remember File Position” (thanks for the tip thejulianath20).

However with this configuration you don't get asked whether you want to resume it just does automatically.

I am no expert I will try and help where I can, but these instructions have basically been put together from articles and postings found - not written - by me (I'm just lucky they work for me). Sorry for such a long post, just trying to cover most of the bases.

Here's a nice little guide that I found on how to set-up ffdshow and ReClock/WASAPI and madFLAC if so desired http://forum.doom9.org/showthread.php?t=152520 - ignore the instruction about Vista users installing and registering the MPC-Audio Renderer - it isn't required.

Enjoy. Wink

EDIT

Knowm limitations:-
  • If using reclock and 2 or more audio tracks are available, warning message appears and xbmc loses focus and fullscreen command (fortunately I only have a few files like that, which I'm now about to remux to 1 audio track)
  • Don't know how to switch subtitles from remote (only mouse action) - again not something I require as I remux all my discs to only the tracks I require and with subtitles it is only non-english speaking parts I require.
Reply


Messages In This Thread
MPC-HC External Player DXVA playback - by steelman1991 - 2010-03-25, 00:55
[No subject] - by christoofar - 2010-03-25, 02:26
[No subject] - by Avigrace - 2010-03-25, 02:39
[No subject] - by TheClaus - 2010-03-25, 04:41
[No subject] - by steelman1991 - 2010-03-25, 11:07
[No subject] - by christoofar - 2010-03-25, 15:30
[No subject] - by steelman1991 - 2010-03-25, 15:38
[No subject] - by christoofar - 2010-03-25, 15:49
[No subject] - by kawasabi - 2010-03-25, 18:50
[No subject] - by moviebuff - 2010-03-25, 20:34
[No subject] - by kawasabi - 2010-03-26, 07:02
[No subject] - by steelman1991 - 2010-03-26, 12:18
[No subject] - by kawasabi - 2010-03-26, 14:26
remote solution - by drascom - 2010-03-26, 14:40
[No subject] - by mudstuff - 2010-03-31, 09:05
[No subject] - by steelman1991 - 2010-03-31, 10:04
[No subject] - by mudstuff - 2010-04-04, 21:01
[No subject] - by steelman1991 - 2010-04-04, 22:02
[No subject] - by mudstuff - 2010-04-04, 23:47
[No subject] - by zilexa - 2010-04-05, 00:29
[No subject] - by steelman1991 - 2010-04-05, 00:41
[No subject] - by seaweed - 2010-04-05, 04:48
[No subject] - by johnbhoy - 2010-04-05, 14:45
Heellppp - by speedklz - 2010-04-06, 03:28
[No subject] - by speedklz - 2010-04-06, 04:00
[No subject] - by steelman1991 - 2010-04-06, 08:35
[No subject] - by speedklz - 2010-04-06, 18:58
[No subject] - by steelman1991 - 2010-04-06, 19:19
[No subject] - by ten8Epee - 2010-04-25, 06:45
[No subject] - by steelman1991 - 2010-04-25, 11:09
[No subject] - by THX-UltraII - 2010-04-26, 15:49
[No subject] - by steelman1991 - 2010-04-26, 15:53
[No subject] - by Brad P - 2010-04-30, 15:21
[No subject] - by steelman1991 - 2010-04-30, 17:48
[No subject] - by Brad P - 2010-04-30, 18:21
[No subject] - by sarzec - 2010-05-04, 13:07
[No subject] - by steelman1991 - 2010-05-04, 13:13
[No subject] - by sarzec - 2010-05-04, 14:09
[No subject] - by maxime - 2010-05-20, 17:47
[No subject] - by SlaveUnit - 2010-05-20, 18:24
[No subject] - by steelman1991 - 2010-05-20, 20:15
[No subject] - by steelman1991 - 2010-05-20, 22:53
[No subject] - by SLIMaxPower - 2010-10-19, 03:29
[No subject] - by steelman1991 - 2010-10-19, 09:13
[No subject] - by JDzz - 2010-12-16, 03:29
[No subject] - by JDzz - 2010-12-16, 04:14
[No subject] - by RobS - 2010-12-16, 21:49
[No subject] - by BigCity - 2011-01-10, 00:51
[No subject] - by jhsrennie - 2011-01-10, 11:01
[No subject] - by BigCity - 2011-01-11, 01:03
[No subject] - by steelman1991 - 2011-01-11, 01:32
[No subject] - by BigCity - 2011-01-11, 01:58
[No subject] - by BigCity - 2011-01-11, 02:11
[No subject] - by steelman1991 - 2011-01-11, 02:13
[No subject] - by BigCity - 2011-01-11, 02:16
[No subject] - by BigCity - 2011-01-11, 02:25
[No subject] - by steelman1991 - 2011-01-11, 02:26
[No subject] - by BigCity - 2011-01-11, 02:32
[No subject] - by steelman1991 - 2011-01-11, 03:04
[No subject] - by BigCity - 2011-01-11, 03:19
[No subject] - by steelman1991 - 2011-01-11, 13:30
[No subject] - by BigCity - 2011-01-11, 13:57
[No subject] - by steelman1991 - 2011-01-11, 15:51
Poor playback - by crystalgipsy - 2011-03-03, 00:02
[No subject] - by seaweed - 2011-03-04, 19:02
Logout Mark Read Team Forum Stats Members Help
MPC-HC External Player DXVA playback1