# MP4 HEVC vs AV1 with Hardware encoding On/Off

**URL:** https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313
**Category:** Hardware Encoding
**Created:** [January 4, 2024, 3:45am UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313 "2024-01-04T03:45:44Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jsam01](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/j/ecc23a/32.png) [@jsam01](https://discussion.mcebuddy2x.com/u/jsam01)
#### Post date: [January 4, 2024, 3:45am UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/1 "2024-01-04T03:45:48Z")

</div>

Trying out the new AV1 profiles and finding wondering if there might be some tuning or something or if it’s just that hardware acceleration isn’t working well for me.

Some history, and maybe this will explain my confusion - I typically use MP4 HEVC profile and a couple months back got a new pc with an intel arc video card so I’d been trying out the hardware encoding. What I found was my end result mp4 (from a TS original) was maybe 10-20% larger in size (the output mp4’s are probably 1/5 to 1/10 size of original ts) with hardware acceleration on so at first glance I’d go with hardware encoding off, however the trade off here is speed where time to convert was maybe 1/10 with hardware acceleration on  
So with hardware acceleration file size is a bit worse, but processing time is much better.

Now with AV1 I’m seeing a difference in behavior.  
A 5.5GB TS file converted:  
with H/A to 88 mb in just under 7 minutes.  
without H/A to 158 mb in about 48 minutes.

So for AV1 my processing with H/A is faster and smaller (whereas HEVC it’s faster but a bit bigger) however the caveat here is in HEVC the video quality in comparable between both conversions, whereas with AV1 the processing with H/A has a much poorer look to it.

The file sizes of the AV1 are definitely better. I only have the H/A HEVC numbers but same input file was output as 650mb in 7 minutes of processing and I think that one is reasonably comparable video quality of the AV1 without H/A, I just don’t really want the longer processing times.

Really just posting this as I’m wondering what other peoples experiences are. I do also have a machine with an Nvidia card that can do H/A so I might try it on the weekend to see how the AV1 is there.

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [January 4, 2024, 3:42pm UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/2 "2024-01-04T15:42:52Z")

</div>

> [@jsam01](#):
>
> Now with AV1 I’m seeing a difference in behavior.  
> A 5.5GB TS file converted:  
> with H/A to 88 mb in just under 7 minutes.  
> without H/A to 158 mb in about 48 minutes.

Can you attach your conversions logs for with and without hardware acceleration for the AV1 files. There’s an algorithm in play here which may be causing the difference and logs will show what’s going on.

---

<div class="post-metadata">

### Author: ![jsam01](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/j/ecc23a/32.png) [@jsam01](https://discussion.mcebuddy2x.com/u/jsam01)
#### Post date: [January 5, 2024, 1:36am UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/3 "2024-01-05T01:36:44Z")

</div>

[logs.zip](https://discussion.mcebuddy2x.com/uploads/short-url/iDeby35Xig2kyc6V3FyjmmEPRHL.zip) (1.8 MB)  
I’ve attached the 2 AV1 conversion logs and I had also just done an HEVC one so threw it in as well. I renamed them as you’ll see just to make it easier for me to remember which was which.

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [January 5, 2024, 7:54pm UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/4 "2024-01-05T19:54:47Z")

</div>

Okay, made some adjustments. Try it again (preferably the same video and settings) with todays 2.6.3 beta version (you don’t need to uninstall 2.6.2, you can directly upgrade to 2.6.3 beta) and share the logs.

FYR, can’t really compare the AV1 with HEVC because the HEVC is about 350kbps vs 1.3mpbs for HEVC. So if the visual quality is the same, that’s the power of AV1 in the compression that you’re seeing.

Also if you get a chance can you make one edit to the MP4 AV1 profile you’re using and change:  
`order=handbrake,ffmpeg` to `order=ffmpeg` and then re-run the same file with and without HA and attach those also. It will help us compare and optimize the quality/performance across different encoders to provide a more consistent experience.

---

<div class="post-metadata">

### Author: ![jsam01](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/j/ecc23a/32.png) [@jsam01](https://discussion.mcebuddy2x.com/u/jsam01)
#### Post date: [January 6, 2024, 1:09am UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/5 "2024-01-06T01:09:33Z")

</div>

[v263\_conversionLogs.zip](https://discussion.mcebuddy2x.com/uploads/short-url/mOidd1Kephc9VA0CldI4yb60Y5q.zip) (2.4 MB)  
Attached the 4 logs. The runs with hardware acceleration are both visually quite a bit worse than the non-hardware accelerated.  
I was going to also try a conversion on Nvidia but it’s an older card and doesn’t support AV1, so think it falls back one of the other profiles so only got a software conversion.

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [January 9, 2024, 1:58am UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/6 "2024-01-09T01:58:42Z")

</div>

Thanks for the logs, very helpful. Made a few adjustments (and a bug fix) to the AV1 algorithm. Try today’s 2.6.3 beta. You should see an improvement in visual quality as well as a more consistent quality between the HA and non HA profiles.

Can you re-run your tests and attach the 4 logs like before for the handbrake and the ffmpeg profiles so I can see the results from your machine.

---

<div class="post-metadata">

### Author: ![jsam01](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/j/ecc23a/32.png) [@jsam01](https://discussion.mcebuddy2x.com/u/jsam01)
#### Post date: [January 9, 2024, 1:37pm UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/7 "2024-01-09T13:37:19Z")

</div>

[beta3\_20240108\_Logs.zip](https://discussion.mcebuddy2x.com/uploads/short-url/XDJGCIYLVENIjd7M38hRVjke9z.zip) (2.4 MB)  
attached. I’ll take a closer look later but the video quality is definitely better.

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [January 9, 2024, 7:36pm UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/8 "2024-01-09T19:36:47Z")

</div>

Thanks. Made a slight tweak in today’s 2.6.3 beta which should bring all 4 about inline in terms of quality/bitrate and maybe a slight improvement in the software encoding speed.

---

<div class="post-metadata">

### Author: ![jsam01](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/j/ecc23a/32.png) [@jsam01](https://discussion.mcebuddy2x.com/u/jsam01)
#### Post date: [January 9, 2024, 11:03pm UTC](https://discussion.mcebuddy2x.com/t/mp4-hevc-vs-av1-with-hardware-encoding-on-off/5313/9 "2024-01-09T23:03:30Z")

</div>

Ok I’ll give it a try but might not be till later this week.
