Skip to content

Posts tagged ‘DXVA’

29
Jul

CoreAVC with Windows 7 RTM take 2

Windows 7 RTM has been leaked. That’s old information. Most of us have it running on our systems already, with a 30 day grace period (maybe more with a rearm). I too snapped up a copy of the RTM from the interwebs when it came out on July 14th. Since then I have updated my HTPC and the Windows Machine. With a slew of Matroska (MKV container) videos in my possession it is imperative to have flawless playback performance on my Windows HTPC, which admittedly is not the most powerful of machines.

I had blogged earlier about Media Player Classic – Home Cinema and DXVA, which granted, worked superb. However such is not the case for systems with older Graphics cards. CoreAVC is a shining beacon of hope for such machines.

As a test I tried out CoreAVC on my Windows 7 RTM (7600) machine. To get it to work was an exercise in madness, registry hacks and restarts. But I can proclaim that it indeed works, and I have full HD playback with my Media Player 12 and Media Center. I can use CUDA as well, though that’s kind of counter-productive and a matter of choice. If one can use CUDA, one is better off using MPC-HC with DXVA. But it is a matter of choice.

Here’s how I went about enabling CoreAVC – disable the Microsoft Decoder.

1. Open REGEDIT as an Administrator
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Preferred
3. Right click on ‘Preferred’ and select ‘Permissions’.
4. Click on ‘Advanced’ -> ‘Owner’ tab. ‘Administrators’ , check ‘Replace Owner on subcontainers and objects’ checkbox, OK.
5. Now back to the first window – click ‘Administrators’ and check ‘Full Control’. Press OK.
6. In the left pane look for {e06d8026-db46-11cf-b4d1-00805f6cbbea}
{31435641-0000-0010-8000-00AA00389B71}.
7. Edit these entries with a double click and replace the value data entry with that for CoreAVC – {09571A4B-F1FE-4C60-9760-DE6D310C7C31}.
8. Reboot. This is important.

And voila, the next time you play a MKV or H.264 video, CoreAVC will be the codec used. If in case it still doesn’t work for you, rename the following file to say whatsmynamem8.dll. Remember in order to rename this file you’ll have to take ownership of this particular folder. As with everything else in life, do it with caution.

c:\windows\syswow64\msmpeg2vdec.dll


4
Jun

DXVA, CoreAVC – x.264 & MKV playback in Windows 7 RC

With the advent of the latest and greatest of Microsoft’s OSs – Windows 7 – come a slew of issues with the reliable playback of HD videos that we have lying around in our collections. According to specs, Windows 7 RC1 shipped with an x.264 decoder built in. However this is far from a panacea for those of us with older hardware.

I use a custom HTPC for all my playback needs with my Full HD (1080p) LCD TV. The HTPC rig, built back in 2007, does not have the latest and greatest processor, but runs Windows 7 RC1 with aplomb. I did upgrade the graphics card recently to an OC’d NVIDIA 9800GT.

With Windows Media Player 12, I have had no issues whatsoever with 720p playback. Though the Activity Monitor (or its Windows equivalent) showed a spike in CPU usage while playback, it was low enough to be ignored. However when I threw a 1080p video at the system, it would choke. I briefly considered upgrading the CPU, but thankfully decided to do some digging around.

I narrowed the culprit down to the laggy x.264 decoder included with Windows 7. The answer was simple. Update to ffdshow or CoreAVC. I chose the latter after reading that CoreAVC is better in terms of CPU usage. However, on installing the latest version (1.9.5), I for the life of me, could not get CoreAVC to load with Windows Media Player 12. Forums advised registry hacks and key deletion that seemed to work for some, but not for yours truly. I had to find another solution.

A bit of digging later, I found the superb world of DXVA! DXVA or DirectX Video Acceleration uses the hardware of the graphics card for video acceleration. It is featured natively in Media Player Classic – Home Cinema. It requires a powerful Graphics card which I am happy to say I own – the NVIDIA 9800GT. To enable DXVA in Vista or Windows 7, just select EVR Custom mode in MPC-HC options. The result? CPU usage has dipped to 3-4% for 1080p videos, compared to nearly 60-70% usage previously. I am so impressed and hooked.


mugen 2d fighting games
WordPress Themes