Hello strk, Thursday, May 3, 2007, 10:54:50 AM, you wrote: s> I've done some profiling playing youtube. s> The bottleneck is still the rendering. In particular, video frame rendering.
With AGG? I'm using nearest neighbor scaling, which should be the fastest method that can do scaling. Of course just copying the data to the offscreen buffer when the video is scaled 1:1 would be faster, but I'm a bit scared of implementing that. s> Profile output shows that the drawVideoFrame routine is called 375. 375 times? More interesting would be the real time which is spend in that routine. s> This is the RMS singing video, which is 02 minutes and 01 second long. s> The player2.swf file is at 25 FPS, which means 3025 calls to ::advance s> during the playback. I assume most of the times a new frame s> is not ready so we don't display anything... Are you sure it really won't update in that case? This requires correct usage of invalidated bounds (set_invalidated()) and as far as I remember only minimal functionality for invalidated bounds were implemented in the video class. This could have changed in the meantime.. Udo _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

