Skip to main content
  • Pricing
Tutorials

Work Backward From a Video Delivery Size Cap

Budget audio, video and container overhead from a decimal file-size cap and measured runtime.

By Oakgen TeamPublished 1 min read

Share

Key takeaways

  • Convert the delivery limit from decimal megabytes to kilobits, divide by the program duration, and reserve space for audio and the container before entering a video target in your encoder.
  • A shorter program can use a higher bitrate within the same file-size cap.
  • Check the completed file in bytes before delivery and review image quality at the recipient’s playback size.
Work Backward From a Video Delivery Size Cap

Convert the delivery limit from decimal megabytes to kilobits, divide by the program duration, and reserve space for audio and the container before entering a video target in your encoder.

Reserve audio before setting the video target

A 100 MB cap over 100 seconds allows 8,000 kb/s total. After a 2% allowance and 160 kb/s audio, video gets 7,680 kb/s. Here the 2% allowance consumes 160 kb/s and audio consumes another 160 kb/s. The remaining video target is rounded down. A shorter program can use a higher bitrate within the same file-size cap.

Container overhead and variable bit rate vary. Inspect the final encoded file size before delivery. Open the target video bitrate calculator.

Check the handoff

Check the completed file in bytes before delivery and review image quality at the recipient’s playback size. If it exceeds the cap, add reserve or lower the target on a second encode.

Share