So with HanBrake 1.6.0 having the SVT-AV1 encoder I decided to do some testing.
From ffmpeg's wiki AV1 page:
"A CRF value of 23 yields a quality level corresponding to CRF 19 for x264, which would be considered visually lossless."
So I did some encodes.
The VMAF in these looks promising, but once you take a look at actual comparison screenshots you see that the AV1 encodes are significantly lower quality. Most easily seen in Spider-Man's costume (the lines that run through it): https://anonfiles.com/s7V8Z7O9y7/Test_7z
So what am I missing? Even at Preset 5 which would take forever to do an encode on the quality is still not the same as x264 crf 19 as is the claim on the wiki. I assume some CLI parameters must be set. Anything I am missing that can make a decent looking encode at presets 10-9 or maybe 8 that will save space and at least not look worse off? It seems SVT-AV1 really losses clarity and crispness.
+ Reply to Thread
Results 1 to 13 of 13
-
-
The equivalency is a general guideline. It may work for some videos, but not for all. In general, higher compression codecs get a lot of their additional compression by discarding or blurring away small, low contrast details -- like the grey lines on spiderman's suit.
-
Any way to reduce the blurring? Or essential parameters to set/consider with AV1?
As it stands now while the decrease in filesize on slower presets by itself looks very nice, it's definitely not worth the time needed to encode by itself. If we consider the lowered quality - why even use AV1? -
There are problems with all metrics, they are just a guide and the trends are more important
AV1 is work in progress (all encoders had their "growing pains" stages)
There tends to be oversmoothing with AV1, errors on scenechanges, the more motion the worse the problems - it's mainly due to the temporal filtering. It's a known issue
You can disable temporal filtering with --enable-tf 0 . The "penalty" is about 4-8% worse quality at a given bitrate . If using CRF encoding , the bitrate will change. The temporal filtering can be useful for low to very low bitrate scenarios
In general, the bitrate savings for av1 vs. x264 is larger at higher resolutions (same with x264 vs. x265; eg. the difference at UHD will be much larger at HD resolution) -
Thank you for the suggestions and clarifications.
So for 1080p content, is x264 considered to be the best choice still? -
I would use a present of medium for say x265 Av1 etc, it’s a good starting point. Why not then do some comparison, ssim, psnr, vmaf, of x264, vs av1.
Also pick a single data rate or output file size and use that target file size. Then see what the render quality metrics compare.
I hope to do that soon also, but comparing Nvenc Av1 HW to say Av1 Cpu, vs x264/hevc using a target output file size, all FHD. Then the RQM values will give some idea, but for sure eyeballing the results might be also necessary.
In any of this testing I only ever use a less than 30 second clip (includes people, water, foliage, indoor etc) for sanitys sake given how slow Av1 Cpu encoding can be.Last edited by JN-; 30th Dec 2022 at 18:16.
-
Item no. Output files SSIM "All" SSIM "All" DB PSNR "Avg." VMAF Render Data rate Size MB Percentage %
time Aggregate
#1 Source-[CPU-AV1-Q31-'PR6 Medium'] 0.975079 16.034356 39.383845 96.696485 71s 10,720 33.6 100.00% #1
#2 Source-[NVENC-AV1-Q28-Medium] 0.968039 14.953740 38.300827 95.369925 2s 10,568 34.6 97.10% #2
#3 Source-[CPU-h264-Q25.6-Medium] 0.969114 15.102453 37.788991 94.553763 7s 10,214 33.4 96.83% #3
#4 Source-[CPU-hevc-Q27.1-Medium] 0.966272 14.720118 37.947905 94.776435 24s 10,237 33.5 96.32% #4
#5 Source-[NVENC-hevc-Q26-Medium]s 0.961199 14.111611 37.405059 94.098759 2s 10,261 33.6 94.72% #5
#6 Source-[QSV-hevc-Q27-Medium] 0.961173 14.108698 37.146669 93.929920 9s 10,795 35.3 94.51% #6
#7 Source-[NVENC-h264-Q26-Medium] 0.958872 13.858596 37.224572 94.114368 2s 10,550 34.5 94.15% #7
#8 Source-[QSV-h264-Q33-Medium] 0.958450 13.814251 36.975956 92.508732 4s 10,093 33.1 93.50% #8Last edited by JN-; 4th Jan 2023 at 09:40.
-
Last edited by jagabo; 30th Dec 2022 at 18:10.
-
I updated my previous post with AV1 Nvenc HW encoding comparison. I would much prefer to post an image, say jpg, I cannot see how to do it. Ok, managed it.
[Attachment 72378 - Click to enlarge]
No B frames were used/harmed in any way.Last edited by JN-; 12th Jul 2023 at 09:52.
-
I couldn't include a FHD AMD comparison as it always outputs 1082 instead of 1080. So I did the AV1 in UHD. Hevc comparison also included for CPU and Nvenc encoding.
[Attachment 73622 - Click to enlarge]Last edited by JN-; 4th Sep 2023 at 07:12.
Similar Threads
-
Conversion error from 1080p to 720p with Svt-Av1
By ignace72 in forum LinuxReplies: 5Last Post: 6th Apr 2022, 14:16 -
Change the aspect ratio of a video track with FFmpeg and Svt-Av1
By ignace72 in forum LinuxReplies: 0Last Post: 6th Apr 2022, 08:04 -
What parameters to use to convert videos to av1 with SVT-AV1 with FFmpeg
By ignace72 in forum Video ConversionReplies: 4Last Post: 19th Mar 2022, 08:52 -
AOM adopts Intel SVT-AV1
By sophisticles in forum Latest Video NewsReplies: 2Last Post: 9th Sep 2020, 09:03 -
NetFlix to start using Intel's SVT-AV1
By sophisticles in forum Latest Video NewsReplies: 4Last Post: 8th Jan 2020, 08:12