Variable bitrate

Variable bitrate

Variable bitrate (VBR) is a term used in telecommunications and computing that relates to the bitrate used in sound or video encoding. As opposed to constant bitrate (CBR), VBR files vary the amount of output data per time segment. VBR allows a higher bitrate (and therefore more storage space) to be allocated to the more complex segments of media files while less space is allocated to less complex segments. The average of these rates can be calculated to produce an average bitrate for the file.

MP3, WMA, Vorbis, and AAC audio files can optionally be encoded in VBR.[1][2][3] Variable bit rate encoding is also commonly used on MPEG-2 video, MPEG-4 Part 2 video (Xvid, DivX, etc.), MPEG-4 Part 10/H.264 video, Theora, Dirac and other video compression formats.


Advantages and disadvantages of VBR

The advantages of VBR are that it produces a better quality-to-space ratio compared to a CBR file of the same data. The bits available are used more flexibly to encode the sound or video data more accurately, with fewer bits used in less demanding passages and more bits used in difficult-to-encode passages.[2][4]

The disadvantages are that it may take more time to encode, as the process is more complex, and that some hardware might not be compatible with VBR files.[2] VBR may also pose problems when streaming over a dial-up or broadband Internet connection, because the instantaneous bitrate, if unconstrained, may rise above the maximum data transfer speed of the web connection. These problems can be avoided by specifying a maximum instantaneous bitrate during the encoding process.

Also, encryption of VBR-encoded speech (or other signals including video) gives only limited privacy, as the patterns of variation of the bit rate may reveal what language is being spoken.[5]

In the past, many hardware and software players could not decode variable bitrate files properly, partly because the various VBR encoders used were not well developed.[citation needed] This resulted in common use of CBR over VBR for the sake of compatibility. As of December 2006, devices that support only CBR encoded files are largely obsolete, as the vast majority of modern portable music devices and software support VBR encoded files.[citation needed]

Support for VBR in AAC and MP3 files is found in most modern digital audio players, including those released by Microsoft, Apple Inc., Creative Technology, and SanDisk. Early VBR algorithms occasionally introduced audible artifacts when encoding monotone or minimal tones (for example audiobooks and acoustic music). These artifacts often mimicked a "digital chirp" during the quiet portions of the song or when there was only speaking. As VBR encoding algorithms have improved, these problems have been resolved in subsequent generations of the VBR standard.[citation needed]

Methods of VBR encoding

Note that the choice of a variable bitrate (VBR) method only affects the encoding process. Decoding a VBR stream is performed identically in all cases, regardless of how the encoder chooses to allocate bits.

Multi-pass encoding and single-pass encoding

VBR is created using the so-called single-pass encoding or multi-pass encoding. Single-pass encoding analyzes and encodes the data "on the fly" and it is also used in the constant bitrate encoding. Single-pass encoding is used when the encoding speed is most important - e.g. for real-time encoding. Single-pass VBR encoding is usually controlled by the fixed quality setting or by the bitrate range (minimum and maximum allowed bitrate) or by the average bitrate setting. Multi-pass encoding is used when the encoding quality is most important. Multi-pass encoding cannot be used in real-time encoding, live broadcast or live streaming. Multi-pass encoding takes much longer than single-pass encoding, because every pass means one pass through the input data (usually through the whole input file). Multi-pass encoding is used only for VBR encoding, because CBR encoding doesn't offer any flexibility to change the bitrate. The most common multi-pass encoding is two-pass encoding. In the first pass of two-pass encoding, the input data are being analyzed and the result is stored in a log file. In the second pass, the collected data from the first pass are used to achieve the best encoding quality. In a video encoding, two-pass encoding is usually controlled by the average bitrate setting or by the bitrate range setting (minimal and maximal allowed bitrate) or by the target video file size setting.[6][7][8][9][10][11][12][13][14]

Fixed quality

One means of VBR encoding is fixed quantizer or fixed quality encoding. It is usually single-pass encoding. The user specifies a given subjective quality value, and the encoder allocates bits as needed to achieve the given level of quality. This ensures the output stream will have consistent quality throughout. A quality level usually has an associated bitrate range. The disadvantage of this encoding method is that the average bitrate (and hence file size) will not be known ahead of time, and achieving a certain average bitrate requires trial and error. This is typically more of a concern for video than for audio, since file sizes are much larger and encoding can take much longer.

Bitrate range

This VBR encoding method allows the user to specify a bitrate range - a minimum and/or maximum allowed bitrate.[15] Some encoders extend this method with an average bitrate. The minimum and maximum allowed bitrate set bounds in which the bitrate may vary. The disadvantage of this method is that the average bitrate (and hence file size) will not be known ahead of time. The bitrate range is also used in some fixed quality encoding methods, but usually without permission to change a particular bitrate.[16]

Average bitrate

Average bitrate (ABR) encoding may be used to ensure the output stream achieves a predictable long-term average bitrate. This is typically implemented using multi-pass encoding, where one or more initial passes are used to collect data on the stream, and a final pass uses that data to achieve uniform quality at the specified average bitrate.

Alternatively, periodic averaging may be used, either by performing ABR on smaller chunks of the output, or by reacting to fluctuations in the ABR by increasing or reducing the overall quality. These can achieve ABR in a single pass, but do not produce the same degree of uniformity as multi-pass ABR. Some encoders use "ABR encoding" and "multi-pass encoding" to refer to single- and multi-pass ABR encoding respectively.

Some encoders also allow the user to specify a maximum allowed bitrate or maximum quality value. This is sometimes called Constrained Variable Bitrate (CVBR), and is typically applied to ABR algorithms.

The disadvantage of single pass ABR encoding (with or without CVBR) is the opposite of fixed quantizer VBR — the size of the output is known ahead of time, but the resulting quality is unknown, although still better than CBR.[14] Specifying a higher average or maximum may simply make the file bigger with no discernible quality effect, and an increased maximum bitrate may introduce stutter when streaming the file. However, reducing these criteria too low will eventually lead to quite drastic losses in quality. The effect on video is typically an increased blockiness, because the frames are no longer being fully detailed in their rendering.

The multi-pass ABR encoding is more similar to fixed quantizer VBR, because a higher average will really increase the quality.[9]

There are no ideal "one-size-fits-all" settings for ABR in video encoding. For low resolution (320 or 640 lines) video encoded with MPEG-1 or MPEG-2, the average bit rate can be as low as 1000 kbit/s and still achieve acceptable results. For a high resolution video such as 1080, this average may need to be 6000 kbit/s or higher. The main factor in determining a minimum video bitrate is how efficiently the video can be encoded. Using more efficient video encodings such as MPEG-4 will help promote a lower bit rate, while significant amounts of motion or white noise will require a higher bit rate to encode without visible artifacts. In the end, the user may have to use trial and error to achieve a minimum file size for a given video stream, by encoding at a given bitrate and then viewing the results.

File size

VBR encoding using the file size setting is usually multi-pass encoding. It allows the user to specify a specific target file size. In the first pass, the encoder analyzes the input file and automatically calculates possible bitrate range and/or average bitrate. In the last pass, the encoder distributes the available bits among the entire video to achieve uniform quality.[9]

See also


  1. ^ Variable Bitrate, Hydrogenaudio Knowledgebase, 2007,, retrieved 2009-09-30 
  2. ^ a b c AfterDawn Ltd., Glossary - VBR, AfterDawn Ltd.,, retrieved 2009-09-30 
  3. ^ Audacity Wiki, Variable bit rate, Audacity Wiki,, retrieved 2009-09-30 
  4. ^ LAME - VBR (variable bitrate) settings, Hydrogenaudio Knowledgebase, 2009,, retrieved 2009-09-30 
  5. ^ Spot me if you can: Uncovering Spoken Phrases in Encrypted VoIP Conversations (C.V. Wright, L. Ballard, S.E. Coull, F. Monrose, and G.M. Masson)
  6. ^ AfterDawn Ltd., Glossary - Multi-pass encoding, AfterDawn Ltd.,, retrieved 2009-09-30 
  7. ^ Digital Digest (2007), Multi-pass Encoding, Digital Digest,, retrieved 2009-09-30 
  8. ^ (2004-04-20), Ripping Glossary by Doom9 - Multipass encoding,,, retrieved 2009-09-30 
  9. ^ a b c Avidemux Wiki - H.264/AVC options explained - Rate Control - Encoding Mode, Avidemux wiki-documentation site, 2009,, retrieved 2009-09-30 
  10. ^ MPlayer team, Encoding with MEncoder - Encoding with the x264 codec, MPlayer team,, retrieved 2009-10-01 
  11. ^ DVDGuy (2006-06-21), Xvid Setup Guide, Digital Digest,, retrieved 2009-10-01 
  12. ^ Digital Digest (2001-08-27), DivX 4.x Codec Setup Guide, Digital Digest,, retrieved 2009-10-04 
  13. ^ TMPGEnc Explained V2.0.1,, 2001-08-27,, retrieved 2009-10-04 
  14. ^ a b Average Bitrate, Hydrogenaudio Knowledgebase, 2007,, retrieved 2009-10-01 
  15. ^ Variable Bitrate, Hydrogenaudio Knowledgebase, 2007,, retrieved 2009-10-04 
  16. ^ LAME - VBR, Hydrogenaudio Knowledgebase, 2007,, retrieved 2009-10-04 

Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Variable bitrate — (ou Variable bit rate, ou encore VBR), est un terme anglais que l on peut traduire en français par : « taux d échantillonnage variable », en opposition au constant bitrate (CBR). Description Lorsque l on se réfère aux codecs, un… …   Wikipédia en Français

  • Variable Bitrate — Die Datenübertragungsrate (auch Datentransferrate, Datenrate oder umgangssprachlich Verbindungsgeschwindigkeit, Übertragungsgeschwindigkeit, und nicht ganz zutreffend auch „Kapazität“, „Bandbreite“ genannt) bezeichnet die digitale Datenmenge, die …   Deutsch Wikipedia

  • Variable Bit Rate — Variable bitrate Variable bitrate (ou Variable bit rate, ou encore VBR), est un terme anglais que l on peut traduire en français par : « taux d échantillonnage variable », en opposition au constant bitrate (CBR). Description… …   Wikipédia en Français

  • Variable bit rate — Variable bitrate Variable bitrate (ou Variable bit rate, ou encore VBR), est un terme anglais que l on peut traduire en français par : « taux d échantillonnage variable », en opposition au constant bitrate (CBR). Description… …   Wikipédia en Français

  • Bitrate — Die Bitrate bezeichnet das Verhältnis einer Datenmenge zu einer Zeit, typischerweise gemessen in Bit pro Sekunde, abgekürzt als Bit/s oder bps. Sie bezeichnet die Ausgabemenge von Informationseinheiten bei digitalen, auf konstante Ausgabezeit… …   Deutsch Wikipedia

  • Average bitrate — refers to the average amount of data transferredper unit of time, usually measured per second. This is commonly referred to for digital music or video. An MP3 file, for example, that has an average bit rate of 128 kbit/s transfers, on average,… …   Wikipedia

  • Bit rate variable — Saltar a navegación, búsqueda VBR son las siglas de variable bitrate (bitrate variable). El bitrate es la relación de bits por segundo que consume un fichero de audio, o de vídeo. Este método de compresión consigue una mayor calidad de sonido… …   Wikipedia Español

  • Constant bitrate — (CBR) is a term used in telecommunications, relating to the quality of service. Compare with variable bitrate. When referring to codecs, constant bit rate encoding means that the rate at which a codec s output data should be consumed is constant …   Wikipedia

  • Tasa de bits variable — Este artículo o sección necesita referencias que aparezcan en una publicación acreditada, como revistas especializadas, monografías, prensa diaria o páginas de Internet fidedignas. Puedes añadirlas así o avisar …   Wikipedia Español

  • Constant bitrate — Pour les articles homonymes, voir CBR. Un Constant bitrate (ou Constant bit rate ou encore CBR), est un terme anglais que l on peut traduire en français par : « taux d échantillonnage fixe », en opposition au variable bitrate (VBR) …   Wikipédia en Français

Share the article and excerpts

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