microchip8
14th November 2008, 15:04
Hi,
It seems that the formula I use in my scripts for calculating the video bitrate for a target filesize is incorrect. Currently I use the two following formulas, the first without and the second with audio
Without audio
TARGET_SIZE_IN_MB * 8192 / VIDEO_LENGTH_IN_SEC
With audio
( TARGET_SIZE_IN_MB * 8192 / VIDEO_LENGTH_IN_SEC ) - AUDIO_BITRATE_KBPS
Does anyone knows a formula which properly calculates the video bitrate for a target filesize? The formula must also include the AVI overhead
Thanks in advance
It seems that the formula I use in my scripts for calculating the video bitrate for a target filesize is incorrect. Currently I use the two following formulas, the first without and the second with audio
Without audio
TARGET_SIZE_IN_MB * 8192 / VIDEO_LENGTH_IN_SEC
With audio
( TARGET_SIZE_IN_MB * 8192 / VIDEO_LENGTH_IN_SEC ) - AUDIO_BITRATE_KBPS
Does anyone knows a formula which properly calculates the video bitrate for a target filesize? The formula must also include the AVI overhead
Thanks in advance