Skip Navigation

Comparing compression in AV1, x264, and x265

I recently got it into my head to compare the various popular video codecs in an effort to better understand how av1 works and looks compared to x264 and x265. I also had ideas of using a intel video card to compress a home video security setup, and what levels of compression I would need to get good results.

The Setup
I used the 4k 6.3gb blender project, tears of steel as a source. I downscaled the video to 1080p using all three codecs, and then attempted to compare the results using various crf levels.

To compare results I used imgsli, FFMetrics, and my own picture viewer to try and see what the differences are.

The Results

crfav1 KBx265 KBx264 KB
18419,261632,079685,217 – x246 visually lossless
21352,337390,358 – x265 visually lossless411,439
24301,517 – av1 VAMF visually lossless250,426263,524 – x264 good enough
27245,685165,079 – x265 good enough176,919
30205,008110,062122,458
33168,19273,52886,899
36139,379 – av1 My visually lossless48,51663,214
39116,09631,67047,161
4297,365 – av1 my good enough20,63635,801
4581,80513,59827,484
4869,0449,72620,823
5158,3168,586 – worst possible16,120 – worst possible
5448,681
5739,113
6029,062
6316,533 – worst possible

Here is av1 rcf 36 vs crf 24.

I go into more detail with the hows and whys of my choices, in my journal-style blog post, as well as how i came to these conclusions, But in essence, if you want to lose practically no visual information, crf24 through 36 for av1, crf 21 for x265, and crf 18 for x264 will do the job.

If you are low on space, using my 'good enough' choices will get you practically the same visual results while using less space, depending on the codec.

24 comments
24 comments