where is the quality factor, is the bit rate (expressed in kbit/s), is the vertical resolution of the frame, is the horizontal resolution of the frame, and is the frame rate (expressed in frames per second).
As an example, consider a 90 minutes video with a resolution of 640x360 pixels and a frame rate of 23.976 frames per second (frame/s) to be encoded. The video is supposed to fit onto a 700 MiB CD. If you reserve 100 MiB for the audio stream, this will leave you with 600 MiB for the video stream, which equals a video bandwidth of
At a frame rate of 23.976 frame/s the quality factor equals
bits per pixel.
Accordingly you can use the formula to calculate the bit rate needed to produce an encode of a given .