Dobe-Solutions / sharp-heif-lambda-layer

Lambda layer for Sharp with HEIF support
MIT License
3 stars 0 forks source link

Consider to use dav1d + rav1e for avif encoding & decoding #3

Closed faradaytrs closed 3 months ago

faradaytrs commented 3 months ago

These two seem to be much faster than libaom Related: https://github.com/Dobe-Solutions/sharp-heif-lambda-layer/issues/3#issue-2404739338

Cruaier commented 3 months ago

Hi @faradaytrs do you have any benchmarks for that? It can be easily integrated into the build to use other decoders/encoders - if interested feel free to create a PR.

faradaytrs commented 3 months ago

Hi @faradaytrs do you have any benchmarks for that? It can be easily integrated into the build to use other decoders/encoders - if interested feel free to create a PR.

I actually tried to build it, and it appeared to be slower, so i have lost interest. AVIF is a big disappointment.
i don't know why but no matter what encoders i try it's slow, well maybe it was the idea that it's not supposed to be fast, it focuses on compression, okay, I can accept it, BUT... The size of the resulting picture is the SAME OR LARGER than the corresponding WebP, it just doesn't make sense.

Cruaier commented 3 months ago

There are cases where the image format is mandatory and therefore the need for encoders; fast, small output size or compatibility...there are many factors which can be important.

Closing the issue for now.