Incorrect frame rate

DLL Edition of the F-IN-BOX
Mandel
Posts: 2
Joined: Thu Jun 28, 2007 2:10 pm

Incorrect frame rate

Postby Mandel » Tue Mar 25, 2008 3:32 pm

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Incorrect frame rate

Postby Softanics » Tue Mar 25, 2008 4:47 pm

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.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 12 guests

cron