7 ms·
Nvenc vs. QSV: Who Has the Best Hardware AV1 Encoder?
- charcircuit 3y agoIt would be nice if the encoding times were measured to know which is best for latency sensitive streaming.
- computerbuster 3y agoUsing SSIMULACRA2, I've compared Intel's QuickSync Video to Nvidia's NVENC encoder across Linux & Windows. They compete against other dedicated encoding hardware for different codecs across different GPUs, including an Intel iGPU.
- KennyBlanken 3y ago> Please be aware that some images may not load on this page unless your browser supports JPEG-XL. Using an image format supported by exactly one browser - one that has less than 5% of the market share - without providing a fallback - is a pretty questionable choice. I can't imagine that the bandwidth savings are even remotely significant to justify such a choice over an optimized PNG, JPEG, or the nearly-universally-supported webp.
- zimpenfish 3y agotl;dr: AVIF, HEIC and WEBP all handily beat JXL for the Minecraft and CSGO screenshot. From the article, minecraft.jxl is 545275 bytes. Using imagemagick[1] to convert to various formats at 8bit depth: 191875 36.39% csgo.avif 288048 54.63% csgo.webp 349204 66.23% csgo.heic 507882 96.32% csgo-8bit.jxl 511727 97.05% csgo-85.jpg 527282 100.00% csgo.jxl 960946 182.25% csgo-95.jpg 3665475 695.16% csgo.png 183935 33.73% minecraft.avif 266890 48.95% minecraft.webp 358482 65.74% minecraft.heic 490623 89.98% minecraft-85.jpg 522250 95.78% minecraft-8bit.jxl 545275 100.00% minecraft.jxl 1047533 192.11% minecraft-95.jpg 3018052 553.49% minecraft.png [1] Version: ImageMagick 7.1.1-6 Q16-HDRI aarch64 21020 https://imagemagick.org https://imagemagick.org
- zokier 3y agoYou can't just compare lossy image formats on size alone, you have to factor in image quality. All of the formats have one or more quality parameters that have huge impact on size/quality.
- Dalewyn 3y agoWhen it comes to computer screenshots, it's PNG or another lossless format or GTFO. Even moreso if the purpose is comparing image quality of the screenshots' contents. (No, I did not see those JPEG-XL images because Chromium laughs at it.[1]) [1]: https://news.slashdot.org/story/23/04/16/002204/fsf-says-googles-decision-to-deprecate-jpeg-xl-emphasizes-need-for-browser-choice https://news.slashdot.org/story/23/04/16/002204/fsf-says-goo...
- ksec 3y agoThis is coming from a 2009 account so I am guessing all these results have a similar score in quality testing? If so which metric did you measure it with?
- brucethemoose2 3y agoThats a great comparison. ~x265 medium is quite impressive for a hardware encoder, and it makes more sense than some questionable claims I saw from YouTubers. I'm sure you have already read this, but AMD claims their new encoding ASIC can do even better: https://www.anandtech.com/show/18805/amd-announces-alveo-ma35d-media-accelerator-av1-video-encode-at-1w-per-stream https://www.anandtech.com/show/18805/amd-announces-alveo-ma3... > All told, AMD is making some fairly aggressive image quality claims with the Alveo MA35D; H.264 and H.265 image quality should be similar to x264 Medium and x265 Medium presets respectively, while the card’s AV1 encoding quality should be comparable to x265 slow. Since it can do so many parallel streams, I can already see some mad hatter setting up av1an with one.
- kevinak 3y agoEposvox on YouTube has some samples from the MA35D: https://youtu.be/TYOkJFOL5jY?t=502 https://youtu.be/TYOkJFOL5jY?t=502 TL;DR - it's looks really good.
- rektide 3y agoWhoof almost $1600. But amazing.
- scottlamb 3y agoIf you like the Alveo, check out the NETINT cards. Better specs, and you can actually buy them today...
- shmerl 3y ago> These tests are more thorough than mine, but aren't accompanied by much explanation or any VAAPI results for Linux Isn't VAAPI AV1 encoding not yet implemented for AMD? May be Vulkan video will become available for it before it happens.
- IshKebab 3y ago> Please be aware that some images may not load on this page unless your browser supports JPEG-XL. lol really? Who writes a website that only works on Firefox Nightly with a feature flag enabled? I would have been interested in reading this otherwise.
- Youden 3y agoMoscow State University has been running thorough benchmarks of hardware and software video encoders for years, including testing different presets: https://www.compression.ru/compression.ru/video/codec_comparison/2022/ https://www.compression.ru/compression.ru/video/codec_compar... Note: this is in no way an endorsement of Russia's invasion of Ukraine. In the past, MSU has accepted payment for some of their reports. I suggest you do not pay for these (assuming it's even possible now).
- boramalper 3y agoThis is a great link, thanks! > this is in no way an endorsement of Russia's invasion of Ukraine. I sincerely hope that no one in their sane mind (at least on HN) would consider sharing a link to the academic work of Russian-speaking individuals as an endorsement of Russia's invasion of Ukraine. Fascism isn't about prohibiting speech but forcing people to speak.[0] [0] Roland Barthes said that: "Le fascisme ce n'est pas d'empêcher de dire c'est d'obliger à dire."
- mort96 3y agoEh, while the notice might not have been completely necessary, I do understand the awkwardness of linking to and recommending Russian state backed resources these days. It's the academic work of Russian-speaking individuals who are funded by the Russian state and whose work is published by an institution funded by the Russian state. This is in no way meant to be taken as an attack on the individuals or the research, I'm just pointing out that you left out some quite important elements.
- FpUser 3y ago[flagged]
- mort96 3y agoNo. 1. I don't think the notice is necessary. I said as much in my comment. I understand why the person decided to include it. Understanding why someone did a thing is not the same as saying everyone should do the thing. 2. Endorsing something that's backed by the Russian state is different from endorsing something done by some random Russian individual. This was the main point of my comment, but I must have communicated it poorly.
- clouddrover 3y ago> Please be aware that some images may not load on this page unless your browser supports JPEG-XL The site could provide a WebAssembly decoder to make the JPEG-XL images work for everyone. For example, here's a WebAssembly decoder: https://github.com/niutech/jxl.js https://github.com/niutech/jxl.js Demo: https://niutech.github.io/jxl.js/ https://niutech.github.io/jxl.js/
- deleted 3y ago[deleted]
- computerbuster 3y agoYou're right, I should look into this. Thanks for linking.
- baybal2 3y agoI was recently asked why so few chips support decoding AV1 in hardware. There were multiple mutually incompatible AV1 versions early in development, and some companies chose to not to implement either until the situation settles down. But by that time X265 was already deployed en masse in the wild. And now X266 is about to take over. Many will chose to leapfrom AV1 straight to X266.
- ClumsyPilot 3y agofirst time I hear about X266, interesting. I have just re-enocded a lot of Videos into AV1. Oh well....
- belltaco 3y agoIsn't re-encoding almost always a loss in quality? Unless you're doing it from uncompressed video or from super high quality video to reduce file size.
- bdhcuidbebe 3y agoYea. Also a waste of electricity.
- adgjlsfhk1 3y agonot unless the licensing gets figured out. as long as decoding requires paying no browser or website will support it.
- mschuster91 3y agoNot just that. Video codecs are insanely hard to get right even in software, FPGAs capable of running a decoder are expensive, the intersection of "people who know video codecs" and "people who know Verilog" is pretty small, and a decoder has to support a lot of leeway in ingestion to allow for others' buggy encoders... and if you're also making encoders, shipping bad hardware encoders at scale will kill your reputation as now everyone else has to deal with implementing quirks for your bad content. That means developing and testing an ASIC encoder or decoder block is one hell of an expense. If you're someone like Apple with more cash than the GDP of many countries or if you're making an implementation of a codec that is a worldwide standard (like h264/h265 are) and you can simply make your profit on selling billions of chips, you can do this. But everyone else can't.
- kiririn 3y agoIt was interesting to see the hardware VP9 encoder included. I’ve found it to be the best streaming format for compatibility (ignoring h264) - a single stream can be watched on all devices and browsers
- kevingadd 3y agoYeah, if you stream av1 to YouTube right now they transcode your content to vp9 for compatibility reasons
- AraceliHarker 3y agoThe GPU architecture of Arc A770 is Xe, while the iGPU of Core i7 13700K is UHD, so they are clearly different. On the other hand, the iGPU of Ryzen 7000 is RDNA2, so it can be assumed that it has the same quality as RADEON 6000, although with a very large scale difference. Therefore, the conclusion is that the iGPU of Ryzen 7000 is the best option for having an AV1 hardware encoder that can save money for eating a lot of nice ramen.
- ChuckNorris89 3y ago>Arc A770 is Xe, while the iGPU of Core i7 13700K is UHD, so they are clearly different The newer UHD integrated graphics also use the XE architecture so they're basically the same architecture. [1] https://www.notebookcheck.net/Intel-UHD-Graphics-64EUs-Alder-Lake-GPU-Benchmarks-and-Specs.589905.0.html https://www.notebookcheck.net/Intel-UHD-Graphics-64EUs-Alder...
- wtallis 3y agoXe is really just branding, not a description of a particular microarchitecture or family of microarchitectures. Intel's most recent integrated graphics still isn't at feature parity with their discrete GPUs; they haven't added raytracing support yet, either.
- FpUser 3y agoNot sure about their videos but I could not achieve the same quality at a limited bandwidth using NVENC vs x264. x264 quality was clearly superior. One does not have to do any pixel-peeping to notice.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- rasz 3y agoI dont know how I feel about testing of video encoder quality by someone showing me graphs with gray text on gray background. Its almost like he doesnt want me to read those and just trust his conclusions :)