![]() | |
Internet media type | video/VP8 |
---|---|
Developed by | On2 Technologies,Google |
Initial release | September 13, 2008 |
Type of format | Video coding format |
Contained by | WebM,Matroska |
Extended from | VP7 |
Extended to | VP9 |
Standard | RFC 6386 |
Open format? | Yes (specification underCC-by)[1] |
Free format? | See§ History |
VP8 is anopen androyalty-freevideo compression format released byOn2 Technologies in 2008.
Initially released as aproprietary successor to On2's previousVP7 format, VP8 was released as an open and royalty-free format in May 2010 after Google acquired On2 Technologies. Google provided an irrevocable patent promise on itspatents for implementing the VP8 format, and released a specification of the format under theCreative Commons Attribution 3.0 license.[1] That same year, Google also releasedlibvpx, thereference implementation of VP8, under the revisedBSD license.[2]
Opera,Firefox,Chrome,Pale Moon, andChromium support playing VP8 video inHTML video tag.[3]Internet Explorer officially supports VP8 if the user has theDirectShow filter installed.[4][5]According to Google, VP8 is mainly used in connection withWebRTC and as a format for short looped animations, as a replacement for theGraphics Interchange Format (GIF).[6]
VP8 can be multiplexed into theMatroska-based container formatWebM along withVorbis andOpus audio. The image formatWebP is based on VP8's intra-frame coding. VP8's direct successor,VP9, and the royalty-freeAV1 codec from theAlliance for Open Media are based on VP8.[7]
VP8 only supportsprogressive scan video signals with 4:2:0chroma subsampling and 8 bits persample.In its first public version, On2's VP8 implementation supportsmulti-core processors with up to 64 cores simultaneously. At least in the implementation (from August 2011), VP8 is comparatively badly adapted to high resolutions (HD).With only three reference frame buffers needed, VP8 enables decoder implementations with a relatively smallmemory footprint.The format features a pure intra mode, i.e. using only independently coded frames without temporal prediction, to enable random access in applications like video editing.
VP8 is a traditional block-basedtransform coding format. It has much in common withH.264, e.g. some prediction modes.[8] At the time of first presentation of VP8, according to On2 the in-loop filter[9] and the Golden Frames[10] were among the novelties of this iteration. The first definition of such a filter is already found in theH.263 standard, though, and Golden Frames were already in use in VP5[11] and VP7.[12]
Thediscrete cosine transform (DCT) on 4×4 blocks and theWalsh–Hadamard transform (WHT) serve as basic frequency transforms.A maximum of three frames can be referenced for temporal prediction: the last Golden Frame (may be an intra frame), alternate reference frame, and the directly preceding frame. The so-called alternate reference frames (altref) can serve as reference-only frames for displaying them can be deactivated. In this case, the encoder can fill them with arbitrary useful image data, even from future frames, and thereby serve the same purpose as the b-frames of the MPEG formats.[13]Similar macroblocks can be assigned to one of up to four (even spatially disjoint) segments and thereby share parameters like the reference frame used, quantizer step size, or filter settings.VP8 offers two different adjustabledeblocking filters that are integrated into the codec loops (in-loop filtering).Many coding tools use probabilities that are calculated continuously from recent context, starting at each intra frames.Macro blocks can comprise 4×4, 8×8, or 16×16 samples.Motion vectors have quarter-pixel precision.
VP8 was first released by On2 Technologies on September 13, 2008, as On2 TrueMotion VP8, replacing its predecessor,VP7.[14][15]
AfterGoogle acquired On2 in February 2010,[16]calls for Google to release the VP8 source code were made. Most notably, theFree Software Foundation issued anopen letter on March 12, 2010, asking Google to gradually replace the usage ofAdobe Flash Player andH.264 onYouTube with a mixture ofHTML5 and a freed VP8.[17]
Word of an impending open-source release announcement got out on April 12, 2010.[18] On May 19, at itsGoogle I/O conference, Google released the VP8 codec software under aBSD-like license and the VP8bitstream format specification under an irrevocable free patent license.[19][20][21] This made VP8 the second product from On2 Technologies to be opened, following their donation of theVP3 codec in 2002 to theXiph.Org Foundation,[22] from which they derived theTheora codec.
In February 2011,MPEG LA invited patent holders to identify patents that may be essential to VP8 in order to form a joint VP8patent pool. As a result, in March theUnited States Department of Justice (DoJ) started an investigation into MPEG LA for its role in possibly attempting to stifle competition.[23][24]In July 2011, MPEG LA announced that 12 patent holders had responded to its call to form a VP8patent pool, without revealing the patents in question,[25] and despiteOn2 having gone to great lengths to avoid such patents.[26]
In November 2011, theInternet Engineering Task Force published the informational RFC 6386, VP8 Data Format and Decoding Guide.
In March 2013, MPEG LA announced that it had dropped its effort to form a VP8 patent pool after reaching an agreement with Google to license the patents that it alleges "may be essential" for VP8 implementation, and granted Google the right to sub-license these patents to any third-party user of VP8 orVP9.[27][28] This deal has cleared the way for possibleMPEG standardisation as its royalty-free internet video codec, after Google submitted VP8 to the MPEG committee in January 2013.[29]
In March 2013,Nokia asserted a patent claim againstHTC and Google for the use of VP8 in Android in a German court;[30] however, on August 5, 2013, the webm project announced that the German court has ruled that VP8 does not infringe Nokia's patent.[31]
Nokia has made an official intellectual property rights (IPR) declaration to the IETF with respect to the VP8 Data Format and Decoding Guide listing 64 granted patents and 22 pending patent applications.[32]
Thereference implementation of a VP8 (and VP9) codec is found in theprogramming library libvpx which is released asfree software.It has a mode for one-pass andtwo-pass encoding, respectively, while the one-pass mode is known as being broken and not offering effective control over the target bitrate.[33][failed verification][34][failed verification]
Currently, libvpx is primary software library capable of encoding VP8 video streams,[35] but at least one independent implementation exists inffvp8enc.
AVideo for Windows wrapper of the VP8 codec based on the Google VP8 library (FourCC: VP80) is available.[36]
The WebM Project hardware team inFinland released anRTL hardware encoder for VP8 that is available at no cost for semiconductor manufacturers.[37][38]
TheNvidiaTegra mobile chipsets have full VP8 hardware encoding and decoding (sinceTegra 4).[39]
Nexus 5 could use hardware encoding[40]
libvpx is capable of decoding VP8 video streams.[41]
On July 23, 2010, Fiona Glaser, Ronald Bultje, and David Conrad of theFFmpeg Team announced the ffvp8 decoder. Through testing, they determined that ffvp8 was faster than Google's own libvpx decoder.[42] The WebM Project hardware team released anRTL hardware decoder for VP8, that is releasable to semiconductor companies at zero cost.[38][43] TATVIK Technologies announced a VP8 decoder that is optimized for theARM Cortex-A8 processor.[44]Marvell's ARMADA 1500-mini chipset has VP8 SD and HD hardware decoding support (used inChromecast).[45]Intel has full VP8 decoding support built into theirBay Trail chipsets.[46]Intel Broadwell also adds VP8 hardware decoding support.[47]
Microsoft Windows | macOS | BSD /Linux | Android OS | iOS | |
---|---|---|---|---|---|
Codec support | Yes | Yes | Yes | Yes | Yes |
Container support | On Windows 10 Anniversary Update (1607): WebM (.webm is not recognised; requires pseudo extension) Matroska (.mkv) On Windows 10 October 2018 Update (1809): WebM (.webm is recognised officially) | WebM (.webm) - Introduced in macOS 11.3 | WebM (.webm) Matroska (.mkv) | WebM (.webm) Matroska (.mkv) | WebM (.webm) - Introduced in iOS 17.4 |
Notes | OnWindows 10: - OnAnniversary Update (1607), limited support is available inMicrosoft Edge (viaMSE only) andUniversal Windows Platform apps. - OnApril 2018 Update (1803) withWeb Media Extensions preinstalled, Microsoft Edge (EdgeHTML 17) supports VP8 videos embedded in <video> tags. - OnOctober 2018 Update (1809),VP9 Video Extensions is preinstalled. It enables encoding of VP8 and VP9 content on devices that don't have a hardware-based video encoder.[48] | - | - Support introduced in Android 2.3.3+ - Streamable in Android 4.0+ |
Also on May 19, 2010, theWebM Project was launched, featuring contributions from "Mozilla,[49] Opera,[50][51] Google[52] and more than forty other publishers, software and hardware vendors" in a major effort to use VP8 as the video format for HTML5.[53] In the WebMcontainer format, the VP8 video is used withVorbis orOpus audio.[54][55] Internet Explorer 9 will support VP8 video playback if the proper codec is installed.[5]Android is WebM-enabled from version 2.3 - Gingerbread.[56] Since Android 4.0, VP8 could be read inside mkv[57] and WebM could be streamed.[58]Adobe also announced that theFlash Player will support VP8 playback in a future release.[59]
On September 30, 2010, Google announcedWebP, their new image format, on theChromium blog.[60]WebP is based on VP8's intra-frame coding and uses a container based onResource Interchange File Format (RIFF).
WhileH.264/MPEG-4 AVC contains patented technology and requires licenses from patent holders and limited royalties for hardware, Google has irrevocably released the VP8 patents it owns under a royalty-free public license.[19][61]
According to a comparison of VP8 (encoded with the initial release of libvpx) andH.264 conducted by StreamingMedia, it was concluded that "H.264 may have a slight quality advantage, but it's not commercially relevant" and that "Even watching side-by-side (which no viewer ever does), very few viewers could tell the difference". They also stated that "H.264 has an implementation advantage, not a technology advantage."[62]
Google claims that VP8 offers the "highest quality real-time video delivery"[63] and 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.On the other hand, a review conducted bystreamingmedia.com in May 2010 concluded thatH.264 offers slightly better quality than VP8.[64]
In September 2010 Fiona Glaser, a developer of thex264 encoder, gave several points of criticism for VP8, claiming that its specification was incomplete, and the performance of the encoder's deblocking filter was inferior to x264 in some areas.[65] In its specification, VP8 should be a bit better than H.264 Baseline Profile and Microsoft'sVC-1.Encoding is somewhere betweenXvid and VC-1. Decoding is slower thanFFmpeg's H.264, but this aspect can hardly be improved due to the similarities to H.264. Compression-wise, VP8 offers better performance thanTheora andDirac. According to Glaser, the VP8 interface lacks features and is buggy, and the specification is not fully defined and could be considered incomplete. Much of the VP8 code is copy-pastedC code, and since the source constitutes the actual specification, any bugs will also be defined as something that has to be implemented to be in compliance.
In 2010, it was announced that theWebM audio/video format would be based on aprofile of theMatroska container format together with VP8 video andVorbis audio.[55]
I expect a spec will eventually be written, but it was a bit obnoxious of Google — both to the community and to their own developers — to release so early that they didn't even have their own documentation ready.