The ASRock CoreHT 252B scored full marks in our streamer test suite. However, this was not without extensive tinkering around with respect to codecs and splitters. One of the irksome issues with respect to Intel HD Graphics is that the drivers do not play well with the open source DXVA video decoders. Because of this, the native MPC Video Decoder and XBMC's DXVA2 acceleration are simply unusable on Intel GPU based systems.

In this section, I will outline the steps taken to get a working stable-XBMC-build based setup on a CoreHT 252B running Windows 7. The aim of this section is to get the following:

  • Retain XBMC UI for navigation and playback as much as possible
  • Play Blu-ray ISOs and discs through XBMC
  • Get hardware acceleration for all possible video codecs
  • Utilize bitstreaming capability for HD audio
  • Match display refresh rate to video frame rate

Achieving the above requires the following mix of open source and commercial software:

  1. ArcSoft Total Media Theater 5 with the checkactivate.dll hack (from Step 2 in this post).
  2. Virtual CloneDrive
  3. Latest stable build of MPC-HC
  4. Latest version of LAV Filters
  5. Latest stable version of XBMC

Since Intel's GPU drivers don't work properly with XBMC's native DXVA acceleration, we are forced to use MPC-HC as an external player. However, MPC-HC's default DXVA codecs also don't work. I have also found that the internal splitters of MPC-HC are not as bug-free as the LAV Splitter.

Setting up MPC-HC

  • Install LAV Splitter and accept all the default settings
  • Install LAV Audio Decoder and configure the codecs you want to bitstream
  • Install MPC-HC and import the registry settings available here, which will configure MPC-HC as follows (in order)
    • Prefer Microsoft DTV-DVD Decoder (for MPEG-2 and H.264 DXVA acceleration)
    • Prefer ArcSoft Video Decoder (for both progressive and interlaced VC-1 DXVA decode)
    • Prefer LAV Splitter
    • Prefer LAV Audio Decoder
    • The corresponding internal filters are obviously disabled
  • Note that the registry settings don't set the auto refresh rate feature. Fiddle around with the MPC-HC settings in a manner suitable for your setup.

After the above steps, you should be able to get any media file (H.264 / MPEG-2 / VC-1) to play back properly through MPC-HC.

Configuring Blu-ray Playback

Assuming that Virtual CloneDrive and ArcSoft TMT5 are installed in the default locations, you will just need to extract the batch files in the For_XBMC folder inside the archive here. The For_XBMC folder can be extracted to, say, C:\For_XBMC. The latest build of ArcSoft TMT5 already has auto refresh rate enabled.

The next step is to get XBMC to use these external players.

Using MPC-HC and ArcSoft TMT5 inside XBMC

XBMC's software decode works very well for Real Media, MPEG-4 and other streams for which GPU decode acceleration is not available. After installing XBMC, we need to place the playercorefactory.xml (part of the archive here  in "C:\Users\${UserName}\AppData\Roaming\XBMC\userdata". Alternatively, you could just back up the original playercorefactory.xml in "C:\Program Files (x86)\XBMC\system" (assuming you are the only XBMC user in the system) and replace it with the downloaded XML file.

There are lots of resources online about this topic . Of particular relevance to the setup described above are this AVForums post and this AVSForum post.

With the above setup, you should be able to stream videos and watch Blu-ray discs and ISOs without leaving the XBMC UI. The only downside is that you lose the fancy Video OSD during playback, but that is the price you will need to pay with an Intel GPU based system if you want hardware decode and stable HD audio bitstreaming from within XBMC right now.

Cadence Detection and Deinterlacing Miscellaneous Concerns
Comments Locked

54 Comments

View All Comments

  • uncola - Friday, September 2, 2011 - link

    intel really needs to get their shit together re: dxva and hardware decoding for video
  • vlado08 - Friday, September 2, 2011 - link

    First I want to tank you Ganesh for the article. Keep the good work!

    Would you give us some more information please.

    Can it play 1080 60p?
    There are a lot of camcorders that can record in AVCHD v2.0 (1080 60p 28Mb/s).

    What are the temperatures (CPU HDD) inside during idle and 100% load?
    Why ASRock don't make CPU fan to blow outside the case as in notebooks?

    Can you select RGB or YUV output in new intel drivers?
  • ganeshts - Friday, September 2, 2011 - link

    Yes, it does play 1080p60 without issues (even the Clarkdales and Arrandales can do it).

    The 1080p60 streams are part of our test suite. But, yet, you are right .. I should have mentioned it.

    The HTPC outputs RGB, and there is no obvious way to change it to YUV in the graphics control panel. However, the levels (0-255 / 16-235) can be modified with the Quantization Range option.

    I will get back to you on the temperatures in a day.
  • vlado08 - Friday, September 2, 2011 - link

    Thanks Ganesh, is 1080 60p hardware accelerated?
  • ganeshts - Friday, September 2, 2011 - link

    Yes, it is.

    Both 1080p60 and 16 reference frame H.264 videos were able to get DXVA2 hardware acceleration using the Microsoft DTV-DVD decoder.
  • ganeshts - Friday, September 2, 2011 - link

    Here is the temperature info you requested (measured using the AXTU tool for the mobo and the CPU / HD Tune Pro for the hard disk in Celsiuis scale):

    Idle:

    Motherboard : 42
    CPU : 44
    Hard Disk : 37

    Prime95 + Furmark (after 15 minutes of activity):

    Motherboard : 48
    CPU : 83
    Hard Disk : 39
  • tech6 - Friday, September 2, 2011 - link

    I bought a previous generation HT100-BD and it was a fine HTPC but the ASRock service was appaling. The unit had two failed HDMI ports in the first 12 months and the second time ASRock demanded payment to fix it (even tough it was under warranty).

    As convenient as it may seem, I would go down the DIY route just for the flexibility of being able to fix it yourself.
  • Rick83 - Friday, September 2, 2011 - link

    As paying the Windows Tax for a single purpose/ non-gaming machine is a bit pointless, I wonder how well the hardware in this box cooperates with Linux?
    I tried to build a HTPC on an older AMD platform and was continually being thwarted by driver issues (WLAN, sound, graphics), but here there actually may be an advantage, as Intel has a developer that manages libva, so their acceleration might work better on linux than DXVA..

    Also XBMC has a native linux version which is quite nice and should even boot faster in an optimized system than a Windows system.
  • Vagn Henning - Friday, September 2, 2011 - link

    As you might have noticed, the box ships without Windows. You see, that's the difference between your "Windows tax" and other taxes: You don't have to pay it. You are free to install any other OS. If you stopped pretending otherwise, someone might actually answer your question...
  • Rick83 - Friday, September 2, 2011 - link

    Well, the reviewer only used Windows, hence assuming that one pays for it.
    A Windows-only review is of little help for someone attempting to deploy linux on this box.
    If the reviewer implies the windows tax, by not mentioning alternatives, he is the one accepting it, I am merely referring to his point of view.

    Also, the alternative to the Windows tax is the Linux tax. The latter can often end up being higher....

Log in

Don't have an account? Sign up now