Netflix Finds x265 20% More Efficient Than VP9 (streamingmedia.com)
Reader StreamingEagle writes (edited): Netflix conducted a large-scale study comparing x264, x265 and libvpx (Google-owned VP9), under real-world conditions, and found that x265 encodes used 35.4% to 53.3% fewer bits than x264, and between 21.8% fewer bits than libvpx, when measured with Netflix's advanced VMAF assessment tool. This was the first large-scale study to use real-world encoder implementations, and a large sample size of high quality, professional content.A Netflix spokesperson explained why they did the test in the first place; "We wanted to understand the current state of the x265 and libvpx codec implementations when used to generate non-realtime encodes optimized for OTT use case. It was important to see how the codecs performed when testing on a diverse set of premium content from our catalog. This test can help us find areas of improvement for the different codecs."
I just want websites to use the HTML5 video player as opposed to Flash. x265 is not very important except for 4K content and mobile phones. It will, though, eventually become the standard.
wasn't that a whole point for comin up with x265 in a first place?
There seem to be a lot of these lately. Why is it that as companies get bigger, they get less competent, despite having hired more of the competent people?
Alternative Right.
As long as folks don't just re-encode h.264 content. Record things in with an x265 encoder, at the beginning, and have more actual bits in the B and P frames.
20% less bandwidth, but always more blurry.
a well mastered upscaled DVD will easily have better picture than bitstarved x265 off teh l337 torr3ntz
I thought VP10 was supposed to be the real competitor to HEVC.
Why do you need an advanced tool to measure this? Just count the bits. Done.
Here's my super compressed video:
1
Patent pending!
Just last week the news was the opposite at 1080p video. So who is believe any of this? I personally don't use VP9 but I don't see the savings in my encodings under 265. While only one of my devices (TVs) supports 265 I'm not using it because, as I said, I don't see any savings.
In my totally subjective and anecdotal experience the perceived quality of different mediums and resolutions goes like this:
4K Blu-ray > Upscaled HD Blu-Ray > 4K Netflix/Amazon streaming = Native resolution HD Blu-ray > Upscaled HD streaming > Native resolution HD streaming > Anything DVD
Interesting spin.
Netflix also found that for resolutions of 1080p and higher, VP9 was equal or better than h265.
http://www.tomshardware.com/ne...
Which is totally believable because h265 was intentionally engineered for low resolution, low bitrate applications while VP9 was not.
I have noticed that x265 requires much more CPU for encoding AND decoding than x264. For example, my slightly aged laptop will not handle playing my 1080p x265 streams.
All these codecs allow you to choose the bitrate, so efficiency is meaningless without a common basis for comparison. In this case it turns out they mean efficiency at the same video quality. But video quality is a completely subjective thing - how can you compare it in a reproducible manner? So I dug into how Netflix is deterministically measuring something subjective. That in itself is a pretty fascinating read.
tl;dr - they took subjective test results from showing video samples to people, then used machine learning to develop an algorithm which produced similar results.
"The 20% is just over VP9."
So, basically, VP9 offers little to no advantage over 264, while even 265 is somewhat limited.
That strikes me as somewhat sad, considering all the verbiage wasted by Google on the licensing issue.
Free and Open Source software has been hyped for decades now as supposedly a "better way to make software" but there are an almost endless number of examples of this simply not being the case. Linux on the desktop, Firefox as a browser, GIMP for image editing, openoffice for word processing, the list goes on and on. I think we need to move past the "open source is a better way to make software" since that claim clearly does not stand up to critical examination. open source in fact appears to be a significantly worse way of developing good software. The only people it seems to help are those companies who like having a huge amount of freely usable code harvestable from github to add to their proprietary projects.
once it's finalized, and very importantly, once there's common hardware support for it. It could take a year, or several, and AFAIK we're still using software decoding for VP8, VP9, H264 etc.
Speaking of which (HTML5 Video and Netflix):
The IETF has a working group to produce a new gen video codec "NetVC" (Designed to be easy for wide adoptions, as the previous efforts of the IETF like Opus for audio).
The main candidate is by a group called "AOMedia" (association for openmedia), working on AV1 (AOMedia's Video codec 1).
The association includes:
- Google (of Youtube fame) : They are using their current development as a base for AV1 (what would have become VP10 if there wasn't this whole NetVC story).
- Xiph (of Vorbis and Opus fame, with also contributions toward Flac, Speex, etc.) : They are developing a very interesting project called Daala, and they ended up also contributing the innovation done for Daala into AV1.
- Cisco : They gave what they have developed for their Thor codec also into AV1.
Netflix has also joined the AOMedia and they are investing resources into it.
Same with several browser makers (including Mozilla).
With all the people involved:
- you know there's some interesting performance coming (given the brains involved here, given past successes like Opus, and given the promising results of research projects like Daala).
- given that 2 top content providers like Google (Youtube) and Netflix are on board, there's a high chance of seeing deployment of the new codec.
- given that browser makers like Google (chrome), Mozilla, and Microsoft (Edge) are on board, there's a high chance of seeing browser support for the new codec.
- given that hardware chip maker like ARM, Intel, AMD, Nvidia, etc. are on board there's going to be hardware decoding support.
(Adobe is on board too, so browser support is guaranteed for the Widevine DRM plug-in required by Netflix' licensors. Not that it matters that much, because that part of HTML5 Video is already defined and deployed everywhere, except maybe with Firefox on Linux which is a bit delayed)
But you know that this looks promision,
and maybe same time next year, we'd be reading summaries along the lines of "Netflix and Google find AV1 20% more efficient than HEVC/H.265" "And also cheaper, royalty-free and widely supported"
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Monster, man! Do my eyes see the difference in gold versus copper!
Solid gold all the way. 1000 bucks per inch.
It is also why Vorbis (audio) is much more successful than Theora (video). Both are patent-free formats from xiph.org.
That's 1 of the reason.
But other reasons are in play:
- Vorbis was released back at a time when music decoding was still an important task for low-power embed devices.
And MP3-hardware decoding cheap where available for cheap.
By the time most PDA/Smartphones/Tablet had enough power to decode audio on CPU without any difficulties, other better competitor were starting to appear: things like AAC (which are not free and patent encumbered).
Meaning Vorbis wasn't competitive anymore.
Vorbis still saw quite some use as a audio/soundtrack codec for video games. (It just simply did attract much attention the role it played into this position).
- Vorbis itself has been superseeded.
Opus is the successor, partly developped by the same Xiph guys, partly developped based on technology donated by Skype.
The result is a codec that beats the crap out of anything else (except for some very special corner cases at a tiny bandwidth that isn't relevant on the internet).
Including out of AAC.
It's royalty free, not patent encumbered with available opensource code.
It's established as an official standard for web audio by IETF.
This it is widely use by tons of modern applications: Skype (obviously), WhatsApp, etc.
So the main reason that Vorbis isn't successful these days, is because Opus is.
Now keep in mind that IETF has a video codec work group called NetVC,
and that AOMedia (Alliance for Openmedia) is working to provide them with codec AV1
ant that alliance includes the same Xiph guys, but also other codec makes (Google [VP10], Cisco [Thor]), browser makers (Google, Mozilla, Microsoft) content providers (Google [Youtube], Netflix) and hardware makers (ARM, Intel, AMD, Nvidia)
There's a high chance that the same will happen in the video world, with AV1 taking everything just like Opus for the audio.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
The only bigger company of significance which is _not_ member of AOM is apple, who suprise suprise sits at the MPEG table and makes bucks with their H.265 patents.
Which also explain why they insist of using AAC for everything audio,
despite the tremendous success and performance of Opus - the previous similar success story of company collaboration (Xiph and Skype) to provide a standard to the IETF.
(Opus is currently used by Skype, WhatsApp, etc. - basically if it's on the web today, it probably uses Opus as an audio codec).
(I really wish IETF and AOMedia similar succes for their NetVC initiative/AV1 codec.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Throw away proprietary FPGA implementations, Google makes the real stuff Free and Open Source, software/hardware. I would never ever attempt to use x265 proprietary cruft. It is time every one make VP9 available in hardware by default.
We have noticed recently that NetFlix video quality is worse that it has been. Could this be the reason?
Instead we get a chunk of silicon that can't be used for anything except x265
That is not at all the case, for instance all of Apples advanced math libraries (under the umbrella "Accelerate") will make use of a GPU if one is present and faster than at the CPU. They handle things like linear algebra stuff (linpack) and all sorts of vector operations, including FFT...
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Assuming the video encode is a one time thing... wouldn't there be an energy cost if one codec takes a lot more computation on the decode end? I assume there would be an energy savings on the datacenter and bandwidth end... That would be an interesting benchmark.
I noticed that my favorite bluray ripper started supporting h.265, previously I had been using h.264, so I decided to give it a try. I took about twice a long to encode, and was a bit smaller in size, but 2 of my home computers could not playback the video. H.265 requires quite a bit more CPU/GPU processing power for both encoding and decoding. I personally will stick with h.254 because the cost of upgrading those machines is more than the cost of hard drive space.
If netflix switches they may find that a lot of home users can no longer use the service.
A small nitpick, but sad to see a common but serious maths error in a technical article.
20% fewer bits is not equivalent to 20% more efficient, but 25% more .
Efficiency would be the reciprocal of the bitrate. A ratio of 4:5 becomes 5:4 when looked at the other way around.
If you were to halve the bitrate, it would be twice as efficient, not 50% more.
Or to put it in simple money terms, its like if two items are $100, one gets a 20% discount to $80, the other is now 25% more expensive.
VP9 is free, as in beer. There's something to be said for that.
Or, do you want to keep sticking your head in nooses?
https://www.youtube.com/c/BrendaEM
I didn't know about this, so researched and found this page that explains "10-Bit H.264".
I offer it here so that someone can complain that I am karma whoring.
I come here for the love
not a chance.. There's no way 720x480 has a shot at conveying the same information as HD, upscaled and edge sharpened or not..
Until Raspberry Pi's support it in HW, Not Interested.
Any vcodec not supported in HW for a nominal $0 cost by a raspberry pi is not interesting to me at all.
The R-Pi v2 has h.264 support in HW for $0. Plays 1080p content with less than 20% CPU. Plex transcodes from mpeg2 --> h.264 on-the-fly easily.
The codec is irrelevant since the netflix app on my STB, Fire TV, etc don't work worth a crap. If they create a stable app, maybe they could consider optimizing their streaming. Till then they are wasting time and money.
Strangely enough your own comment supports the idea that Netflix is inferior to the original media.
If DVD represents the native resolution of the original, Netflix isn't going to be any better. Plus you won't have to worry about Netflix doing anything stupid with the original like cropping or zooming it.
A Pirate and a Puritan look the same on a balance sheet.
Netflix and Hulu needs to help Google with the next iteration of VP9.
It all depends on how bad the "HD" encode is. Some of them can be quite horrible. It's quite easy to be stingy on the bitrate and end up with a disaster.
A Pirate and a Puritan look the same on a balance sheet.
This is true..
in Microsoft Edge, so who gives a fuck? Also, libvpx just came out with an improved version in July. Which version was used? This study doesn't say.
This is a near-useless comparison. A good idea, but poorly executed and it could be better documented.
The title is misleading.
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
and then
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.
So the highest resolution they tested was 1080p and performance between the 2 codecs was very close with libvpx beating out x265 in some cases. As far as bandwidth goes, saving at 1080p and above is more valuable than saving at 480p. Practically everything we watch at home is streamed 1080p. I don't see that x265 is the winner here. And where are the 4k tests?
Hey, that's great Netflix. Nice to see progress on the horizon in video encoding tech. Now would you please add an option to buffer the start of shows so they don't look like pixelated crap for the first 30 seconds or more on my HDTV? Maybe a checkbox somewhere? Even my wife notices, and she's not usually picky about these things. Thanks.
my, your, his/her/its, our, your, their
I'm, you're, he's/she's/it's, we're, you're, they're
Google owns Widevine, not Adobe. Did you mean Primetime?
Ooops. My mistake. I confused the DRM plug-ins.
Thank you for rectifying
(Tells you how often I use DRM in my day-to-day life)
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]