Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Variable bitrate
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Files in which the rate of bit transmission is non-constant}} '''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]], [[Windows Media Audio|WMA]] and [[Advanced Audio Coding|AAC]] audio files can optionally be encoded in VBR, while [[Opus (audio format)|Opus]] and [[Vorbis]] are encoded in VBR by default.<ref name="hydrogen">{{Citation |title=Variable Bitrate |url=http://wiki.hydrogenaud.io/index.php?title=VBR |year=2007 |publisher=Hydrogenaudio |format=knowledgebase |access-date=2009-09-30 |archive-date=2014-07-06 |archive-url=https://web.archive.org/web/20140706173623/http://wiki.hydrogenaud.io/index.php?title=VBR |url-status=live }}</ref><ref name="afterdawn">{{Citation |title=Glossary |url=http://www.afterdawn.com/glossary/terms/vbr.cfm |contribution=VBR |publisher=AfterDawn |access-date=2009-09-30 |archive-date=2010-01-28 |archive-url=https://web.archive.org/web/20100128060334/http://www.afterdawn.com/glossary/terms/vbr.cfm |url-status=live }}</ref><ref name="audacity">{{Citation |title=Variable bit rate |url=http://wiki.audacityteam.org/index.php?title=Variable_bit_rate |publisher=Audacity |format=wiki |access-date=2009-09-30 |archive-date=2009-09-08 |archive-url=https://web.archive.org/web/20090908005152/http://wiki.audacityteam.org/index.php?title=Variable_bit_rate |url-status=live }}</ref> 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 (codec)|Dirac]] and other video compression formats.{{citation needed|date=September 2014}} Additionally, variable rate encoding is inherent in [[lossless compression]] schemes such as [[FLAC]] and [[Apple Lossless]].{{citation needed|date=September 2014}} ==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.<ref name="afterdawn" /><ref name="hydrogen-lame-vbr">{{Citation |title=LAME β VBR (variable bitrate) settings |url=http://wiki.hydrogenaud.io/index.php?title=Recommended_LAME#VBR_.28variable_bitrate.29_settings |year=2009 |publisher=Hydrogenaudio |format=knowledgebase |access-date=2009-09-30 |archive-date=2014-06-06 |archive-url=https://web.archive.org/web/20140606082504/http://wiki.hydrogenaud.io/index.php?title=Recommended_LAME#VBR_.28variable_bitrate.29_settings |url-status=live }}</ref> 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.<ref name="afterdawn" /> ==Methods of VBR encoding== ===Multi-pass encoding and single-pass encoding=== VBR is created using 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 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 media|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 is being analyzed and the result is stored in a log file. In the second pass, the collected data from the first pass is 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.<ref>*{{Citation |title=Glossary |url=http://www.afterdawn.com/glossary/terms/multipass.cfm |contribution=Multi-pass encoding |publisher=AfterDawn |access-date=2009-09-30 |archive-date=2009-09-18 |archive-url=https://web.archive.org/web/20090918085940/http://www.afterdawn.com/glossary/terms/multipass.cfm |url-status=live }} *{{Citation | format=Wiki | url=http://wiki.digital-digest.com/index.php/Multi-pass_Encoding | title=Multi-pass Encoding | publisher=Digital Digest | year=2007 | access-date=2009-09-30 | archive-date=2009-10-01 | archive-url=https://web.archive.org/web/20091001065433/http://wiki.digital-digest.com/index.php/Multi-pass_Encoding | url-status=live }} *{{Citation | url=http://www.doom9.org/glossary.htm#mpass | contribution=Multipass encoding | title=Ripping Glossary | date=2004-04-20 | publisher=Doom 9 | access-date=2009-09-30 | archive-date=2009-02-20 | archive-url=https://web.archive.org/web/20090220141534/http://www.doom9.org/glossary.htm#mpass | url-status=live }} *{{Citation | contribution=Rate Control β Encoding Mode | format=wiki-documentation | url=http://www.avidemux.org/admWiki/index.php?title=H264#General | title=H.264/AVC options explained | publisher=Avidemux | year=2009 | access-date=2009-09-30 | archive-date=2009-07-29 | archive-url=https://web.archive.org/web/20090729234601/http://www.avidemux.org/admWiki/index.php?title=H264#General | url-status=live }}</ref><ref>*{{Citation |title=Encoding with MEncoder |url=http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html#menc-feat-x264-encoding-options-misc-preferences |contribution=Encoding with the x264 codec |place=HU |publisher=MPlayer team |access-date=2009-10-01 |archive-date=2010-03-01 |archive-url=https://web.archive.org/web/20100301114015/http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html#menc-feat-x264-encoding-options-misc-preferences |url-status=live }} *{{Citation | url=http://www.divx-digest.com/articles/xvid_setup_page2.html#encoding | author=DVDGuy | title=Xvid Setup Guide | date=2006-06-21 | publisher=Digital Digest | access-date=2009-10-01 | archive-date=2010-03-04 | archive-url=https://web.archive.org/web/20100304135848/http://www.divx-digest.com/articles/xvid_setup_page2.html#encoding | url-status=live }} *{{Citation | url=http://www.divx-digest.com/articles/divx4_setup.html | title=DivX 4.x Codec Setup Guide | date=2001-08-27 | publisher=Digital Digest | access-date=2009-10-04 | archive-date=2010-03-22 | archive-url=https://web.archive.org/web/20100322231825/http://www.divx-digest.com/articles/divx4_setup.html | url-status=live }} *{{Citation | url=http://www.videohelp.com/oldguides/tmpgencexplained.htm | title=TMPGEnc Explained V2.0.1 | date=2001-08-27 | publisher=Video help | access-date=2009-10-04 | archive-date=2011-06-07 | archive-url=https://web.archive.org/web/20110607222622/http://www.videohelp.com/oldguides/tmpgencexplained.htm | url-status=live }} *{{Citation | format=knowledgebase | url=http://wiki.hydrogenaud.io/index.php?title=Average_Bitrate | title=Average Bitrate | publisher=Hydrogenaudio | year=2007 | access-date=2009-10-01 | archive-date=2014-07-06 | archive-url=https://web.archive.org/web/20140706173834/http://wiki.hydrogenaud.io/index.php?title=Average_Bitrate | url-status=live }}</ref> ===Bitrate range=== This VBR encoding method allows the user to specify a bitrate range β a minimum and/or maximum allowed bitrate.<ref name="hydrogen-VBR">{{Citation |title=Variable Bitrate |url=http://wiki.hydrogenaud.io/index.php?title=Variable_Bitrate |year=2007 |publisher=Hydrogenaudio |format=knowledgebase |access-date=2009-10-04 |archive-date=2014-07-06 |archive-url=https://web.archive.org/web/20140706173840/http://wiki.hydrogenaud.io/index.php?title=Variable_Bitrate |url-status=live }}</ref> 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.<ref name="hydrogen-LAME-VBR">{{Citation |title=LAME β VBR |url=http://wiki.hydrogenaud.io/index.php?title=LAME#VBR_.28variable_bitrate.29_settings |year=2007 |publisher=Hydrogenaudio |format=knowledgebase |access-date=2009-10-04 |archive-date=2014-06-06 |archive-url=https://web.archive.org/web/20140606173223/http://wiki.hydrogenaud.io/index.php?title=LAME#VBR_.28variable_bitrate.29_settings |url-status=live }}</ref> ===Average bitrate=== The disadvantage of single pass ABR encoding (with or without Constrained Variable Bitrate) 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.<ref name="hydrogen-ABR">{{Citation |title=Average Bitrate |url=http://wiki.hydrogenaud.io/index.php?title=Average_Bitrate |year=2007 |publisher=Hydrogenaudio |format=knowledgebase |access-date=2009-10-01 |archive-date=2014-07-06 |archive-url=https://web.archive.org/web/20140706173834/http://wiki.hydrogenaud.io/index.php?title=Average_Bitrate |url-status=live }}</ref> The multi-pass ABR encoding is more similar to fixed quantizer VBR, because a higher average will really increase the quality.<ref name="avidemux-h264">{{Citation |title=H.264/AVC options explained |url=http://www.avidemux.org/admWiki/index.php?title=H264#General |year=2009 |contribution=Rate Control β Encoding Mode |publisher=Avidemux |format=wiki-documentation |access-date=2009-09-30 |archive-date=2009-07-29 |archive-url=https://web.archive.org/web/20090729234601/http://www.avidemux.org/admWiki/index.php?title=H264#General |url-status=live }}</ref> ===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.<ref name="avidemux-h264" /> ==See also== * [[Bitrate]] * [[Average bitrate]] * [[Constant bitrate]] * [[Adaptive bitrate streaming]] == References == {{Reflist}} {{Compression Methods}} [[Category:Codecs]] [[Category:Data transmission]] [[Category:Data compression]] [[de:Bitrate#Variable Bitrate]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Citation
(
edit
)
Template:Citation needed
(
edit
)
Template:Compression Methods
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Search
Search
Editing
Variable bitrate
Add topic