h264, h265 和 libvpx 比较(h264/avc, hevc 和vp9比较)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了h264, h265 和 libvpx 比较(h264/avc, hevc 和vp9比较)相关的知识,希望对你有一定的参考价值。
好多开发者或公司咨询我们关于H.264和H.265(hevc)?的码率,在此,我们转一篇关于x264,x265, libvpx 比较.?
A Large-Scale Comparison of x264, x265, and libvpx?—?a Sneak?Peek
by Jan De Cock, Aditya Mavlankar, Anush Moorthy, and Anne Aaron
?With 83+ million members watching billions of hours of TV shows and movies, Netflix sends a huge amount of video bits? ?through the Internet. As we grow globally, more of these video bits will be streamed through bandwidth-constrained cellular? ?networks. Our team works on improving our video compression efficiency to ensure that we are good stewards of the Internet? ?while at the same time delivering the best video quality to our members. Part of the effort is to evaluate the state-of-the-art? ?video codecs, and adopt them if they provide substantial compression gains.
?H.264/AVC is a very widely-used video compression standard on the Internet, with ubiquitous decoder support on web? ?browsers, TVs, mobile devices, and other consumer devices.?x264?is the most established open-source software encoder for? ?H.264/AVC. HEVC is the successor to H.264/AVC and results reported from standardization showed?about 50% bitrate? ?savings?for the same quality compared to H.264/AVC.?x265?is an open-source HEVC encoder, originally ported from the x264? ?codebase. Concurrent to HEVC, Google developed VP9 as a royalty-free video compression format and released?libvpx?as an? ?open-source software library for encoding VP9.?YouTube reported?that by encoding with VP9, they can deliver video at half the? ?bandwidth compared to legacy codecs.
?We ran a large-scale comparison of x264, x265 and libvpx to see for ourselves whether this 50% bandwidth improvement is? applicable to our use case. Most codec comparisons in the past focused on evaluating what can be achieved by the bitstream? syntax (using the reference software), applied settings that do not fully reflect our encoding scenario, or only covered a limited? set of videos. Our goal was to assess what can be achieved by encoding with practical codecs that can be deployed to a? production pipeline, on the Netflix catalog of movies and TV shows, with encoding parameters that are useful to a streaming? service. We sampled 5000 12-second clips from our catalog, covering a wide range of genres and signal characteristics. With 3? codecs, 2 configurations, 3 resolutions (480p, 720p and 1080p) and 8 quality levels per configuration-resolution pair, we? generated more than 200 million encoded frames. We applied six quality metrics?—?PSNR, PSNR(MSE), SSIM, MS-SSIM, VIF and?VMAF?—?resulting in more than half a million bitrate-quality curves. This encoding work required significant compute capacity. However, our?cloud-based encoding infrastructure, which?leverages unused Netflix-reserved AWS web servers dynamically, enabled us to complete the experiments in just a few weeks.
What did we?learn?
Here’s a snapshot: x265 and libvpx demonstrate superior compression performance compared to x264, with bitrate savings reaching up to 50% especially at the higher resolutions. x265 outperforms libvpx for almost all resolutions and quality metrics, but the performance gap narrows (or even reverses) at 1080p.
Want to know?more?
We will present our methodology and results this coming Wednesday, August 31, 8:00 am PDT at the SPIE Applications of Digital Image Processing conference,?Session 7: Royalty-free Video.?We will stream the whole session live on Periscope and YouTube:?follow Anne for notifications?or come back to this page for links to the live streams. This session will feature other interesting technical work from leaders in the field of Royalty-Free Video. We will also follow-up with a more detailed tech blog post and extend the results to include 4K encodes.
大牛直播SDK除了支持RTSP H.265播放和录像,目前还实现了Windows/android/ios平台RTMP H.265扩展播放/录像/转发,并提供了配套的服务器支撑,开发者需要测试,可以到https://github.com/daniulive/SmarterStreaming下载。
也欢迎加入我们的QQ×××流:
QQ群1:294891451? QQ群2:499687479?
以上是关于h264, h265 和 libvpx 比较(h264/avc, hevc 和vp9比较)的主要内容,如果未能解决你的问题,请参考以下文章