logoalt Hacker News

jeroenhd • today at 12:02 AM • 1 reply • view on HN

I see, I can imagine a decade old CPU without any kind of video acceleration taking a while indeed. Technology has come a long way since the E5-2690v4.

Still, when encoding AVIF, there are various quality options to choose from, and the encoder has gotten better over the past year. On my i3-2120 NAS (which even your E5 should beat on single core perf), encoding an image at default speed takes about 4-6 seconds (JPEG about 2s), while producing an image of comparable quality a third the size. If I pass --speed 10, converting PNG to AVIF takes only half a second.

The standard AV1 encoder has improved a lot over a short amount of time, I invite you to run another benchmark, you may be surprised.


Replies

Aldipower • today at 8:54 AM

I am trying to hit a sweet spot between affordability, usability and performance. AVIF fells not in this sweet spot as simple as that. It is cheaper to buy some more (expensive) SSDs, because the images are 20% larger, then to buy new servers, because the encoding is 25 times slower. I am serving images to real users and the servers are in data-center rack. Got it?