libvpx is a free software video codec library from Google and the Alliance for Open Media (AOMedia). It serves as the reference software implementation for the VP8 and VP9 video coding formats. For AV1, a special fork named libaom was created that was stripped of backwards compatibility with VP8/VP9.
History
libvpx originates from the video codec company On2 Technologies, which sold its first software codec in the mid-1990s. Google released libvpx as free software on May 19, 2010, following its acquisition of On2 Technologies for an estimated over 120 million US dollars. In June 2010, Google amended the VP8 codec software license to the 3-clause BSD license after contention over whether the original license qualified as open source.
Preliminary support for VP9 was added to libvpx on June 17, 2013, and it was officially introduced with version 1.3 on December 2, 2013, which also added support for lossless compression. Version 1.4.0 (April 2015) added support for encoding VP9 with 10-bit and 12-bit bit depth, 4:2:2 and 4:4:4 chroma subsampling, and multithreaded decoding/encoding. Versions 1.5 through 1.8 delivered significant speed improvements for both encoding and decoding.
Features
libvpx implements single-pass and two-pass encoding modes, with either bitrate or quality target settings. It offers an asymmetric codec — encoding takes much longer than decoding — and allows configuring encoding expense independently from decoding complexity. A lookahead of up to 25 frames can be configured, which improves compression efficiency but introduces latency. libvpx supports Rec. 601, Rec. 709, Rec. 2020, SMPTE-170, SMPTE-240, and sRGB color spaces.
Performance
At high resolutions (e.g., UHD), VP9 encoded by libvpx for video-on-demand applications provides significant improvement over H.264 encoded by x264. HEVC encoded by x265 may achieve even better quality, but the royalty-free nature of VP9 makes it a compelling option for high-resolution video delivery on supported platforms.
Technology
libvpx is written in C and assembly language. It is published in source code under the terms of the revised BSD license. It ships with the command-line tools vpxenc and vpxdec that build on its functionality.
Usage
libvpx is used by major over-the-top video services including YouTube, Netflix, Amazon, JW Player, Brightcove, and Telestream. As of 2017, Netflix alone accounted for nearly a third of all internet traffic in the United States.
License
libvpx is released under the New BSD license. It is available as free software and is supported by the WebM community project.