Quality factor (video compression)

Quality factor (video compression)

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.

Calculation

The quality factor can be calculated by the formula:

Q_f = frac{1000 cdot b}{v cdot h cdot f}

where Q_f 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

b = frac {600 cdot 1024 cdot 1024 cdot 8} {90 cdot 60} = 932,067.(5) bit/s = 932.067(5) kbit/s

At a frame rate of 23.976 frame/s the quality factor equals

Q_f = frac {1000 cdot 932.067(5)} { 640 cdot 360 cdot 23.976 } = 0.1687 bits per pixel.

Accordingly you can use the formula to calculate the bit rate needed to produce an encode of a given Q_f.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • VIDEO\/AUDIO CODEC — T&F A video codec is a device or software that enables video compression and/or decompression for digital video. The compression usually employs lossy data compression. Historically, video was stored as an analog signal on magnetic tape. Around… …   Audio and video glossary

  • Data compression — Source coding redirects here. For the term in computer programming, see Source code. In computer science and information theory, data compression, source coding or bit rate reduction is the process of encoding information using fewer bits than… …   Wikipedia

  • Digital video — For other uses, see Digital video (disambiguation). Digital video is a type of digital recording system that works by using a digital rather than an analog video signal. The terms camera, video camera, and camcorder are used interchangeably in… …   Wikipedia

  • Constant rate factor — (CRF) is a x264 s single pass encoding method. Contents 1 Overview 2 Technical details 3 Not a common knowledge 4 See also …   Wikipedia

  • Fractal compression — is a lossy image compression method using fractals to achieve high levels of compression. The method is best suited for photographs of natural scenes (trees, mountains, ferns, clouds). The fractal compression technique relies on the fact that in… …   Wikipedia

  • Image Quality — is a characteristic of an image that measures the perceived image degradation (typically, compared to an ideal or perfect image). Imaging systems may introduce some amounts of distortion or artifacts in the signal, so the quality assessment is an …   Wikipedia

  • Audio compression (data) — For processes which reduce the amount of time it takes to listen to and understand a recording, see time compressed speech. Audio compression is a form of data compression designed to reduce the size of audio files. Audio compression algorithms… …   Wikipedia

  • Q (disambiguation) — Q is the seventeenth letter of the English alphabet.Q may refer to:Film, TV, radio and theatre*Avenue Q, a Broadway production *Q (film), 1982 horror film written and directed by Larry Cohen *Q (James Bond), a fictional character *Q Radio, a… …   Wikipedia

  • Super Video CD — Compact Disc Super Video (SVCD) Media type Optical disc …   Wikipedia

  • Q value — Q value, Q factor, and Q score may refer to:* Q factor or Q in resonant systems, a measurement of the effect of resistance to oscillation* Fusion energy gain factor, Q value or Q, the ratio of fusion power produced in a reactor to the power… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”