Skip to content

AVIF Encoder Benchmark

Dirk Farin edited this page Oct 14, 2022 · 2 revisions

This page shows the quality, compression factor, and encoding time for different AVIF encoders. The image used in these tests was dsc_1385.jpg. Resolution of this image is 4288x2848 pixels. You can use the image file to reproduce these experiments. PSNR values were computed with the heif-enc --benchmark option. The PSNR is computed on the luminance channel only.

The encoders used were:

  • AOM v3.3.0
  • SVT-AV1 v1.2.1
  • Rav1e v0.5.0

All tests were run on an i7-4770K @3.50 GHz.

We first show the rate-distortion curves for each encoder at different speed settings. The numbers along the curve are the encoding times in seconds.

AOM v3.3.0

221014-aom-3 3 0

SVT-AV1 v1.2.1

221014-svt-1 2 1

rav1e v0.5.0

221014-rav-0 5 0

Encoder Comparison

Operating point 40dB/400kB

In order to compare the execution speed for different encoders, I have selected the speed setting for each encoder such the RD-curve passes as close to the point 40 dB @ 400 kB as possible. This lets us compare the speed for the encoders at comparable compression factors and quality. There are two curves for the AOM encoder, as they nicely enclose the other two curves.

It shows that the SVT-AV1 at this operating point is about 2x as fast as AOM and 5x as fast as Rav1e.

221014-avif-speed 221014-avif-speed-magnified

Fastest speed

Finally, we show the encoder performance with each encoder set to the maximum speed settings. We see that the fastest speeds can be obtained with AOM, but at a slightly lower quality than SVT-AV1.

221014-fastest-speed 221014-fastest-speed-magnified