videoh.264video-encoding

Video bitrate and file size calculation


Folks,

I am trying to understand the relationship between video bitrate, image size, codec, and the file size. For example, if I have a movie that has an image of 1920*1080 pixels, the bitrate is 24 MBPS, the length is 2 hours and the codec used is H.264, how can I approximate the file size?

We can ignore audio for the moment.

Any pointer would be appreciated.

Regards,
Peter


Solution

  • You have the bitrate and the length, so you can simply multiply them together:

    24 MBPS * 2 hours * 60 minutes / hour * 60 seconds / minute = 172,800 MB

    If MB in your case is "Megabits" and not "MegaBytes", then divide by 8 to get 21,600 MegaBytes or ~21.6 GB.