| libvpx | |
|---|---|
| Original author | On2 Technologies /Google |
| Developer | Alliance for Open Media |
| Initial release | May 19, 2010; 15 years ago (2010-05-19)[1][2] |
| Stable release | |
| Repository | |
| Written in | C,assembly |
| Operating system | Unix-like (includingLinux,FreeBSD andMac OS X),Windows |
| Type | Video encoder and decoder |
| License | New BSD license |
| Website | www |
libvpx is afree software video codeclibrary fromGoogle and theAlliance for Open Media (AOMedia). It serves as thereference software implementation for theVP8 andVP9 video coding formats, and forAV1 a specialfork namedlibaom that was stripped of backwards compatibility.
As free software it is published also insource code under the terms of the revisedBSD license. It ships with thecommandline toolsvpxenc/aomenc andvpxdec/aomdec that build on its functionality.
libvpx originates from the video codec companyOn2 Technologies that sold its first software codec in mid-90s.
libvpx was released as free software by Google on May 19, 2010, after the acquisition of On2 Technologies for an estimate of over 120 million US dollars.[2][4]
In June 2010, Google amended the VP8 codec software license to the3-clause BSD license[5][6][7]after some contention over whether the original license was actuallyopen source.[8][9][10]
Google was criticised for dumping untidy code with bad documentation for the initial release of libvpx and developing behind closed doors without involving the community in the process.[11]The development process was opened after the release of VP9.
Preliminary support for VP9 was added to libvpx on June 17, 2013. It was officially introduced with the release of version 1.3 on December 2, which also supportslossless compression.[12]
In April 2015, Google released a significant update to its libvpx library, with version 1.4.0 adding support for encoding VP9 with 10-bit and 12-bitbit depth, 4:2:2 and 4:4:4chroma subsampling (VP9 profiles 1, 2, and 3), and VP9 multithreaded decoding/encoding.[13]
Versions 1.5 (November 2015), 1.6 (July 2016), 1.7[14] (January 2018), and 1.8[15] (February 2019) delivered significant speedups, both for encoding and decoding.
libvpx implements single-pass andtwo-pass encoding modes, with either bitrate or quality target settings.
libvpx offers an asymmetric codec – with encoding taking much longer than decoding – and options for configuring encoding expense independently from decoding complexity.A lookahead of up to 25 frames can be configured, which improves compression efficiency but introduces latency and thereby hurts real-time performance.
libvpx includes a mode where the maximum CPU resources possible will be used while still keeping the encoding speed almost exactly equivalent to the playback speed (realtime), keeping the quality as high as possible without lag.
libvpx supportsRec. 601,Rec. 709,Rec. 2020,SMPTE-170,SMPTE-240, andsRGBcolor spaces.
At high resolutions (e.g.,UHD) VP9 encoded by libvpx for VOD applications provides a significant improvement overH.264 encoded byx264.[16]HEVC encoded byx265 may achieve even better quality,[16] but the royalty-free nature of VP9 makes it a compelling option for delivering high resolution video on supported platforms.
Decoding performance is relatively slow, partially in order to keep the code base easier to maintain.[17]Compared to the initial release of libvpx, ffvp8 from the FFmpeg project improved performance by 22 to over 66%.[11] In 2016, alternative VP9 decoders still achieved 25–50% faster decoding.[18][19]
libvpx is written inC andassembly language. It does not have completeSIMD coverage as of 2015.[17]
libvpx is used by majorOTT video services includingYouTube,Netflix,Amazon,JW Player,Brightcove, andTelestream, among which are the biggest sources of internet traffic with Netflix alone accounting for nearly a third of all internet traffic in the United States as of 2017.[20][21]
There are alternatives for decoding VP8 and VP9, both commercial and closed source as well as open source. For encoding there are only commercial alternatives and some unfinished experimental software for VP8 including xvp8 as of 2016.