Magic Framerate

Magic Framerate, the fps of some odd number like 21, 31 and why people have choosen that. Frame rates are stored in 16.16 fixed pointer integer. Add to this, the framerate is converted to a millisecond frame delay value.

A few Flash Designers and developers alike have asked me or rather challenged me why I use a 31 fps in almost all my SWF documents. Let me archived this on my site so that I can refer to it future, just in case. And thanks to the person who once did an explanation on the same (sorry that I have forgotten who it was).

So this “Magic Framerate“, the fps of some odd number like 21, 31 and why people have choosen that. Frame rates are stored in 16.16 fixed pointer integer. Add to this, the framerate is converted to a millisecond frame delay value. Thus, the overall accuracy of framerates becomes ridiculously low, unless one uses the streaming sound hack aka the kicker layer (for instance 24 frames/sec); converts to a frame time of 41ms which factually converts back to real frame rate of 24.39 frames/sec. And the fact that frame times are handled relative instead of absolute, this eventually leads to a realy screwed up frame rates.

It is heard that timers were quite inaccurate in previous MacOS releases. There is another issue, the maximum time resolution (DoPlay call frequency) on MacOS browsers is currently between 20 and 40ms. With video, the maximum framerate one can achieve is currently around 27 frames/sec. IE WIN has a time resolution of 10ms, hence we can achieve maximum frame rate of around 100frames/sec. There a few framerates which will show a more consistent behavior on MacOS and Windows, those are the famous 21 and 31, the magic framerates.

UPDATES


Don't like it? There are lots of published articles, pick a random one.

Brajeshwar posted this article on Mon, Aug 2nd, 2004 at 10:03 am
Categorized under Technology and has the following tags

Prev Article:

Next Article:

Archives: Visit the Archives for more articles.

  • Arindam

    Man, that educated me. About the video framerate, I always thought it was 36 frames per sec.

  • Arindam

    Man, that educated me. About the video framerate, I always thought it was 36 frames per sec.

  • http://stimpson.flashvacuum.net/mt/archives/2004/08/framerate.html B.log

    Framerate

    Having wrapped up my SuperFades package just recently, which already hit v1.1 meanwhile, and working on a simular SuperEase package, I always pain myself asking which framerate to set as default…. Now altough in my own projects I use a…

blog comments powered by Disqus

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

12 Hottest Geek Girls on Twitter

So, you have seen the 12 Hottest Geek Girls (via Digg). However, they forgot to link them to their Twitter profiles so you can follow them. Well, here they are -- the 12 Hottest Geek Girls ...13th Oct, 2009

Great Indian Developer Summit 2009

I got a Press Release of the upcoming GIDS '09 and here is an excerpt. The summit's program covers Java, REST, Unit testing, Groovy, Spring, Struts 2.0, SOA, Cloud Computing, Web Services, JRuby, RoR, Ruby, JVM, ...21st Jan, 2009

The flourishing gun market in Pakistan

VICE Travel: Darra, Pakistanby Top-Notch112 (Via: Deep Green Crystals) 20th Jan, 2009

Angry Ringtone for iPhone and others

[audio:http://audio.brajeshwar.com/angry-ring-ring.mp3] The ANGRY RINGTONE for iPhone. (Click the PLAY button above!) Download * iPhone Ringtone (.m4r) * MP3 Ringtone (.mp3) * Zipped (both .m4r and .mp3) To use it as an iPhone Ringtone; just double click the file "angry-ring-ring.m4r" and it ...15th Jan, 2009

IIM Ahmedabad's Leverage 2009

Leverage, the Venture Capital and Private Equity Club of IIM Ahmedabad and the Centre for Innovation Incubation and Entrepreneurship bring to you the 1st edition of the Venture Capital and Private Equity Conference on the ...12th Jan, 2009

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Ode to Apple Dedicated to Apple – Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • Downloads All downloads, Free and Open Source.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 996 Articles and 9,554 comments, contained within 17 categories and 1,642 tags.