MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » watch/edit Videos » Support


Support Post problems you have with an video feature here.

Reply
 
Thread Tools Display Modes
Old 2007-11-14, 08:42   #1 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default mkv mpeg4-avc files play better in MediaPlayer Classic than MediaPortal

TV-Server Version:
MediaPortal Version: 0.2.3.0 RC3
MediaPortal Skin:
Windows Version: XP SP2
CPU Type: Core2Duo E4400
HDD: Samsung 500GB Spinpoint
Memory: 2GB
Motherboard: Foxconn
Motherboard Chipset: VIA
Motherboard Bios:
Video Card: ATI 2600 Pro
Video Card Driver: Catalyst 7.9
Sound Card: Realltek
Sound Card AC3:
Sound Card Driver:
1. TV Card: none
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdhsow
MPEG2 Audio Codec: ffdshow
MPEG4 Video Codec: ffdshow OR CoreAVC
Satelite/CableTV Provider:
HTPC Case: ANtec Fusion
Cooling: Stock
Power Supply:
Remote:
TV: Panasonic TH37-PX70 Plasma
TV - HTPC Connection: DVI to HDMI cable

I have some 720p and 1080p mkv mpeg-4 avc files that i am playing through mediaportal, i have no problems with the image quality, but the amount of CPU and GPU usage that is shown when i'm playing files. I have tried these tests using both ffdshow and CoreAVC codecs in both MediaPortal, GraphEdit and MediaPlayer Classic.

What i've found is that MediaPortal doesn't seem to use as much of the hardware accleration in my ATI 2600 Pro card as MediaPlayer Classic does using the same codecs playing the exact same files. Its very confusing.

Here's some stats etc when i play a 720p and 1080p file using CoreAVC codec through MediaPlayer Classic and then the same thru MediaPortal on my Windows XP set-up.


Heres the results through MediaPlayer Classic:

720p MKV File
1280 x 528
5853 bitrate MPEG4-AVC Video
5.1 AC3 Audio

CPU Usage: 25%
GPU Usage: 45%

1080p MKV File
1920x800
10675 bitrate MPEG4-AVC Video
DTS Audio

CPU Usage: 55%
GPU Usage: 65%


Heres the results through Media Portal:

720p MKV File
1280 x 528
5853 bitrate MPEG4-AVC Video
5.1 AC3 Audio

CPU Usage: Upto 35%
GPU Usage: Upto 17%

1080p MKV File
1920x800
10675 bitrate MPEG4-AVC Video
DTS Audio

CPU Usage: Upto 70%
GPU Usage: Upto 30%

So as you can see, by playing the 1080p files through MediaPlayer Classic I get a 15% reduction in CPU usage and a 35% increase in GPU usage compared to playing them through MediaPortal.

Why is this? Why does MediaPortal use less of the hardware acceleration of my card compared to MediaPlayer Classic?

Are there some settings that i need to apply in MediaPortal to enable the hardware acceleration?

Any help, advice, tips and tricks would be very much appreciated.
Zarch is offline   Reply With Quote
Old 2007-11-14, 09:17   #2 (permalink)
Portal Member
 
Darre's Avatar
 
Join Date: Apr 2007
Age: 23
Posts: 909
Thanks: 104
Thanked 74 Times in 57 Posts

Country:


Default

Try to use graphedit to check if actually all the same codecs are used. (google for the prog if you dont have it)
For instance some post processing disable hardware acc. So that might be your problem right there.

Last edited by Darre; 2007-11-14 at 09:19.
Darre is online now   Reply With Quote
Old 2007-11-14, 09:27   #3 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by Darre View Post
Try to use graphedit to check if actually all the same codecs are used. (google for the prog if you dont have it)
For instance some post processing disable hardware acc. So that might be your problem right there.
Yep, graphedit shows the same codecs depending on which i've got meritted as the higher one. For example, when i use ffdshow i get the icon coming up both times!(thru MP and MPC)

I also get the same cpu/gpu stats playing direct through graphedit as through mediplayer classic. Its only through mediaportal they gpu drops and the cpu increases.

I don't have any post-processing selected at all. I completley un-installed MP and removed the Team MP directrory etc before installing the latest version (RC3) to rule that out.

Last edited by Zarch; 2007-11-14 at 09:37.
Zarch is offline   Reply With Quote
Old 2007-11-14, 09:39   #4 (permalink)
Portal Member
 
Darre's Avatar
 
Join Date: Apr 2007
Age: 23
Posts: 909
Thanks: 104
Thanked 74 Times in 57 Posts

Country:


Default

Then someone who knows more about MP should try to answer you.. This is as far as my knowledge goes^^
Darre is online now   Reply With Quote
Old 2007-11-14, 12:25   #5 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 263
Thanks: 11
Thanked 7 Times in 7 Posts

Country:

My System

Default

As far as I understand you don't get any HW acceleration at all with CoreAVC nor FFdshow.

SO the CPU and GPU figures has nothing to do with HW acceleration on your AT HD2600.

So the difference in CPU usage is only reflecting CPU footprint of MPC and MP. And since MP is a "bigger" app it isn't surprising is consuming more CPU than MPC.

You need to use a codec that does support HW acceleration of Nvidia & ATI GFX cards, such as PowerDVD 7.3 or later codec. (Thera are others as well).

Just my two cents.
pnyberg is online now   Reply With Quote
Old 2007-11-14, 13:33   #6 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by pnyberg View Post
So the difference in CPU usage is only reflecting CPU footprint of MPC and MP. And since MP is a "bigger" app it isn't surprising is consuming more CPU than MPC.
While i can agree that MP is "bigger" than MPC, 15% of core2duo cpu is a hell of lot more power.... surely not!!

And how does your thinking relate to the GPU usage? Playing back the 1080p file through MP uses around 50% less GPU power than through MPC.



I'm still of the opinion that theres something in the way MP calls the graphics card (directshow?) as apposed to the way MPC or GraphEdit does. But i need someone who knows more about MediaPortal to confirm this!!

Stats:

.........MediaPortal....MediaPlayer Classic
CPU.............70%...............55%
GPU.............30%...............65%

It makes sense doesn't it? If the GPU is higher, then the CPU will be lower because the graphics card is taking the load? (ie in the MediaPlayer Classic example)

And if the GPU is not taking some of the load then the CPU has to take over (ie MediaPortal example).

This is the SAME file using the SAME codecs with only the "player" being different.

If anyone can shed any light on this or any settings i might have missed then please let me know, it would be very much appreciated.
Zarch is offline   Reply With Quote
Old 2007-11-14, 14:18   #7 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 263
Thanks: 11
Thanked 7 Times in 7 Posts

Country:

My System

Default

Well yes, I do agree that there seem to be some difference on how MPC and MP is using/callin DirectShow or whatever.

But is this relevant? Since I suppose you want to be sure you are using your GFX do to the decoding?
And to do that you need Powerdvd decoder or the like - NOT CoreAVC or ffdshow.

If you use PowerDVD decoder and you still get this big difference - then perhaps you can catch the devs attention... ?

Cheers
pnyberg is online now   Reply With Quote
Old 2007-11-14, 14:52   #8 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by pnyberg View Post
As far as I understand you don't get any HW acceleration at all with CoreAVC nor FFdshow.

SO the CPU and GPU figures has nothing to do with HW acceleration on your AT HD2600.

So the difference in CPU usage is only reflecting CPU footprint of MPC and MP. And since MP is a "bigger" app it isn't surprising is consuming more CPU than MPC.

You need to use a codec that does support HW acceleration of Nvidia & ATI GFX cards, such as PowerDVD 7.3 or later codec. (Thera are others as well).

Just my two cents.
Quote:
Originally Posted by pnyberg View Post
Well yes, I do agree that there seem to be some difference on how MPC and MP is using/callin DirectShow or whatever.

But is this relevant? Since I suppose you want to be sure you are using your GFX do to the decoding?
And to do that you need Powerdvd decoder or the like - NOT CoreAVC or ffdshow.

If you use PowerDVD decoder and you still get this big difference - then perhaps you can catch the devs attention... ?

Cheers
Thanks for taking the time to reply again pynberg.

Yes, i want the graphics card to do as much of the processing as possible(dont we all?), but was looking for the cheap option. ffdshow is free, coreavc is $14.95 and PowerDVD Deluxe is $69.99

PowerDVD isnt really any option for my budget!

Is still think the devs should comment on the big descrepancy between the cpu/gpu usage of MediaPortal compared to MediaPlayer Classic. Especially as this problem is the same if you use both ffdshow AND CoreAVC, which sort of takes the blame away from the codecs?

For some people with certain setups this could mean the difference between flawless playback and stuttering etc.
Zarch is offline   Reply With Quote
Old 2007-11-14, 16:30   #9 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 731
Thanks: 135
Thanked 98 Times in 54 Posts

Country:

My System

Default

I'm one of those people who does see the stuttering playback with MediaPortal but not WMP. I have yet to figure out why this happens with MediaPortal only. The fact that MediaPortal has a larger "footprint" couldn't be the reason since I can play the files fine with MediaPortal in the background as long as they are playing in WMP.

If I play x264 content in MediaPortal it quickly goes completely out of sync and remains jittery the entire time.
jburnette is offline   Reply With Quote
Old 2007-11-14, 17:50   #10 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 134 Times in 58 Posts

My System

Default

As was said before, neither ffdshow nor coreavc offload any work to the GPU, they are both purely software decoders. If you want hardware decoding, you'Ll need to buy a decoder that supports this. Be adviced though that there is a 20fps bug for mkv files, at least there was last time i checked.

Furthermore, MP uses VMR9 as its renderer, while in MPC this is configurable, so it could be you are using overlay in MPC which is slightly faster than VMR9 but has other drawbacks. The extra cpu usage could very well result from this difference, combined with the fact that other things are running in the background while MP is running.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Reply

Bookmarks

Tags
classic, mediaplayer, mkv, mpeg4avc, play

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MP can't play mkv files patricon 0.2.3.0 RC3 and SVN Builds 6 2008-08-04 23:52
Mediaportal and mkv files fabio79 General Support 17 2008-02-28 11:56
MKV file won't play in MediaPortal wlgspotter Codecs, External Players 0 2007-10-20 09:57
Using mediaplayer classic with a plugin BlackdogZA Codecs, External Players 1 2007-04-26 00:26
MKV files won't play in MediaPortal DarkBandit Codecs, External Players 28 2006-10-27 22:46


All times are GMT +1. The time now is 11:25.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden