MPC HC (known as Media Player Classic – Home Cinema) is a free and versatile audio and video player for Windows. One of the great features of MPC HC is that the audio and video codecs are built-in. What this means is that you don’t have to mess around with dreaded codecs or filters on your PC to play back video, simply install MPC HC and you are ready to play virtually any video. It also has native support for DXVA (DirectX Video Acceleration) which is especially critical for low powered CPUs of PCs. I have always used MPC HC to test out my videos before I copy over to my server to make sure everything looks ok. Even though MPC HC sounds like the perfect player I have never really used for playback of my movies on my HTPCs. The reason is because it is not a media center platform like Windows Media Center or XBMC. If you want to play a movie with MPC HC you need to navigate to the movie from Windows Explorer which would bypass WMC or XBMC completely and really take away from the user experience. XBMC, and add ins for WMC such as MyMovies and Media Browser, allow you to launch MPC HC for playback when you select a movie, but it just never felt seamless. Since I operate my HTPCs solely with a universal remote, I felt like I always lost remote functionality when MPC HC was launched, which was very inconvenient and not good for the ever critical WAF. Up to now I have just stuck with using the default WMP player that W7MC uses (which requires additional codecs/hacks to be done for playback of some of my material, I will discuss this further in an upcoming post).
If you read my post from Monday, you saw I mentioned setting up bitstreaming for my HTPC. This has been somewhat buggy with WMP/W7MC, so to get bitstreaming to work properly I needed to use MPC (how I got bitstreaming to work will be in an upcoming post as well, so stay tuned!). However this led to a dilemma. Either I use MPC so I can get the full glory of bitstreaming HD Audio on my HTPC but get a reduced user experience and WAF, or continue to use W7MC/WMP but lose out on HD Audio until all the bugs get worked out. Well, I have found out I can have the best of both worlds! I had tried launching MPC from MediaBrowser but my remote wouldn’t control MPC. It turns out the reason for this is because even though when MPC launches it appears that it is in “front” of WMC, in actuality WMC is still in front, so all my remote signals were going straight to WMC and not MPC. I had posted a question on the Media Browser forum about if anyone had integrated MPC into WMC/Media Browser, and user pheare came to my rescue (a big thanks to pheare who is responsible for much of this guide). Since I now have MPC working seamlessly with WMC/Media Browser I thought I would walk through how to set it up.
Files To Download:
- MPC HC – You can get the official release here. However, I prefer to get the latest build, which can be found here.
- ExternalLauncher Minimizer MC as created by tyborg (file is at the very bottom of the post)
- DirectX End-User Runtime Web Installer – necessary to run the latest MPC HC
- Optional – EventGhost, AutoHotKey, or LM Remote KeyMap
Setup:
1. Download and install MPC HC
NOTE – IF YOU ARE USING MEDIA BROWSER THUNDER BLADE OR GREATER YOU CAN SKIP STEPS 2-3 AND INSTEAD JUMP TO STEP 4A2
2. Download ExternalLauncher Minimizer MC and extract the ExternalLauncher.exe file into your MPC folder (mine is located at c:/Program Files/MPC HomeCinema)
3 .Create a bat file (you can simply use the standard Windows Notepad, my tool of choice is Notepad ++) . Copy and paste the following line into your notepad (you may need to adjust the address depending on where your MPC folder is), and save in your MPC folder (I named the file ExternalLauncher.bat). TIP – some people have experienced issues when copying the lines below directly into Notepad. Someone the “quotes” get handled incorrectly when copied over. If MPC will not launch properly from WMC/Media Browser try deleting the quotes from the bat file and typing in manually.
@echo off
“C:\Program Files\MPC HomeCinema\mpc-hc.exe” %1 /fullscreen /play /close
ExitIF YOU ARE DOING ON AN x64 MACHINE, THIS IS WHAT THE BAT FILE SHOULD LOOK LIKE:
@echo off
“C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe” %1 /fullscreen /play /close
ExitIF YOU DECIDE TO USE THE x32 VERSION OF MPC ON AN x64 MACHINE, THIS IS WHAT THE BAT FILE SHOULD LOOK LIKE:
@echo off
“C:\Program Files (x86)\MPC HomeCinema\mpc-hc.exe” %1 /fullscreen /play /close
ExitHere is a screenshot of what my MPC HomeCinema folder looks like:
——————————————-For Media Browser——————————————-
4a1. Go into your Media Browser Configuration Tool, select Advanced, and go to the External Players tab. Click the Add button and select the media type you want to assign a 3rd party player to. Now click the Select Player button and navigation to the ExternalLauncher.exe file. That is it, Media Browser will now launch MPC for any media type you choose (see my screenshot below, I used mkv as my media type)
4A2.Go into your Media Browser Configuration Tool, select Advanced, and go to the External Players tab. Click the Add button and select the media type you want to assign a 3rd party player to. Now click the Select Player button and navigation to MPC-HC.exe file. Now to get MPC-HC to launch in fullscreen click on the “Change Parameters” button and enter the following parameters:
“{0}” /fullscreen /play /close
NOTE – FOR SOME REASON COPYING AND PASTING FROM THIS BLOG, THE QUOTES GET MESSED UP, SO PLEASE MAKE SURE YOU TYPE THE QUOTES IN MANUALLY
That is it, Media Browser will now launch MPC for any media type you choose (see my screenshot below, I used mkv as my media type)
———————————————-For MyMovies———————————————-
4b. Go into Collection Management. Under Tools -> Options go to External Players. If you only want specific files to be used by MPC HC click the Add button under “Specific File Types (Advanced):”, type in the file extension, and then in the dropdown choose “Media Player Classic Homecinema”. The other choice would be to just change “Other Files (Default):” to Media Player Classic. Please keep in mind that to use MPC as an external player with MyMovies you are required to have 1,250 points (USD 50.00 or via contributing to the web service). If you unsure about this feature, you can request a free 21 day trial to gain access to all MyMovies features.

5. Now before we test out if MPC launches properly from Media Browser, we want to make sure that our remote (I use a Harmony remote set up as an MCE remote) can control MPC just as if we were using the default WMC player. 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 Media Browser, so I assign the App Command MEDIA_STOP. For me this covers everything I need, but feel free to play around with the different commands.

6. One other feature I want enabled with MPC is I want the ability to resume where I left off if I exit out of a video. While still in the Options screen go to Miscellaneous and check “Remember DVD position” and “Remember File Position” (thanks for the tip thejulianath20).
7. Now this part is completely optional. In the Files To Download section I mentioned programs like EventGhost. What these programs will allow you to do is further customize how you use your remote to control your HTPC. For instance, with an MCE remote the “Videos” button will automatically launch the default videos library in WMC. With these programs you can overwrite this and have the Videos button pull up some other command to your liking. Right now I am happy with the basic functions I have working with MPC so I have not spent much time with these programs. An excellent guide on how to set up a program like EventGhost can be found here.
Tips/Tricks:
- When you launch MPC from WMC you will briefly see the desktop wallpaper as WMC minimizes and MPC launches. To further create the seamless integration pheare has make his desktop wallpaper black and hidden all desktop icons, so you never even realize you are switching from one program to another.
Summary:
So there you have it. In a couple of steps you can set up MPC to be your default player for videos with WMC + Media Browser. You can also achieve this with MyMovies, and I will update this guide for this once I have a few minutes to set up and document. As much as I love to tweak and mess around with settings on my HTPC one of the things I absolutely hate dealing with are codecs. Using MPC is an easy solution around this and greatly reduces the chance that you kill your system with codec issues. Stay tuned as in the coming days I hope to write up about how I set up bitstreaming (guide now posted here) as well as a closer look at mkvs, codecs, and anything else that comes to mind.
Resources:







{ 224 comments… read them below or add one }
← Previous Comments
The website is fragmented. What you have to do is post the topic in Community Tracker (http://community.mediabrowser.tv/).
As far s registering Matroska, download the standalone filters here, all the way at the bottom of the screen. (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1856.html). Locate MatroskaSplitter.ax and copy it somewhere on your harddrive. Take a look at Step # 8 which outlines how to register (http://www.mediasmartserver.net/2010/02/24/guide-setting-up-bitstreaming-with-your-windows-7-htpc-part-ii/). Let me know if you need help
As far as CCC I am actually still using the 8.69RC, so I haven’t messed around with the latest 10.4. Did you clean out all old drivers/EDIDs?
I haven’t attempted the clean out yet. I did however purchase a copy of driver cleaner and plan on it this weekend.
I have DTS-HD MA working great (thanks to your guide), but TrueHD plays multi-channel. I did attempt one failed EDID override weeks ago. I completely lost my display and finally after a few restarts I had to RDP from my desktop and use my system image to get me back. So, I’ve been apprehensive about the EDID thing.
Thanks for the link and I did send this to the MB tracker found here:
http://community.mediabrowser.tv/topics/2368
I’ll keep you updated.
Thanks
Just an update to report.
Local Trailers within media browser are NOT played by your external media player. Therefore, you have to install the proper codecs for WMC’s native player (WMP12) to play your local trailers.
The answer to my issue:(Known bug)
http://community.mediabrowser.tv/permalinks/1576/video-error-with-trailers-in-mediabrowser-2-2-2
Thanks for your help Damian
Stelvio,
Thanks for the update. That stinks. I dont know if the fix will be in for the next MB update on the 15th.
For now just register MatroskaSplitter.ax and your mkvs will be fine. Any m2ts trailers you have I would move into mkvs as well so you don’t have to hack up Windows
I just bought my first HTPC and your site is an indispensable asset. I’m also using MB with MPC-HC as an External player. Works great, for mkv, ts. Since I need subtitles I thought I’d use it for .avi’s as well (quite a few which are in two parts). This is where the problem lies (http://www.mediabrowser.tv/forum/viewtopic.php?f=11&t=3939).
Since I can’t just join my entire collection and I also need subtitles could you please describe how I’d use WMC itself to play .avi’s (with subs). I came across this: http://www.hack7mc.com/2009/07/loading-subtitles-with-directvobsub-vsfilter.html, but am not sure what exactly it breaks (I want to keep the defaults as much as possible, that is one of the reason I went with MPC-HC).
Are there other ways? Any assistance would be greatly appreciated.
I decided to do a bit of a guide on how to get skipping working the same as Media Centre with Harmony Remotes:
Options > Keys
- Set any key relating to skipping forward or back to nothing
- Set App Command for Jump Backward Medium to MEDIA_PREVIOUSTRACK
- Set App Command for Jump Forward Large to MEDIA_NEXTTRACK
Note how one is set to medium jump and one is large.
Now go to Options > Tweaks and set the jump distances:
Medium = 5000ms
Large = 30000ms
hi! thanks for having this great tutorial!! im having problems playing mkv from the media browser on WMC. i keep on getting the “Failed to render file” error everytime i play a movie. i can play mkv movies using MPC alone but using media browser on WMC, i keep on getting that error.
hope to hear from you soon!
many thanks,
allan
@ Allan,
Just to confirm, you get the error when trying to play an mkv file from MediaBrowser using WMCs player or launching MPC?
Hi Damian,
yes, i get an error playing a MKV file using MPC on WMC’s Media Browser. MPC opens but it doesn’t play the MKV file.
thanks!
@ Allan,
Are you using the latest MPC HC (svn 1940 here – http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/)?
Everything working ok… but some issues: how i make to show in my screen the infos like control status / remain time etc? And finaly if you press (stop/exit) not closing normaly… before comes in MB flashing the screen!
ugh, i installed ffdshow and MPC following your directions on your other directions, but I am confused, I cannot open any of my recorded tv .wtv files that I already had recorded that work in WMP… is there something I am missing?
@ Sean,
Are you trying to use MPC HC for your wtv files? If so I don’t think it is supported and you should just use the internal WMC player for playback.
Very nice article–as a fan of MPC, this was very useful to help me set things up to bet good use out of the media remote I picked up cheap on Newegg. I do have one question, though–is there a way to set things up so that WMC starts in Media Browser without using shortcuts–specifically, I’m wanting it to start in MB when I hit the Big Green Button on the remote. Complete newbie with WMC, so feel free to point and laugh if it’s got a simple and stupid answer.
Or feel free to just point and laugh at my poor spell-checking skills. *get* good use, not bet–it’s not that kind of setup.
@ Vulpis,
No worries on the spelling
If you install the latest MediaBrowser (Cronos) during the installation there is an option to have Media Browser automatically launch on start up. As for the Green Button, although I have not tried yet editing the entry points may do the trick, see article linked below:
http://www.hack7mc.com/2009/05/media-center-command-line-switches.html
Right–problem is, this is my general use PC, not a dedicated media machine. the main reason I’m setting this up is so that if I’m feeling lazy, I can watch videos from across the room…so running MB or WMC on startup isn’t particularly an option. As for the article–that’s the same one I already looked at that tells how to set up shortcuts that will automatically jump to MB, not how to set it up so that all I have to do is hit the green button and it starts up WMC/MB and goes directly to my video listings. Ah well–the existing behavior isn’t too horrible–green button, browse down to the MB start entry, and then go from there. I was hoping to be able to cut out the intermediate step, though.
I believe there is a way to edit the “Green Button” to default to Media Browser instead of just WMC. I forget where I read about it but if I find the article I will post back here.
When I was messing around with Boxee I came across this post about using the Green Button to launch Boxee instead of WMC:
http://forums.boxee.tv/showthread.php?t=15458
Thanks. I kinda wish this remote had a driver that let you configure such things directly (not a MS remote, but the Diamond ‘All in Wonder Green Button Remote’…which means I have a Big Green Button, but not the red blue and yellow ones I’ve seen mentioned elsewhere). I *think* I remember seeing something called Intelliremote that lets you reprogram some things, but I’d like to try to work with the existing setup rather than having to install Yet Another Third Party Program.
How i make to show in my screen the infos like control status / remain time etc?
I wonder if someone know how to pull out the list of audio / subtitles in MPC instead of switching to the “next track / subtitle” with every click. If you have a movie with 10 subtitles in different languages and let’s say yours is the last one, it is a bit uncomfortable to click “next” couple of times…
@Stiwi Ummm….other than using Navigate->Audio Language or Navigate->Subtitle Language, you mean? Or is this something you’re trying to access from your remote?
Yes, other than method mentioned above, as I am accessing the subtitles from my remote.
← Previous Comments
{ 1 trackback }