Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Sat, 30 Aug 2008 03:37:24 -0700 (PDT),    group: microsoft.public.windowsmedia.sdk        back       


axWindowsMediaPlayer high cpu usage?   
Hello,
I have a window form and an axWindowsMediaPlayer in it (the code is in
c#). when I set the url of the player to a movie,  it plays, but the
cpu usage is around 40-50%.
If I play the same video (an 145mb wmv) in windows media player
directly, the cpu load is just 5-12%. Would someone mind to point me
some ideas? The way I did it in my code is very simple, just drag the
control from toolbox and set url, maybe I am missing some steps?

Many Thanks

Jerry
date: Sat, 30 Aug 2008 03:37:24 -0700 (PDT)   author:   DAXU

Re: axWindowsMediaPlayer high cpu usage?   
On Aug 30, 12:37 pm, DAXU  wrote:
> Hello,
> I have a window form and an axWindowsMediaPlayer in it (the code is in
> c#). when I set the url of the player to a movie,  it plays, but the
> cpu usage is around 40-50%.
> If I play the same video (an 145mb wmv) in windows media player
> directly, the cpu load is just 5-12%. Would someone mind to point me
> some ideas? The way I did it in my code is very simple, just drag the
> control from toolbox and set url, maybe I am missing some steps?
>
> Many Thanks
>
> Jerry

There shouldn't be such difference.
Maybe the WMP will use hardware acceleration to draw / rescale video,
that is disabled in axWMP control, it could result in differences.
But, in any case, there shouldn't be such difference.

When you render and play file in DirectShow, using graphedit, what is
CPU load?

Jerislav
date: Thu, 4 Sep 2008 04:14:36 -0700 (PDT)   author:   Jerislav

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us