Technical Note on Compressing Files for a Target Size

This is just a technical note for later so that I don’t get confused about the math the next time I need to compress a video file for a specific target size.

1MB = 8192Kbits

Use this conversion to determine the bitrate of a file. For instance, if your max file size is 500MB and you want to upload a video that’s 4:24 then do the following.

500MB = 4096000Kbits

4096000Kbits/264=15515.15Kbits/sec

15515.15-192 (for audio) = 15323.15Kbits/sec

The highest bitrate allowed for video in this case for your limited file size would be about 15300Kbits/sec.

Okay, I’m pretty sure this is accurate.

References:

http://www.matisse.net/bitcalc/

http://www.lafcpug.org/Tutorials/basic_you_tube.html

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s