Quality factor (video compression)
From Wikipedia, the free encyclopedia
The quality factor (qf) of encoded video streams (a.k.a. frame quality) is the amount of bits for each pixel in a given video.
[edit] Calculation
The quality factor can be calculated by the formula:

where Qf is the quality factor, b is the bit rate (expressed in kbit/s), v is the vertical resolution of the frame, h is the horizontal resolution of the frame, and f 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
kilobits per second
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 Qf.

