02 September 2008

How to work out the rough filesize of a .flv

update: I have actually got my backside into gear an produced the little web based app for you. 


Ok, so this one always stumps me. A PM or a Producer says, "I have this video which the client wants to put on their site, how big is the file size going to be?". My answer used to be, "How long is a piece of string?" or pull some random figure out of my backside! 


We have been working with a video production company recently and one of the production people there (cheers Matt), gave me this very handy little formula and it seems to work pretty well.


Formula:

flvMB =(((video_bitrate+audio_bitrate X duration_seconds) / 1024) / 8)


So for example: 

10 minute video at 400kbps video and 48kbps audio

400kbps + 48kbps = 448kbps

10minutes X 60 = 600seconds.

448kbps X 600seconds = 268800Kb

268800Kb / 1024 = 262.5Mb

262.5Mb / 8 = 32.81MB

32.81MB in file size


Obviously this isn't going to be the exact filesize of your video, however, it's a pretty good guide!


I'm gonna build a little app which you can use to do all of this for you. Anybody, please feel free to beat me to it. I'll update when I have.

2 comments:

Anonymous said...

Do you mean something like this?

http://www.adrianparr.com/air/digital_video_filesize_calculator/install.html

hjwatso1 said...

Cheers Adrian. Not only is that much better looking than mine, it works better than mine.

Thank you! I've installed both at home and at work.