#FLI TIMING
5 messages in this thread
Does anyone know what the timing on flis is based on. It does not appear to be
frames per second. We are using a player and tieing music and sound to them. We
can get the sounds to sync. on all of our machines but we do not know what to
time the music off of.
Mark,
flics are timed in "jiffies". A "jiffie" is a 1/70th of a second pause between
frames. Thus, a playback speed of 7 would be 7/70ths or 1/10 of second pause
between frame updates. The variable here, as in any digital, delta-compressed
animation is the time it takes to load the next frame – usually represented by
the amount of change from the previous frame.
Here's a POCO routine that will more closely give you 30 frames per second
(courtesy of James Hyde). You may have to adjust the SetSpeed value in
parentheses depending on your hardware. This one works for me pretty well to
get close as possible to 30fps, providing the frame updates in my animation
aren't too big. Type this into the POCO editor, save it, and run it.
main()
{
int frame_count;
frame_count=GetFrameCount() * 1000;
SetSpeed(31);
PlayFlic(frame_count);
}
Thanks for the help Martin.
Mark Dickenson
Ybarra Productions
Mark,
you're welcome.
Mark,
I think that's the wrong question, because in the flic file only saves the
diffrences between the images and the (Animator)speed to play it. No time code.
I depends on the flic-player how fast (frame per seconds) the flic is played.
IF you have a SPEA Fire board, you can use their player. There you can ajust
the playbackspeed in 1/10 seconds.
Anyway, be carefull with soundsyncronisation, because flics with a great rate
of pixelchanges per frame (on slow graphiccards) can't
alway played with the same speed during playing.
Ingo