Use upcoming aom-av1 --tune SSIMULACRA2 for avif encoding
The PSY fork of SVT-AV1 features a new --tune 4 which is designed to improve still picture (i.e. AVIF) encoding:
"--tune 4 - A new Tune called Still Picture has been introduced for AVIF encoding, with promising gains observed over aomenc, aomenc 4:4:4, and mainline SVT-AV1" https://github.com/AOMediaCodec/libavif/releases
It would be nice to have libheif use this fork (with third-party/svt.cmd) and tune out of the box (if SVT-AV1 encoder is selected).
There are no indepennded benchmarks / image comparisons though as far as I can tell. https://github.com/gianni-rosato/svt-av1-psy/commit/393cf6dfe4d5315370ad429e891f784940ed7926
I think we should stick with the mainline, given comments like: https://github.com/gianni-rosato/svt-av1-psy/commit/393cf6dfe4d5315370ad429e891f784940ed7926#diff-6687059c745f98a928cbc3ee5803db4aafecc61e405a894b3028aa56ab67a87fR4630-R4631
I'm also -1 on use of experimental forks in general.
@gitoss Thanks for making us aware that such a development branch exists. We want to base libheif on the stable branches of the codecs, but you are of course free to compile it with whatever version of Svt-av1 as you like to be at the cutting edge.
Fyi, the devs of the svt-av1 -psy fork have have put up a comparison of their --tune 4 vs. other encoders: https://svt-av1-psy.com/avif/
@gitoss Thanks for making us aware that such a development branch exists. We want to base libheif on the stable branches of the codecs, but you are of course free to compile it with whatever version of Svt-av1 as you like to be at the cutting edge.
Fyi aom has now adopted all of the avif-related changes into their ssimulacra2 tune, so using the svt -psy fork isn't necessary anymore.
Thanks for the information. I'll have a look.
Thanks for the information. I'll have a look.
It'll be in the next release & it makes sens to have that tune as the default for avif: https://aomedia.googlesource.com/aom/+/2d2f644e475ce348722ea8b199b49baea285ed04
Some comparisons are here - the same dev put his code from the svt -psy fork into aom and added 444 optimizations/capability: https://github.com/AOMediaCodec/libavif/issues/2412
Reopened it as a reminder for adding the changes.