Technical Note on Compressing Files for a Target Size
Posted: January 25, 2011 Filed under: Compression, Technical notes Leave a commentThis 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
Recent Comments