Page 1 of 1

Incorrect frame rate

Posted: Tue Mar 25, 2008 3:32 pm
by Mandel
Hello,
I have noticed that movies play at about ~2/3 of the frame rate specified in flash editor.

It does not seem to be a performance issue: I tested it with both small and big movies, flash 8 ans CS3, on different machines, the result is always the same.

initial rate / actual rate
30 / 20
40 / 26
60 / 40
120 / 63

I am using a transparent window (WS_EX_LAYERED).

This is not a big issue as long as I don't need an exact framerate, but it's weird.
Is this a known bug ? Could it come from my implementation ?

Thanks,

M.

Re: Incorrect frame rate

Posted: Tue Mar 25, 2008 4:47 pm
by Softanics
Thank you for your question.

Mandel wrote:Is this a known bug ?


Not a bug... A feature.

When f-in-box semitransparent window paints a frame, actually it paints a flash movie twice, calculates alpha values of all pixels and then creates a bitmap. That's why the FPS differs from the standard movie FPS.