Answers.Body: <p>Besides your claim of AV1 encoding being &quot;extremely resource demanding&quot; being out-of-date (that hasn't been the case for years), this is kind of like asking for proof that the sky is really blue. Video coding is a niche enough field that academics generally don't write papers on &quot;is the sky blue&quot; type questions, and amateur video encoder tests (when they do exist) are by-and-large terrible because the people conducting them often have no idea what they're doing. Reliable data is so hard to find that the most common and useful answer to a question like this is &quot;do your own testing for your specific use case&quot;.</p>
  <p>If you do look at research on hardware encoders though, you may see a bunch of &quot;comparable to software encoding&quot; claims. However, these are for specifically designed implementations, and the reality of practical hardware encoders is that they rarely have the luxury of only focusing on a single video coding format. They need to be able to produce H.264 and HEVC, and possibly others as well. Combine this with a strict silicon area budget of consumer hardware and you get multi-format hardware encoders that need to have as many shared parts as possible. With all these limitations, it's easier understand why most hardware encoders only target the lower end of the efficiency curve, and that hardware encoders with the &quot;same settings&quot; as software encoders don't really exist. For example, no AV1 hardware encoder I currently know of has implemented film grain synthesis, so hardware encoders may completely skip some encoding tools, which will reduce efficiency.</p>
  <p>This isn't to say that there are no hardware encoders with higher-than-average efficiency. When most people say &quot;hardware encoder&quot;, what they really mean is &quot;hardware encoder I could get my hands on&quot;. Dedicated hardware encoder cards aimed for commercial/datacenter users do exist, for example <a href="https://www.anandtech.com/show/18805/amd-announces-alveo-ma35d-media-accelerator-av1-video-encode-at-1w-per-stream" rel="nofollow noreferrer">this AMD card</a> which claims x265 slow efficiency for its AV1 encoder (roughly comparable to SVT-AV1's current preset 8, so still not comparable to what software encoders can produce). Companies that deal with video at large enough scale may also design their own hardware encoders for private use, which is something <a href="https://www.tomshardware.com/news/intel-replaces-xeons-with-custom-vcus" rel="nofollow noreferrer">Google has done</a>.</p>
  <p>If you really are that skeptical about hardware encoder efficiency and you're interested enough, I suggest you prove this to yourself. Consumer-grade AV1 hardware encoders are easy enough to obtain. There are some very affordable Intel Arc cards, but Nvidia &amp; AMD cards with AV1 encode are currently more expensive. Or you could try literally any hardware encoder for any format, since the principle is exactly the same. There's nothing special about AV1 hardware encoders that make them fundamentally different in this context than, say, H.264 or HEVC hardware encoders. However, some recent encoders for older formats may (or should, even) be better in their comparative efficiency than these first-generation AV1 hardware encoders, since the former are on their Nth hardware iteration and have therefore had more development time.</p>
  <hr />
  <p>As a bit of a meta-aside, this question seems to come up every time a new video compression format is introduced and the initial software implementations are slow compared to encoders for current-generation formats. Hardware encoders get hyped up by some as this amazing future technology that will save us from single-digit encoding speeds, but the end result is always the same. Hardware encoders don't reach anywhere near the full potential of video compression formats, and software development, optimization, and more powerful CPUs are what actually bring us the most efficient encoders. So, for the information of OP and anyone reading this in the future: hype and misleading/false claims are not uncommon when it comes to video encoders. In fact, <a href="https://web.archive.org/web/20101105163420/http://x264dev.multimedia.cx/archives/472" rel="nofollow noreferrer">they're pretty much the rule rather than an exception</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-10T12:04:23.900Z
Answers.Text: Thanks for explaining anything but the question I asked.
Answers.UserDisplayName: Arete
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-10T21:53:32.973Z
Answers.Text: Your question was answered quite exhaustively. There's no need to be petty.
Answers.UserDisplayName: veikk0
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-11T10:15:43.637Z
Answers.Text: Well in that case please enlighten me on which part of your answer addresses the question "Is there anything suggesting that AV1 hardware encoding produces worse visual results than software encoding?". I don't see an answer to that anywhere.
Answers.UserDisplayName: Arete
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-10T07:04:44.863Z
Answers.LastActivityDate: 2024-02-10T07:04:44.863Z
Answers.UserDisplayName: veikk0
Body: <p>This is not so much a hardware enquiry as academic curiosity. AV1 encoding is extremely resource demanding and using HW encoding can reduce encoding time considerably.</p>
  <p>However, a lot of people seem to believe that AV1 hardware encoding produces notably worse results than software encoding.</p>
  <p>While this is often true for live stream situations where the encoding settings are tuned to maintain low bit rates, it is my understanding that using the same encoding settings (or similar settings) a hardware encoder should be able to produce the same visual quality as a SW encoder, but faster.</p>
  <p>Is there anything suggesting that AV1 hardware encoding produces worse visual results than software encoding? If so, is there any credible source to suggest so?</p>
  <p>Please refrain from using anecdotal examples.</p>
  
Tags: <encoding>
Title: AV1 hardware encoding vs software encoding
UserDisplayName: Arete
ThreadText: # AV1 hardware encoding vs software encoding
  
  (Asked by: username_0 on 2024-01-23)
  
  This is not so much a hardware enquiry as academic curiosity. AV1 encoding is extremely resource demanding and using HW encoding can reduce encoding time considerably.
  
  However, a lot of people seem to believe that AV1 hardware encoding produces notably worse results than software encoding.
  
  While this is often true for live stream situations where the encoding settings are tuned to maintain low bit rates, it is my understanding that using the same encoding settings (or similar settings) a hardware encoder should be able to produce the same visual quality as a SW encoder, but faster.
  
  Is there anything suggesting that AV1 hardware encoding produces worse visual results than software encoding? If so, is there any credible source to suggest so?
  
  Please refrain from using anecdotal examples.
  
  **Tags:** encoding
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-02-10. Score: 0
  
  Besides your claim of AV1 encoding being "extremely resource demanding" being out-of-date (that hasn't been the case for years), this is kind of like asking for proof that the sky is really blue. Video coding is a niche enough field that academics generally don't write papers on "is the sky blue" type questions, and amateur video encoder tests (when they do exist) are by-and-large terrible because the people conducting them often have no idea what they're doing. Reliable data is so hard to find that the most common and useful answer to a question like this is "do your own testing for your specific use case".
  
  If you do look at research on hardware encoders though, you may see a bunch of "comparable to software encoding" claims. However, these are for specifically designed implementations, and the reality of practical hardware encoders is that they rarely have the luxury of only focusing on a single video coding format. They need to be able to produce H.264 and HEVC, and possibly others as well. Combine this with a strict silicon area budget of consumer hardware and you get multi-format hardware encoders that need to have as many shared parts as possible. With all these limitations, it's easier understand why most hardware encoders only target the lower end of the efficiency curve, and that hardware encoders with the "same settings" as software encoders don't really exist. For example, no AV1 hardware encoder I currently know of has implemented film grain synthesis, so hardware encoders may completely skip some encoding tools, which will reduce efficiency.
  
  This isn't to say that there are no hardware encoders with higher-than-average efficiency. When most people say "hardware encoder", what they really mean is "hardware encoder I could get my hands on". Dedicated hardware encoder cards aimed for commercial/datacenter users do exist, for example [this AMD card](https://www.anandtech.com/show/18805/amd-announces-alveo-ma35d-media-accelerator-av1-video-encode-at-1w-per-stream) which claims x265 slow efficiency for its AV1 encoder (roughly comparable to SVT-AV1's current preset 8, so still not comparable to what software encoders can produce). Companies that deal with video at large enough scale may also design their own hardware encoders for private use, which is something [Google has done](https://www.tomshardware.com/news/intel-replaces-xeons-with-custom-vcus).
  
  If you really are that skeptical about hardware encoder efficiency and you're interested enough, I suggest you prove this to yourself. Consumer-grade AV1 hardware encoders are easy enough to obtain. There are some very affordable Intel Arc cards, but Nvidia & AMD cards with AV1 encode are currently more expensive. Or you could try literally any hardware encoder for any format, since the principle is exactly the same. There's nothing special about AV1 hardware encoders that make them fundamentally different in this context than, say, H.264 or HEVC hardware encoders. However, some recent encoders for older formats may (or should, even) be better in their comparative efficiency than these first-generation AV1 hardware encoders, since the former are on their Nth hardware iteration and have therefore had more development time.
  
  ---
  
  As a bit of a meta-aside, this question seems to come up every time a new video compression format is introduced and the initial software implementations are slow compared to encoders for current-generation formats. Hardware encoders get hyped up by some as this amazing future technology that will save us from single-digit encoding speeds, but the end result is always the same. Hardware encoders don't reach anywhere near the full potential of video compression formats, and software development, optimization, and more powerful CPUs are what actually bring us the most efficient encoders. So, for the information of OP and anyone reading this in the future: hype and misleading/false claims are not uncommon when it comes to video encoders. In fact, [they're pretty much the rule rather than an exception](https://web.archive.org/web/20101105163420/http://x264dev.multimedia.cx/archives/472).
  
  > **Comments:**
  > **username_0**: Thanks for explaining anything but the question I asked.  
  > **username_1**: Your question was answered quite exhaustively. There's no need to be petty.  
  > **username_0**: Well in that case please enlighten me on which part of your answer addresses the question "Is there anything suggesting that AV1 hardware encoding produces worse visual results than software encoding?". I don't see an answer to that anywhere.  
  
  ---
  
  