Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Variable bitrate
(section)
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!
==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" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)