Audio and Video

Bitrate, sample rate, codecs, containers and streaming.

Sound and video are streams of data, and the key number is the bitrate: how many bits are used for each second. Bitrate multiplied by duration gives the size of a file, which makes planning easier than it first seems.

This topic builds the idea from the ground up. It starts with sample rate and bit depth and shows where the 1,411,200 bits per second of CD audio come from. It compares lossless and lossy audio formats, separates codecs from containers, and explains the difference between constant and variable bitrate. You will learn how to estimate the size of a video from its bitrate, and how to work backward from a size limit to a bitrate you can afford. The last guide estimates how much data streaming uses per hour.

The audio file size, video file size and streaming data usage calculators go with these articles, with the formula visible on every page.

All 9 articles in this topic