Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > VP9 and AV1

Thread Tools Search this Thread Display Modes
Old 4th June 2020, 21:12   #1  |  Link
Registered User
Join Date: Sep 2005
Posts: 178
Any way to get better detail in dark areas? (libaom/aomenc)

With AVIF finally getting support in Firefox, I've been eager to make use of it. Doing some testing last night, using aomenc to produce the image, I found it's definitely better overall than WebP. However, it seems to struggle in the darker areas of images, where WebP would do well (though WebP did worse in bright areas).

So, does anyone know any tips to get more even quality over an image? I was using constant quality (--end-usage=q), and am wondering if cq ratecontrol would be better. Alternatively, I was thinking various aq-modes might be of use. Or am I completely off base, and is there something entirely different that I should be looking at, like using a different AV1 encoder?

After several hours of testing, I can definitely say that --aq-mode=1 looks better than the default (0). The quality gains are most noticeable in areas that are dark, noisy, or low-contrast. I'm curious what others think though, as this was entirely subjective testing. I also looked at AQ 2 & 3, but they produced identical results to AQ 0.

If doing your own tests using various AQ, realize that files encoded with AQ 1 will have a different size than AQ 0, either larger or smaller. To account for this during my tests, I stacked the deck in AQ 0's favor, by lowering the quantizer for AQ 0 (or raising it for AQ 1) if AQ 0 produced smaller sized files than AQ 1. AQ 1 won or tied AQ 0 in all cases, with bright, low-noise, high-contrast images being the toughest to tell apart.

I still need to test other rate control methods to see if they help or hurt, but again please let me know if you think there are other things I should test out.
My filters: DupStep | PointSize

Last edited by `Orum; 5th June 2020 at 05:33.
`Orum is offline   Reply With Quote

aomenc, avif, libaom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 04:57.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.