Member Log In

Not a Member Yet?

It only takes a minute to start enjoying the benefits of AVForums membership, and it's free!

Only 5% CPU usage when playing 1080p H.264 MKV files!!

Post Reply
Old 02-12-2008, 5:45 PM   #1
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Only 5% CPU usage when playing 1080p H.264 MKV files!!

Apologies if this new is old hat but thought I would share it...

Finished a partial build of my 1st HTPC (still need to add a tuner and BluRay).
Used the a AMD 4850e and a Gigabyte GA-MA78GPM-DS2H 780G chipset motherboard as I had read great things about the 780g built in Hardware decoder for playing HD content.

However, I was initially very dissappointed when KMPlayer, Media Player Classic HC and Media Portal built in player were all reporting 50-60% CPU.
After loads of Googling I discovered the following on another site:

It involves downloading the mpcvideodec.ax codec from the MPC-HC website and registering the file and then using the MPC Video Decoder filter for playing your H.264 files.
Stand alone filters for MediaPortal - MediaPortal Forum

The above has some details or you can download the file from the following location:
SourceForge.net: Files

Click on the standalone filters link for 32 or 62 bit and then get the MPCVideoDec.zip file.

You then extract and copy the MPCVideoDec.ax file into your windows\system32 or similar and then do a regsrv32 on the file from a cmd prompt - in Vista make sure you run the cmd prompt as Admin even if your user is an Administrator - otherwise the registration will fail.

Then in your Media Portal or Media Player Classic HC select the 'MPC Video Decoder' as the filter to use for H.264 files.

I cannot get it to work for KMPlayer despite trying similar steps and reading an article (cannot enable the DVXA) - so have given up - Media Portal built in player seems fine as does the Media Player Classic.

Have played a few 1080p MKV H.264 files for a few minutes each and for both the CPU usage seems to fluctuate between 2% and 10% - giving a rough average of 5%ish.
  Quote
Thanks from:
aaroe (08-02-2009), lloydsmart (11-01-2009)
Advert
Log in or sign up to remove
Old 11-01-2009, 1:16 PM   #2
Member
lloydsmart's Avatar
Join Date: May 2007
Thanks: Gave 60, Got 21
Posts: 215
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

OMG Thanks! This is exactly what I've been looking for for the past week!
  Quote
Old 11-01-2009, 2:53 PM   #3
Member
Join Date: Jun 2007
Thanks: Gave 16, Got 13
Posts: 196
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Yes, MPC video codec is a great codec, and also the first linke is a good codec pack. It only install what you need, without lots of extra rubbish. I've been using this pack for a couple of months now, and I've very pleased. I am also getting 5-10% cpu on any resolution H264 MKV file.
  Quote
Old 12-01-2009, 2:52 PM   #4
Senior Member
Join Date: Apr 2008
Thanks: Gave 232, Got 173
Posts: 2,078
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by harry66 View Post
then do a regsrv32 on the file from a cmd prompt
Sorry im a noob. How do you do this?
Whats the commands to type in CMD prompt?


And, how does this compare with CoreAVC interms of quality?
  Quote
Old 13-01-2009, 9:48 AM   #5
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

regsvr32 MPCVideoDec.ax
assuming you are in the same folder as where you have copied the MPCVideoDec.ax file.

Note that you have to run cmd prompt in admin mode - easiest way is to type cmd into the Vista Start Button search field and press Ctrl+shift+enter

dunno about the quality in comparison to CoreAVC as I have not tried CoreAVC.
All I can say is that all the 1080p mkv files I have watched look superbly sharp and clear and rich etc etc.
  Quote
Old 13-01-2009, 9:56 AM   #6
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

regsvr32 MPCVideoDec.ax
assuming you are in the same folder as where you have copied the MPCVideoDec.ax file.

Note that you have to run cmd prompt in admin mode - easiest way is to type cmd into the Vista Start Button search field and press Ctrl+shift+enter

dunno about the quality in comparison to CoreAVC as I have not tried CoreAVC.
All I can say is that all the 1080p mkv files I have watched look superb -sharp and clear and rich - almost worth all the hassle of building my HTPC - almost but not quite
  Quote
Old 13-01-2009, 4:59 PM   #7
Senior Member
Join Date: Apr 2008
Thanks: Gave 232, Got 173
Posts: 2,078
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Tried it on my system CPU usage is still around 45-55%.
Its still the same as using CoreAVC.

Probably because i dont have a built in Hardware decoder on my mobo
  Quote
Old 13-01-2009, 9:13 PM   #8
Member
lloydsmart's Avatar
Join Date: May 2007
Thanks: Gave 60, Got 21
Posts: 215
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by Maxamus View Post
Probably because i dont have a built in Hardware decoder on my mobo
That could be a factor, lol
  Quote
Old 14-01-2009, 2:49 PM   #9
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by Maxamus View Post
Probably because i dont have a built in Hardware decoder on my mobo
Perhaps I should have read your sig before responding - just assumed you had read my original post fully before asking the question...
  Quote
Old 15-01-2009, 12:19 PM   #10
New Member
Join Date: Mar 2006
Thanks: Gave 2, Got 1
Posts: 24
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Good news. I've tried using MPC's filters a while ago (before they had matured) and they looked promising. Are you able to get subtitles working? They we're tricky, thats why I swapped back to CoreAVC.
  Quote
Old 17-01-2009, 9:59 AM   #11
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

I can certainly get subtitles when watching TV via VMC - including BBC HD and when watching DVDs.

Not sure about MKV files...will have to check.
  Quote
Old 17-01-2009, 12:47 PM   #12
Member
lloydsmart's Avatar
Join Date: May 2007
Thanks: Gave 60, Got 21
Posts: 215
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Well, I got a copy of PowerDVD free with my new Bluray/HDDVD player (LG), and I think it supports DXVA hardware decoding for the bluray formats. It does some sort of decoding for them anyway because PowerDVD has popped up as a selectable codec for AVC in Mediaportal, so now I'm wondering weather there would be any benefit switching to it over MPC.

Any thoughts?
  Quote
Old 08-02-2009, 1:46 PM   #13
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

This is great news... I have the same motherboard.
But, where in Media Player Classic HC can I select the 'MPC Video Decoder' as the filter to use for H.264 files?
  Quote
Old 08-02-2009, 2:35 PM   #14
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by aaroe View Post
This is great news... I have the same motherboard.
But, where in Media Player Classic HC can I select the 'MPC Video Decoder' as the filter to use for H.264 files?
Just download "MPC HC" and it will use their "MPCVideoDec" by default as its already part of the player there is actually no need to download and register "MPCVideoDec.ax" if your using "MPC HC"

The filter can be found on right click the same as most media players

If you want to use the "MPCVideoDec" with any media player the download "MPCVideoDec.ax" and register the file

BTW you can register the file from Start Run in XP just paste in the reg command and click ok

Last edited by wHoMe; 08-02-2009 at 2:38 PM.
  Quote
Old 08-02-2009, 2:38 PM   #15
Senior Member
Join Date: Mar 2002
Location: Ilford
Thanks: Gave 35, Got 56
Posts: 1,115
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Hi,
Cant remember exactly how I did that but I think I went into
Options->External Filters and then used Add Filter to add the 'MPC - Video Decoder'. I then selected the Prefer radio button.

Hope someone will correct me if I am wrong here...been a while since I did all this and didnt make notes!

EDIT: just saw the above post - I am a bit confused on this bit cos when I downloaded MPC HC the download file did not include the MPCVideoDec.ax file - it just had the mplayerc.exe and a bunch of dll files. I downloaded and registered the .ax file separately later on. Perhaps there is a different install package for MPC HC - I just got a zip file mplayerc_homecinema_x86_v1.2.908.0.zip from the sourceforge.net site

Last edited by harry66; 08-02-2009 at 2:48 PM.
  Quote
Old 08-02-2009, 2:48 PM   #16
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Well, wHoMe and Harry. Either way, I can't make it work...
CPU usage is still around 50%.
Harry, thats exactly how I did it.
I've had CCCP installed before, but uninstalled it, should this have any effect?
  Quote
Old 08-02-2009, 3:03 PM   #17
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by harry66 View Post

EDIT: just saw the above post - I am a bit confused on this bit cos when I downloaded MPC HC the download file did not include the MPCVideoDec.ax file - it just had the mplayerc.exe and a bunch of dll files. I downloaded and registered the .ax file separately later on. Perhaps there is a different install package for MPC HC - I just got a zip file mplayerc_homecinema_x86_v1.2.908.0.zip from the sourceforge.net site
Yes the codec isn't in there as a standalone filter its actually part of MPC HC

If you had run MPC HC before registering MPCVideoDec.ax you would have seen the codec is there on right click
  Quote
Old 08-02-2009, 3:22 PM   #18
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
Yes the codec isn't in there as a standalone filter its actually part of MPC HC

If you had run MPC HC before registering MPCVideoDec.ax you would have seen the codec is there on right click
When not adding any External Filters in MPC HC, I can actually right click -> Filters, and here I have 'MPC Video Decoder' - But it says 'Not using DXVA'

How to fix this?
  Quote
Old 08-02-2009, 3:25 PM   #19
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by aaroe View Post
When not adding any External Filters in MPC HC, I can actually right click -> Filters, and here I have 'MPC Video Decoder' - But it says 'Not using DXVA'

How to fix this?
Your graphics card needs to have the hardware that does DXVA your doesn't thats why it makes no difference on your system
  Quote
Old 08-02-2009, 3:27 PM   #20
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
Your graphics card needs to have the hardware that does DXVA your doesn't thats why it makes no difference on your system
Well, that can't be right.
I have the GA-MA78GM-S2H 780G chipset motherboard.
  Quote
Old 08-02-2009, 3:34 PM   #21
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by aaroe View Post
Well, that can't be right.
I have the GA-MA78GM-S2H 780G chipset motherboard.
No it cant be right ?

Maybe you should download MPCVideoDec.ax and register it maybe I was wrong in my previous posts in this thread
  Quote
Old 08-02-2009, 3:37 PM   #22
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
No it cant be right ?

Maybe you should download MPCVideoDec.ax and register it maybe I was wrong in my previous posts in this thread
I already did that
  Quote
Old 08-02-2009, 3:40 PM   #23
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Harry, what does your 'DXVA mode' say? - if you right click --> Filters --> 'MPC - Video Decoder' - while playing a 1080p mkv file.
  Quote
Old 08-02-2009, 3:40 PM   #24
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Yeah I just read on the main site the codec is embedded so I wasn't wrong, you should read that page as other codecs will stop it working which is probably your problem as you installed CCCP

http://mpc-hc.sourceforge.net/DXVASupport.html
  Quote
Old 08-02-2009, 3:51 PM   #25
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
Yeah I just read on the main site the codec is embedded so I wasn't wrong, you should read that page as other codecs will stop it working which is probably your problem as you installed CCCP

http://mpc-hc.sourceforge.net/DXVASupport.html
Yeah, I've read that too... But how the heck do I know what codecs that will prevent it from working? There are tons of filters when I click 'Add filter'...
  Quote
Old 08-02-2009, 3:59 PM   #26
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Remove any by uninstalling them all get it working then only install codecs you need
  Quote
Old 08-02-2009, 4:05 PM   #27
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
Remove any by uninstalling them all get it working then only install codecs you need
I've already uninstalled CCCP, ofcourse...
Im soon giving up on this... Damnit!!!
But thanks for helping
  Quote
Old 09-02-2009, 4:25 PM   #28
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

I think I found the solution.
The file I was "testing" with had subtitles.
1080p mkv files with subtitles are apparently not able to use DXVA - even though I disabled the subtitles...

I therefore tried with another 1080p video (.mp4 though) - and it worked. CPU usage was around 2-7%

Just thought I would tell
  Quote
Old 09-02-2009, 4:41 PM   #29
Member
Join Date: Apr 2006
Thanks: Gave 7, Got 108
Posts: 936
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by aaroe View Post
I think I found the solution.
The file I was "testing" with had subtitles.
1080p mkv files with subtitles are apparently not able to use DXVA - even though I disabled the subtitles...

I therefore tried with another 1080p video (.mp4 though) - and it worked. CPU usage was around 2-7%

Just thought I would tell
On the page from the link above

Internal subtitles can work with the MPC Video decoder in DXVA mode, but the rules are even more restrictive :

* Windows XP users, select VMR9 renderless
* Vista users, select EVR custom renderer
* In "Options / Playback", tick the checkbox "Auto-load subtitles"
  Quote
Old 09-02-2009, 4:44 PM   #30
New Member
Join Date: Feb 2009
Thanks: Gave 1, Got 0
Posts: 10
Re: Only 5% CPU usage when playing 1080p H.264 MKV files!!

Quote:
Originally Posted by wHoMe View Post
On the page from the link above

Internal subtitles can work with the MPC Video decoder in DXVA mode, but the rules are even more restrictive :

* Windows XP users, select VMR9 renderless
* Vista users, select EVR custom renderer
* In "Options / Playback", tick the checkbox "Auto-load subtitles"
Yeah, I've read that too, on the mpc-hc homepage, but it didn't work for me though
  Quote
Post Reply



Thread information and display options
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off