# VP8

**VP8** 是谷歌于2010年5月发布的一种开放、免版税的视讯压缩编解码器，作为WebM项目的视频格式，定位为需授权使用的H.264/AVC标准的免费替代方案。它是一种基于块的混合编解码器，与H.264大体架构相同：每一帧被切分为块，每块根据已解码的内容进行预测，仅对残差进行变换和量化，再由熵编码器将结果打包进比特流。<sup>[1](https://repository.rit.edu/theses/3184/)</sup><sup> • </sup><sup>[2](https://www.forasoft.com/learn/video-encoding/articles/vp8-vp9-explained)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由On2 Technologies开发；谷歌于2010年2月完成对On2的收购，明确表示目的是获得VP8的权利<sup>[3](https://doi.org/10.1109/ICCE-Berlin.2011.6031852)</sup> |
| 发布 | 2010年5月，随源代码、规范及永久专利授权一同发布，作为WebM格式的一部分<sup>[1](https://repository.rit.edu/theses/3184/)</sup><sup> • </sup><sup>[4](https://www.engadget.com/2010-05-19-google-launches-open-webm-web-video-format-based-on-vp8.html)</sup> |
| 标准化 | RFC 6386《VP8数据格式与解码指南》，2011年11月；RTP负载格式见RFC 7741<sup>[5](https://datatracker.ietf.org/doc/rfc6386/)</sup><sup> • </sup><sup>[6](https://www.rfc-editor.org/rfc/pdfrfc/rfc7741.txt.pdf)</sup> |
| 参考帧 | 三个：前一帧、金帧和altref帧，而H.264/AVC最多可使用16个任意帧；无双向预测帧<sup>[7](https://patents.google.com/patent/US20210337242A1/en)</sup> |
| 像素格式 | 仅支持8位YUV 4:2:0；16x16亮度宏块加两个8x8色度块；4x4 DCT变换<sup>[8](https://research.google.com/pubs/archive/37073.pdf)</sup><sup> • </sup><sup>[9](https://android.googlesource.com/platform/external/libvpx/%2B/ics-plus-aosp/vpx/vp8.h)</sup> |
| WebRTC地位 | 根据RFC 7742，WebRTC浏览器及非浏览器必须实现VP8，与H.264约束基线并列<sup>[10](https://www.rfc-editor.org/info/rfc7742/)</sup> |
| 许可 | 免版税比特流许可；2013年3月与MPEG LA达成协议，获得11家专利持有人可能对VP8必要的技术许可<sup>[11](https://www.webmproject.org/license/bitstream/)</sup><sup> • </sup><sup>[12](https://arstechnica.com/information-technology/2013/03/google-mpeg-la-agree-to-royalty-free-terms-for-vp8-video-codec/)</sup> |

## 起源与发布

On2 Technologies以TrueMotion编解码器系列闻名，包括VP3——它成为开源Theora编解码器的基础——以及VP6，后者被用作[Macromedia Flash 8](https://www.edgepedia.org/zh/macromedia-flash-8)中的专有[视频编解码器](https://www.edgepedia.org/zh/video-codec)。谷歌于2010年2月完成对On2的收购，明确表示目的是获得VP8的权利。<sup>[3](https://doi.org/10.1109/ICCE-Berlin.2011.6031852)</sup>

2010年5月，谷歌推出WebM项目，以VP8为核心。VP8的规范和源代码以开放许可证发布，WebM将VP8与Vorbis音频编解码器封装在源自Matroska的容器中。<sup>[4](https://www.engadget.com/2010-05-19-google-launches-open-webm-web-video-format-based-on-vp8.html)</sup><sup> • </sup><sup>[13](https://www.webmproject.org/about/)</sup> 参考编码器和解码器以BSD风格许可证作为libvpx库维护。<sup>[2](https://www.forasoft.com/learn/video-encoding/articles/vp8-vp9-explained)</sup><sup> • </sup><sup>[14](https://github.com/webmproject/libvpx/)</sup>

## 技术设计

VP8仅使用8位YUV 4:2:0图像格式。每一帧被划分为16x16亮度像素的宏块加两个8x8色度块，每个亮度宏块再分为十六个4x4块用于预测和变换。<sup>[8](https://research.google.com/pubs/archive/37073.pdf)</sup><sup> • </sup><sup>[15](https://chromium.googlesource.com/webm/bitstream-guide/%2B/4570a5aedb3c3e32d88fc158306f46245c818476/text_src/02.00__vp8-bitstream__format-overview.txt)</sup>

**帧类型与参考。** VP8中相当于I帧的是关键帧；唯一的另一种帧类型是帧间帧，对应P帧。缺少双向预测帧是VP8与MPEG系列编解码器的区别所在。H.264/AVC允许最多16个任意参考帧，而VP8限于三个：当前帧之前编码的帧、金帧和altref帧。后两者默认指向前一个关键帧，但可以在图像组内不可逆地改为指向任何先前的帧间帧。虽然规范中未定义B帧，但编码器可以在保持合规的同时模拟它们：一个未来的帧可以编码并传输而不被显示（使用show frame标志），然后作为altref引用用于双向风格预测。<sup>[7](https://patents.google.com/patent/US20210337242A1/en)</sup>

**运动补偿。** 帧间预测对亮度使用四分之一像素精度的运动矢量，采用单级插值过程和六抽头滤波器，例如半像素位置的抽头为[3, -16, 77, 77, -16, 3]/128。色度运动矢量由对应的亮度矢量在宏块内平均得出，使用四抽头双三次滤波器达到八分之一像素精度。<sup>[8](https://research.google.com/pubs/archive/37073.pdf)</sup>

**熵编码。** 除了少量以原始值编码的头部比特外，大部分压缩数据使用布尔算术编码器编码，每次编码一个二进制值。符号通过伪哈夫曼树方案进行二值化，使宏块模式、参考帧类型、运动矢量和量化系数具有一致的编码风格，提高了硬件和软件实现中的可复用性。<sup>[8](https://research.google.com/pubs/archive/37073.pdf)</sup>

**环路滤波。** 所有宏块重建完成后，对整个帧应用环路滤波器以减少宏块和子块边界处的块效应；之所以称为环路滤波器，是因为它在编码环路内部运行，为预测后续帧的缓冲区提供输入。VP8提供普通滤波器和计算代价更低的简单滤波器，滤波强度可以逐帧和逐段调整，或通过分割逐宏块覆盖，使编码器能根据内容自适应滤波。<sup>[5](https://datatracker.ietf.org/doc/rfc6386/)</sup><sup> • </sup><sup>[8](https://research.google.com/pubs/archive/37073.pdf)</sup>

## 与H.264/AVC的比较

谷歌宣称VP8是H.264/AVC的免版税替代方案，承诺可比的画质、数据率和编码速度。<sup>[3](https://doi.org/10.1109/ICCE-Berlin.2011.6031852)</sup> 独立评估结果则喜忧参半。在2012年IEEE国际[多媒体](https://www.edgepedia.org/zh/multimedia)研讨会上一项由韦恩州立大学的Yousef Sharrab和Nabil J. Sarhan进行的研究中，使用从QCIF（176x144）到2160p（3840x2160）的29个原始序列，H.264在直至并包括720p的所有分辨率下PSNR和SSIM均优于VP8，而VP8在1080p和2160p下取得更好结果。同一研究发现VP8的帧内和帧间预测算法比H.264的对应算法更简单，从而导致更快的编码速度和更低的编码器功耗。<sup>[16](https://nabil.eng.wayne.edu/_resources/pdf/detailed-comparitive.pdf)</sup> 另一项分析发现VP8在低分辨率图像下以更低比特率提供更高质量，归因于其高性能熵编码器和非连续宏块分割，并得出结论认为，总体而言，VP8的功能集复杂度低于H.264。<sup>[1](https://repository.rit.edu/theses/3184/)</sup> 移动流媒体工作中的主观测试显示H.264略优于VP8，VP8因缺乏硬件支持而编码和解码时间更长。<sup>[17](https://citeseerx.ist.psu.edu/document?doi=f7f5d32b9690abd22423a84bdf2f70b2f91441de&repid=rep1&type=pdf)</sup>

## 许可与专利

谷歌以免版税的不可撤销专利许可发布VP8规范：《WebM比特流规范许可证》授予永久、全球、非独占、免费的许可来实现WebM规范，任何当事方若提起专利诉讼指控WebM实现侵权，其获得的该项许可将终止。<sup>[11](https://www.webmproject.org/license/bitstream/)</sup> 另有一份免版税的VP8专利交叉许可协议，涵盖谷歌及其他几家公司在实现VP8时必要的专利主张，以换取各被许可方的互惠许可，以及不就实现VP8所必需的专利主张起诉其他被许可方的承诺。<sup>[18](https://www.webmproject.org/cross-license/vp8/faq/)</sup>

专利不确定性于2013年3月得到解决，谷歌和MPEG LA宣布达成协议，授予谷歌使用11家专利持有人所拥有的、可能对VP8及更早VPx技术必要的技术的许可。MPEG LA同时放弃了组建VP8专利池的努力。<sup>[12](https://arstechnica.com/information-technology/2013/03/google-mpeg-la-agree-to-royalty-free-terms-for-vp8-video-codec/)</sup><sup> • </sup><sup>[19](https://www.infoq.com/news/2013/03/Google-MPEG-LA-VP8/)</sup>

## 部署

VP8的主要机构立足点是WebRTC。2016年3月发布的RFC 7742要求WebRTC浏览器以及传输或接收视频的WebRTC非浏览器实现RFC 6386所述的VP8和H.264约束基线；工作组指出其打算监测许可格局以推广非版税编解码器。<sup>[10](https://www.rfc-editor.org/info/rfc7742/)</sup> 所有主流浏览器均满足VP8要求，包括Chrome、Edge、Firefox和Safari 12.1及更高版本。<sup>[20](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/WebRTC_codecs)</sup> 承载VP8视频的RTP负载格式在RFC 7741中规定。<sup>[6](https://www.rfc-editor.org/rfc/pdfrfc/rfc7741.txt.pdf)</sup>

VP8也是WebM容器的两种视频编解码器之一，与VP9并列，搭配Vorbis或[Opus](https://www.edgepedia.org/zh/opus-audio-format)音频。<sup>[13](https://www.webmproject.org/about/)</sup>

## 后继版本

VP9以VP8为基础基线开发，添加了各种增强和新工具以产生下一代比特流；SMPTE运动影像期刊报告的测试显示VP9在标准测试集上与H.264/AVC和HEVC具有竞争力。<sup>[21](https://journal.smpte.org/periodicals/SMPTE%20Motion%20Imaging%20Journal/124/1/16/)</sup> VP9以更低比特率提供与VP8相同的客观视频质量，代价是需要更多CPU算力，使其在带宽受限时有用。<sup>[22](https://wimnet.ee.columbia.edu/wp-content/uploads/2017/10/WebRTC-Performance.pdf)</sup> 由开放媒体联盟开发的AV1编解码器在相同解码质量下比VP9实现超过30%的比特率降低。<sup>[23](https://arxiv.org/abs/2008.06091)</sup> VP8在实时通信中仍被广泛使用，其低复杂度和WebRTC强制地位使其在新编解码器接管基于文件的流媒体时仍保持相关性。<sup>[10](https://www.rfc-editor.org/info/rfc7742/)</sup>

## References

1. [Sean Cassidy (2011). "An Analysis of VP8, a new video codec for the web." RIT Theses.](https://repository.rit.edu/theses/3184/)
2. [VP8 vs VP9 Codec Explained: Differences, Support. Forasoft.](https://www.forasoft.com/learn/video-encoding/articles/vp8-vp9-explained)
3. [The VP8 video codec - overview and comparison to H.264/AVC. ICCE-Berlin 2011, IEEE.](https://doi.org/10.1109/ICCE-Berlin.2011.6031852)
4. [Google launches open WebM web video format based on VP8. Engadget, 19 May 2010.](https://www.engadget.com/2010-05-19-google-launches-open-webm-web-video-format-based-on-vp8.html)
5. [RFC 6386: VP8 Data Format and Decoding Guide, November 2011. IETF.](https://datatracker.ietf.org/doc/rfc6386/)
6. [RFC 7741: RTP Payload Format for VP8 Video. IETF.](https://www.rfc-editor.org/rfc/pdfrfc/rfc7741.txt.pdf)
7. [US20210337242A1 - High Definition VP8 Decoder. Google Patents.](https://patents.google.com/patent/US20210337242A1/en)
8. [Bankoski, Wilkins, Xu. Technical Overview of VP8, an open source video codec for the web. Google Research.](https://research.google.com/pubs/archive/37073.pdf)
9. [vpx/vp8.h, libvpx interface documentation. Android AOSP.](https://android.googlesource.com/platform/external/libvpx/%2B/ics-plus-aosp/vpx/vp8.h)
10. [RFC 7742: WebRTC Video Processing and Codec Requirements, March 2016. IETF.](https://www.rfc-editor.org/info/rfc7742/)
11. [WebM Bitstream Specification License. The WebM Project.](https://www.webmproject.org/license/bitstream/)
12. [Google, MPEG LA agree to royalty-free terms for VP8 video codec. Ars Technica, 7 March 2013.](https://arstechnica.com/information-technology/2013/03/google-mpeg-la-agree-to-royalty-free-terms-for-vp8-video-codec/)
13. [About WebM. The WebM Project.](https://www.webmproject.org/about/)
14. [webmproject/libvpx repository. GitHub.](https://github.com/webmproject/libvpx/)
15. [VP8 Bitstream Guide, Section 2: Format Overview. Chromium source.](https://chromium.googlesource.com/webm/bitstream-guide/%2B/4570a5aedb3c3e32d88fc158306f46245c818476/text_src/02.00__vp8-bitstream__format-overview.txt)
16. [Sharrab, Y., Sarhan, N. J. (2012). Detailed Comparative Analysis of VP8 and H.264. IEEE ISM 2012.](https://nabil.eng.wayne.edu/_resources/pdf/detailed-comparitive.pdf)
17. [Mobile Video Streaming in Modern Networks: Performance Comparison of VP8 and H.264. CiteSeerX.](https://citeseerx.ist.psu.edu/document?doi=f7f5d32b9690abd22423a84bdf2f70b2f91441de&repid=rep1&type=pdf)
18. [VP8 Patent Cross-License FAQ. The WebM Project.](https://www.webmproject.org/cross-license/vp8/faq/)
19. [Google and MPEG LA End All Disputes on VP8. InfoQ, March 2013.](https://www.infoq.com/news/2013/03/Google-MPEG-LA-VP8/)
20. [Codecs used by WebRTC. MDN Web Docs.](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/WebRTC_codecs)
21. [A Technical Overview of VP9 - The Latest Open-Source Video Codec. SMPTE Motion Imaging Journal.](https://journal.smpte.org/periodicals/SMPTE%20Motion%20Imaging%20Journal/124/1/16/)
22. [WebRTC Performance analysis, Columbia University.](https://wimnet.ee.columbia.edu/wp-content/uploads/2017/10/WebRTC-Performance.pdf)
23. [A Technical Overview of AV1. arXiv:2008.06091.](https://arxiv.org/abs/2008.06091)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 电话系统与服务 › Videotelephony › Video telephony standards and technology

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/vp8

English original: https://www.edgepedia.org/vp8
