List Info

Thread: Why my player base on helix lost many frames?




Why my player base on helix lost many frames?
user name
2007-07-16 03:48:15

I wrapped a player based on helix; when I playback videos, many frames are lost .

On one PC nearly 90% percent frames lost, on another PC about 50% frames lost.

Sometimes the screen is hold or filled up with green color for several seconds, sometime it smoothly playback for several seconds.

I don't know the reason, and don't know where to trace the problem.

 

Seems some variables to control the swapbuffer are not correctly initialized.

 

My player is a dbus client, based on helix-dbus-server which support audio only. I add some code to support video (create a drawable widget when generate the player; reparent the widget to media player ).

 

ZHAO, Halley (Aihua)

Email: halley.zhaointel.com" title="mailto:hui.xueintel.com">intel.com

Tel: +86(21)61166476

iNet: 8821-6476

SSG/OTC/UMD

 

Re: Why my player base on helix lost many frames?
country flaguser name
United States
2007-07-16 13:15:14
Zhao, Halley wrote:
> I wrapped a player based on helix; when I playback
videos, many frames
> are lost .
> 
> On one PC nearly 90% percent frames lost, on another PC
about 50% frames
> lost.
> 
> Sometimes the screen is hold or filled up with green
color for several
> seconds, sometime it smoothly playback for several
seconds.
> 
> I don't know the reason, and don't know where to trace
the problem.
> 
>  
> 
> Seems some variables to control the swapbuffer are not
correctly
> initialized.
> 
>  
> 
> My player is a dbus client, based on helix-dbus-server
which support
> audio only. I add some code to support video (create a
drawable widget
> when generate the player; reparent the widget to media
player ).

You need to make sure that you give the client time slices
on a regular basis. You need to call
HXClientEngine::EventOccured()
as often as you can, like every 5-20ms. If you are not
calling
that often then you will get the problems you describe
above. If
you are calling that function, then something else is wrong
and
we can go from there.

--greg.

> 
>  
> 
> ZHAO, Halley (Aihua)
> 
> Email: halley.zhaointel.com <mailto:aihua.zhaointel.com> 
> 
> Tel: +86(21)61166476
> 
> iNet: 8821-6476
> 
> SSG/OTC/UMD
> 
>  
> 
> 
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Helix-client-dev mailing list
> Helix-client-devhelixcommunity.org
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )