Lab · 2026-11-08한국어日本語

VP9 vs libaom AV1: File Size, VMAF and Encoding Time Compared

A VP9 vs AV1 (libaom) comparison on four 10-second 1080p25 clips, each encoded at a slower and a faster preset. At the same VMAF of 90, AV1 needed 52–79% of the VP9 file size and 2.1–5.8x the CPU time.

The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)

The short answer

In this test, the file size needed to reach VMAF 90 with libaom (AV1) was 52–79% of VP9 (compared between paired presets, comparable clips only). In exchange, it used 2.1–5.8x the CPU time. Both the size savings and the time cost varied widely from clip to clip.

Why we ran this

How much smaller is AV1 than VP9, and how much longer does the encode take? YouTube is known to serve video in both formats, so anyone encoding their own video will sooner or later ask this. This VP9 vs libaom comparison answers it on the same four clips. Our earlier CRF sweep covered x264, x265 and SVT-AV1 but left out VP9 and libaom.

VP9 and libaom use different CRF scales, so the same CRF does not mean the same quality. On blue_sky, for example, CRF 27 gave 12,016,732 B with the VP9 slower preset and 4,925,028 B with the libaom slower preset. So instead of comparing CRF values, we encoded with each encoder at six CRF values (27–57), plotted a file-size-versus-quality curve for each, and compared file sizes at the same VMAF.

Test setup

ItemDetails
FFmpeg9.0.2 (gyan.dev full_build)
PCOne machine: AMD Ryzen 5 PRO 4650G (6 cores, 12 threads), 16 GB RAM
Threads per job4 (row-mt on). Process priority set to IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps, original y4m
LengthOnly the first 250 frames (10 seconds) of each clip. Output is mkv, no audio
Quality metriclibvmaf default model (vmaf_v0.6.1), measured per frame against the original → mean (vmaf_mean), 5th percentile (vmaf_p5), minimum (vmaf_min)
Time metricWall-clock time (rtime) fluctuates because of the IDLE priority, so comparisons use CPU time (utime)
Measured on2026-11-08

VMAF is a video quality metric developed by Netflix. It compares the encoded video with the original frame by frame and scores each frame from 0 to 100. The closer to 100, the harder it is to tell the encode from the original, though the score is no substitute for your own eyes. In this article, "mean" is the average of the 250 per-frame scores, and "5th percentile" is the cutoff for the worst 5% of frames.

Encoder settings

EncoderPreset (cpu-used)Six CRF valuesCommand (key options)
VP9 slower227, 33, 39, 45, 51, 57-c:v libvpx-vp9 -cpu-used 2 -crf Q -b:v 0 -row-mt 1 -threads 4
VP9 faster527, 33, 39, 45, 51, 57-c:v libvpx-vp9 -cpu-used 5 -crf Q -b:v 0 -row-mt 1 -threads 4
AV1 (libaom) slower427, 33, 39, 45, 51, 57-c:v libaom-av1 -cpu-used 4 -crf Q -b:v 0 -row-mt 1 -threads 4
AV1 (libaom) faster627, 33, 39, 45, 51, 57-c:v libaom-av1 -cpu-used 6 -crf Q -b:v 0 -row-mt 1 -threads 4

Input and output paths are omitted. We substituted each CRF value for Q, one encode per value. We pair the slower presets (VP9 2 ↔ libaom 4) and the faster presets (VP9 5 ↔ libaom 6) and compare by speed tier. The same preset number does not mean the same speed class; we chose the pairing ourselves for this article.

Test clips: source and license

All four clips are 1080p25 videos made by TUM / Taurus Media Technik (2001), downloaded from the Xiph.org derf collection (media.xiph.org/video/derf/y4m/). The accompanying ReadMe_1080p.txt states "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).

Easy clips like blue_sky saturate near VMAF 100 at low CRF values, so we extended the CRF range up to 57.

Results by clip

In each chart, the x-axis is file size (bitrate) and the y-axis is VMAF. Solid lines are the slower presets and dashed lines are the faster presets. At the same height, the curve further to the left delivered the same quality at a smaller file size. The tables list file size, VMAF, fps and CPU time for every CRF.

blue_sky — blue sky and tree branches

8090100500k1M2M5M10MBitrate (bps, log scale)VMAFVP9 (libvpx) · preset 2 q=57: 588.2 kbps, VMAF 82.969VP9 (libvpx) · preset 2 q=51: 976 kbps, VMAF 92.141VP9 (libvpx) · preset 2 q=45: 1,629.5 kbps, VMAF 98.163VP9 (libvpx) · preset 2 q=39: 2,835 kbps, VMAF 99.93VP9 (libvpx) · preset 2 q=33: 5,216.4 kbps, VMAF 99.98VP9 (libvpx) · preset 2 q=27: 9,613.4 kbps, VMAF 99.983VP9 (libvpx) · preset 5 q=57: 563.8 kbps, VMAF 81.118VP9 (libvpx) · preset 5 q=51: 920.7 kbps, VMAF 90.724VP9 (libvpx) · preset 5 q=45: 1,540.7 kbps, VMAF 97.657VP9 (libvpx) · preset 5 q=39: 2,657 kbps, VMAF 99.914VP9 (libvpx) · preset 5 q=33: 4,792.5 kbps, VMAF 99.98VP9 (libvpx) · preset 5 q=27: 8,700.5 kbps, VMAF 99.983AV1 (libaom) · preset 4 q=57: 643.6 kbps, VMAF 95.47AV1 (libaom) · preset 4 q=51: 971 kbps, VMAF 99.244AV1 (libaom) · preset 4 q=45: 1,349.1 kbps, VMAF 99.954AV1 (libaom) · preset 4 q=39: 1,855.2 kbps, VMAF 99.972AV1 (libaom) · preset 4 q=33: 2,540.6 kbps, VMAF 99.974AV1 (libaom) · preset 4 q=27: 3,940 kbps, VMAF 99.977AV1 (libaom) · preset 6 q=57: 491.8 kbps, VMAF 86.996AV1 (libaom) · preset 6 q=51: 757 kbps, VMAF 94.172AV1 (libaom) · preset 6 q=45: 1,086.3 kbps, VMAF 98.427AV1 (libaom) · preset 6 q=39: 1,573.5 kbps, VMAF 99.899AV1 (libaom) · preset 6 q=33: 2,319.1 kbps, VMAF 99.971AV1 (libaom) · preset 6 q=27: 3,630.7 kbps, VMAF 99.974
VP9 (libvpx) · preset 2VP9 (libvpx) · preset 5AV1 (libaom) · preset 4AV1 (libaom) · preset 6
blue_sky — blue sky and tree branches — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4273,940 kbps99.98100.0041.621.08612.5
AV1 (libaom) · preset 4332,540.6 kbps99.97100.0040.511.3502.8
AV1 (libaom) · preset 4391,855.2 kbps99.97100.0039.521.48427.2
AV1 (libaom) · preset 4451,349.1 kbps99.95100.0038.411.88350.8
AV1 (libaom) · preset 451971 kbps99.2496.3637.182.14311.9
AV1 (libaom) · preset 457643.6 kbps95.4790.6335.602.54262.1
AV1 (libaom) · preset 6273,630.7 kbps99.97100.0040.934.05194.8
AV1 (libaom) · preset 6332,319.1 kbps99.97100.0039.624.6169.2
AV1 (libaom) · preset 6391,573.5 kbps99.9099.6638.365.2148.3
AV1 (libaom) · preset 6451,086.3 kbps98.4394.1437.015.92130.5
AV1 (libaom) · preset 651757 kbps94.1787.8135.666.61117.2
AV1 (libaom) · preset 657491.8 kbps87.0080.5633.937.34104.3
VP9 (libvpx) · preset 2279,613.4 kbps99.98100.0041.596.14146.4
VP9 (libvpx) · preset 2335,216.4 kbps99.98100.0040.096.96129.7
VP9 (libvpx) · preset 2392,835 kbps99.9399.4238.449.2695.3
VP9 (libvpx) · preset 2451,629.5 kbps98.1693.8336.6510.2186.6
VP9 (libvpx) · preset 251976 kbps92.1486.7734.8310.0386.8
VP9 (libvpx) · preset 257588.2 kbps82.9776.9132.8910.9480.4
VP9 (libvpx) · preset 5278,700.5 kbps99.98100.0041.237.8792.9
VP9 (libvpx) · preset 5334,792.5 kbps99.98100.0039.7110.5669.4
VP9 (libvpx) · preset 5392,657 kbps99.9199.3538.0011.8960.7
VP9 (libvpx) · preset 5451,540.7 kbps97.6693.4936.2010.3960.0
VP9 (libvpx) · preset 551920.7 kbps90.7285.3134.3014.249.0
VP9 (libvpx) · preset 557563.8 kbps81.1274.7832.4015.2544.6
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

60708090100500k1M2M5MBitrate (bps, log scale)VMAFVP9 (libvpx) · preset 2 q=57: 579.8 kbps, VMAF 67.368VP9 (libvpx) · preset 2 q=51: 867 kbps, VMAF 78.114VP9 (libvpx) · preset 2 q=45: 1,308.9 kbps, VMAF 86.495VP9 (libvpx) · preset 2 q=39: 2,009.7 kbps, VMAF 92.671VP9 (libvpx) · preset 2 q=33: 3,243.8 kbps, VMAF 96.658VP9 (libvpx) · preset 2 q=27: 5,630.6 kbps, VMAF 98.687VP9 (libvpx) · preset 5 q=57: 582.2 kbps, VMAF 65.772VP9 (libvpx) · preset 5 q=51: 869.8 kbps, VMAF 76.518VP9 (libvpx) · preset 5 q=45: 1,288 kbps, VMAF 85.506VP9 (libvpx) · preset 5 q=39: 1,965.6 kbps, VMAF 92.081VP9 (libvpx) · preset 5 q=33: 3,118.9 kbps, VMAF 96.362VP9 (libvpx) · preset 5 q=27: 5,206.7 kbps, VMAF 98.634AV1 (libaom) · preset 4 q=57: 416.4 kbps, VMAF 75.537AV1 (libaom) · preset 4 q=51: 629.5 kbps, VMAF 84.049AV1 (libaom) · preset 4 q=45: 890.5 kbps, VMAF 89.987AV1 (libaom) · preset 4 q=39: 1,260.6 kbps, VMAF 94.232AV1 (libaom) · preset 4 q=33: 1,826.2 kbps, VMAF 97.415AV1 (libaom) · preset 4 q=27: 2,675.2 kbps, VMAF 99.053AV1 (libaom) · preset 6 q=57: 387.4 kbps, VMAF 69.032AV1 (libaom) · preset 6 q=51: 593.5 kbps, VMAF 79.174AV1 (libaom) · preset 6 q=45: 846.4 kbps, VMAF 86.121AV1 (libaom) · preset 6 q=39: 1,217.1 kbps, VMAF 91.584AV1 (libaom) · preset 6 q=33: 1,758.8 kbps, VMAF 95.612AV1 (libaom) · preset 6 q=27: 2,567 kbps, VMAF 98.212
VP9 (libvpx) · preset 2VP9 (libvpx) · preset 5AV1 (libaom) · preset 4AV1 (libaom) · preset 6
pedestrian_area — pedestrian street — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4272,675.2 kbps99.0596.7841.981.25567.8
AV1 (libaom) · preset 4331,826.2 kbps97.4294.7041.241.38500.8
AV1 (libaom) · preset 4391,260.6 kbps94.2391.9440.321.63423.4
AV1 (libaom) · preset 445890.5 kbps89.9987.6939.321.95367.1
AV1 (libaom) · preset 451629.5 kbps84.0580.6638.182.3310.9
AV1 (libaom) · preset 457416.4 kbps75.5470.0836.662.61273.6
AV1 (libaom) · preset 6272,567 kbps98.2195.4741.564.18197.7
AV1 (libaom) · preset 6331,758.8 kbps95.6192.6340.694.78167.6
AV1 (libaom) · preset 6391,217.1 kbps91.5888.8939.705.31152.4
AV1 (libaom) · preset 645846.4 kbps86.1282.7738.595.9134.0
AV1 (libaom) · preset 651593.5 kbps79.1775.5037.356.58121.8
AV1 (libaom) · preset 657387.4 kbps69.0364.1435.747.3109.5
VP9 (libvpx) · preset 2275,630.6 kbps98.6995.7841.655.5163.3
VP9 (libvpx) · preset 2333,243.8 kbps96.6693.2540.706.92126.8
VP9 (libvpx) · preset 2392,009.7 kbps92.6788.9939.568.28104.5
VP9 (libvpx) · preset 2451,308.9 kbps86.5082.4838.269.2492.0
VP9 (libvpx) · preset 251867 kbps78.1173.2836.7910.8777.0
VP9 (libvpx) · preset 257579.8 kbps67.3761.2635.2011.7269.1
VP9 (libvpx) · preset 5275,206.7 kbps98.6395.7041.317.37102.8
VP9 (libvpx) · preset 5333,118.9 kbps96.3692.9940.329.5577.8
VP9 (libvpx) · preset 5391,965.6 kbps92.0888.3039.1811.5463.4
VP9 (libvpx) · preset 5451,288 kbps85.5181.1737.8813.5152.7
VP9 (libvpx) · preset 551869.8 kbps76.5271.1136.4015.1747.3
VP9 (libvpx) · preset 557582.2 kbps65.7759.5234.8416.9841.1
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

4050607080901002M5M10M20MBitrate (bps, log scale)VMAFVP9 (libvpx) · preset 2 q=57: 2,870.4 kbps, VMAF 55.956VP9 (libvpx) · preset 2 q=51: 4,638.1 kbps, VMAF 70.892VP9 (libvpx) · preset 2 q=45: 7,295.7 kbps, VMAF 84.317VP9 (libvpx) · preset 2 q=39: 11,283.2 kbps, VMAF 94.071VP9 (libvpx) · preset 2 q=33: 17,330.7 kbps, VMAF 99.612VP9 (libvpx) · preset 2 q=27: 25,626.8 kbps, VMAF 99.981VP9 (libvpx) · preset 5 q=57: 2,723.9 kbps, VMAF 54.395VP9 (libvpx) · preset 5 q=51: 4,339.4 kbps, VMAF 69.013VP9 (libvpx) · preset 5 q=45: 6,740.9 kbps, VMAF 82.991VP9 (libvpx) · preset 5 q=39: 10,393.4 kbps, VMAF 93.305VP9 (libvpx) · preset 5 q=33: 15,900 kbps, VMAF 99.27VP9 (libvpx) · preset 5 q=27: 23,679.5 kbps, VMAF 99.981AV1 (libaom) · preset 4 q=57: 1,677.2 kbps, VMAF 47.266AV1 (libaom) · preset 4 q=51: 2,907.1 kbps, VMAF 64.492AV1 (libaom) · preset 4 q=45: 4,593.5 kbps, VMAF 79.698AV1 (libaom) · preset 4 q=39: 7,020 kbps, VMAF 91.818AV1 (libaom) · preset 4 q=33: 10,501.2 kbps, VMAF 99.604AV1 (libaom) · preset 4 q=27: 15,360 kbps, VMAF 99.937AV1 (libaom) · preset 6 q=57: 1,689 kbps, VMAF 45.577AV1 (libaom) · preset 6 q=51: 2,923.4 kbps, VMAF 62.139AV1 (libaom) · preset 6 q=45: 4,527.8 kbps, VMAF 76.731AV1 (libaom) · preset 6 q=39: 6,980.3 kbps, VMAF 89.164AV1 (libaom) · preset 6 q=33: 10,524 kbps, VMAF 98.226AV1 (libaom) · preset 6 q=27: 15,332.6 kbps, VMAF 99.932
VP9 (libvpx) · preset 2VP9 (libvpx) · preset 5AV1 (libaom) · preset 4AV1 (libaom) · preset 6
riverbed — riverbed (fine ripples) — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 42715,360 kbps99.94100.0039.200.631211.0
AV1 (libaom) · preset 43310,501.2 kbps99.6098.1937.690.691113.9
AV1 (libaom) · preset 4397,020 kbps91.8289.1236.030.81941.3
AV1 (libaom) · preset 4454,593.5 kbps79.7075.6534.291783.3
AV1 (libaom) · preset 4512,907.1 kbps64.4960.2932.471.18663.3
AV1 (libaom) · preset 4571,677.2 kbps47.2742.9430.501.38573.4
AV1 (libaom) · preset 62715,332.6 kbps99.93100.0038.931.97421.3
AV1 (libaom) · preset 63310,524 kbps98.2396.1037.372.14392.8
AV1 (libaom) · preset 6396,980.3 kbps89.1686.3535.692.36356.3
AV1 (libaom) · preset 6454,527.8 kbps76.7373.1733.912.7308.1
AV1 (libaom) · preset 6512,923.4 kbps62.1458.1132.203.19260.4
AV1 (libaom) · preset 6571,689 kbps45.5841.0830.183.93211.2
VP9 (libvpx) · preset 22725,626.8 kbps99.98100.0040.423.08295.5
VP9 (libvpx) · preset 23317,330.7 kbps99.6197.9238.863.52259.3
VP9 (libvpx) · preset 23911,283.2 kbps94.0788.6937.093.92231.1
VP9 (libvpx) · preset 2457,295.7 kbps84.3276.5035.224.48202.4
VP9 (libvpx) · preset 2514,638.1 kbps70.8961.7333.305.06177.3
VP9 (libvpx) · preset 2572,870.4 kbps55.9646.5931.385.35166.0
VP9 (libvpx) · preset 52723,679.5 kbps99.98100.0040.053.85218.4
VP9 (libvpx) · preset 53315,900 kbps99.2797.0438.474.79173.9
VP9 (libvpx) · preset 53910,393.4 kbps93.3187.4336.726.02139.9
VP9 (libvpx) · preset 5456,740.9 kbps82.9974.9634.907.87103.1
VP9 (libvpx) · preset 5514,339.4 kbps69.0159.6933.0310.1378.3
VP9 (libvpx) · preset 5572,723.9 kbps54.4045.3731.1511.4366.3
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

60708090100500k1M2M5MBitrate (bps, log scale)VMAFVP9 (libvpx) · preset 2 q=57: 474 kbps, VMAF 66.013VP9 (libvpx) · preset 2 q=51: 756.6 kbps, VMAF 75.282VP9 (libvpx) · preset 2 q=45: 1,219.8 kbps, VMAF 82.934VP9 (libvpx) · preset 2 q=39: 1,989.9 kbps, VMAF 89.065VP9 (libvpx) · preset 2 q=33: 3,364.2 kbps, VMAF 93.357VP9 (libvpx) · preset 2 q=27: 5,774.9 kbps, VMAF 96.073VP9 (libvpx) · preset 5 q=57: 480.1 kbps, VMAF 64.628VP9 (libvpx) · preset 5 q=51: 755.4 kbps, VMAF 74.138VP9 (libvpx) · preset 5 q=45: 1,184.6 kbps, VMAF 82.219VP9 (libvpx) · preset 5 q=39: 1,918.9 kbps, VMAF 88.684VP9 (libvpx) · preset 5 q=33: 3,201.3 kbps, VMAF 93.24VP9 (libvpx) · preset 5 q=27: 5,324.3 kbps, VMAF 96.079AV1 (libaom) · preset 4 q=57: 316 kbps, VMAF 66.233AV1 (libaom) · preset 4 q=51: 506 kbps, VMAF 74.233AV1 (libaom) · preset 4 q=45: 759.8 kbps, VMAF 80.686AV1 (libaom) · preset 4 q=39: 1,168.5 kbps, VMAF 86.453AV1 (libaom) · preset 4 q=33: 1,785.7 kbps, VMAF 90.993AV1 (libaom) · preset 4 q=27: 2,726.2 kbps, VMAF 94.195AV1 (libaom) · preset 6 q=57: 284.2 kbps, VMAF 62.291AV1 (libaom) · preset 6 q=51: 464.1 kbps, VMAF 70.994AV1 (libaom) · preset 6 q=45: 709.2 kbps, VMAF 78.238AV1 (libaom) · preset 6 q=39: 1,101 kbps, VMAF 84.579AV1 (libaom) · preset 6 q=33: 1,700.9 kbps, VMAF 89.533AV1 (libaom) · preset 6 q=27: 2,675.2 kbps, VMAF 93.392
VP9 (libvpx) · preset 2VP9 (libvpx) · preset 5AV1 (libaom) · preset 4AV1 (libaom) · preset 6
rush_hour — evening rush-hour traffic — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4272,726.2 kbps94.1992.1042.091.17642.5
AV1 (libaom) · preset 4331,785.7 kbps90.9989.4941.431.36551.4
AV1 (libaom) · preset 4391,168.5 kbps86.4584.5840.601.71436.4
AV1 (libaom) · preset 445759.8 kbps80.6977.9139.602.25336.2
AV1 (libaom) · preset 451506 kbps74.2371.1838.562.71280.8
AV1 (libaom) · preset 457316 kbps66.2362.5537.263.25236.5
AV1 (libaom) · preset 6272,675.2 kbps93.3991.8541.874.13202.7
AV1 (libaom) · preset 6331,700.9 kbps89.5387.5741.104.74173.6
AV1 (libaom) · preset 6391,101 kbps84.5882.1540.215.44149.7
AV1 (libaom) · preset 645709.2 kbps78.2475.2139.176.67122.1
AV1 (libaom) · preset 651464.1 kbps70.9967.6638.057.54107.3
AV1 (libaom) · preset 657284.2 kbps62.2958.7136.648.5294.9
VP9 (libvpx) · preset 2275,774.9 kbps96.0794.1942.316.01149.5
VP9 (libvpx) · preset 2333,364.2 kbps93.3691.0841.567.75114.7
VP9 (libvpx) · preset 2391,989.9 kbps89.0686.0340.649.3394.4
VP9 (libvpx) · preset 2451,219.8 kbps82.9379.3739.5111.0579.3
VP9 (libvpx) · preset 251756.6 kbps75.2871.3638.1812.8966.6
VP9 (libvpx) · preset 257474 kbps66.0161.7736.6514.4258.3
VP9 (libvpx) · preset 5275,324.3 kbps96.0894.2641.967.995.8
VP9 (libvpx) · preset 5333,201.3 kbps93.2490.8741.1710.3172.9
VP9 (libvpx) · preset 5391,918.9 kbps88.6885.6440.2712.7558.9
VP9 (libvpx) · preset 5451,184.6 kbps82.2278.4639.1515.3648.1
VP9 (libvpx) · preset 551755.4 kbps74.1469.8637.8318.1339.8
VP9 (libvpx) · preset 557480.1 kbps64.6360.2436.2720.3234.7
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

The comparisons below are calculated from the numbers in the tables. Because the measured points of the four encoders don't land on exactly the same VMAF, we estimated the bitrate at VMAF 90 by joining the two measured points on either side of VMAF 90 with a straight line (linear interpolation of kbps against VMAF). If the points are far apart, the estimate can deviate from the true curve. Where no measured points straddle VMAF 90, we did not estimate and left a "–".

ClipVP9 slower (2)AV1 slower (4)AV1/VP9VP9 faster (5)AV1 faster (6)AV1/VP9
blue_sky885 kbps––894 kbps603 kbps67%
pedestrian_area1,707 kbps892 kbps52%1,751 kbps1,110 kbps63%
riverbed9,619 kbps6,656 kbps69%9,223 kbps7,307 kbps79%
rush_hour2,289 kbps1,651 kbps72%2,289 kbps1,819 kbps79%

Estimated bitrate at VMAF 90. AV1/VP9 = AV1 ÷ VP9. For blue_sky with the libaom slower preset, even the lowest measured point is VMAF 95.47, so no points straddle VMAF 90. For riverbed with the libaom faster preset, the estimate joins CRF 33 (VMAF 98.23) and CRF 39 (VMAF 89.16), so the error may be relatively large.

  • Between the slower presets, AV1 used 52–72% of the VP9 file size (3 comparable clips), i.e. 28–48% smaller. The biggest saving was on pedestrian_area (48% smaller) and the smallest on rush_hour (28% smaller).
  • Between the faster presets, AV1 used 63–79% of the VP9 file size (all 4 clips), i.e. 21–37% smaller. The saving was smaller than with the slower presets.
  • The gap varies a lot by clip. Even within the same pairing (slower ↔ slower), it ranged from 28% to 48%. Don't apply this one number to every video.
  • Slowing the VP9 preset did not shrink the file much. At VMAF 90, the difference between VP9 preset 2 and 5 was 885 vs 894 kbps on blue_sky, 1,707 vs 1,751 kbps on pedestrian_area and 2,289 vs 2,289 kbps on rush_hour, a difference of 0–3%; on riverbed, preset 5 (9,223 kbps) was actually smaller than preset 2 (9,619 kbps). CPU time, on the other hand, differed a lot (see below).
  • The libaom preset made a visible difference. At VMAF 90, the faster preset (6) was larger than the slower preset (4) by 24% on pedestrian_area (1,110 vs 892 kbps), 10% on riverbed (7,307 vs 6,656 kbps) and 10% on rush_hour (1,819 vs 1,651 kbps).
  • Faster libaom (6) was even smaller than slower VP9 (2). At VMAF 90, AV1 preset 6 ÷ VP9 preset 2 was 68% on blue_sky, 65% on pedestrian_area, 76% on riverbed and 79% on rush_hour.
  • The same mean can hide different worst frames. On riverbed at CRF 27, mean VMAF was similar for VP9 slower (99.981) and libaom slower (99.937), but the minimum frame scores were 95.35 and 84.17. This data alone can't tell us why.

Encoding time: what does it cost?

Because we ran the processes at IDLE priority, wall-clock time (rtime) fluctuates with whatever else the machine is doing. So we compare CPU time (utime). The table below picks, for each encoder, the measured point closest to VMAF 90 and puts the utime values side by side. Since the two VMAF values are not exactly equal, we list the VMAF in parentheses.

ClipVP9 slower (2)AV1 slower (4)RatioVP9 faster (5)AV1 faster (6)Ratio
blue_skyCRF 51 (92.1): 86.8 sCRF 57 (95.5): 262.1 s3.0xCRF 51 (90.7): 49.0 sCRF 57 (87.0): 104.3 s2.1x
pedestrian_areaCRF 39 (92.7): 104.5 sCRF 45 (90.0): 367.1 s3.5xCRF 39 (92.1): 63.4 sCRF 39 (91.6): 152.4 s2.4x
riverbedCRF 39 (94.1): 231.1 sCRF 39 (91.8): 941.3 s4.1xCRF 39 (93.3): 139.9 sCRF 39 (89.2): 356.3 s2.5x
rush_hourCRF 39 (89.1): 94.4 sCRF 33 (91.0): 551.4 s5.8xCRF 39 (88.7): 58.9 sCRF 33 (89.5): 173.6 s2.9x

Each cell is CRF (mean VMAF): CPU time. Ratio = AV1 utime ÷ VP9 utime. The points are the closest ones, not points at the same VMAF, so the quality gap is large in some cells, especially the blue_sky slower pair (VMAF 92.1 vs 95.5).

  • AV1 used 3.0–5.8x the CPU time of VP9 in the slower pairing and 2.1–2.9x in the faster pairing.
  • In terms of the encoding speed you see on screen (fps based on rtime), libaom slower ranged from 0.63 to 3.25 fps, libaom faster from 1.97 to 8.52 fps, VP9 slower from 3.08 to 14.42 fps and VP9 faster from 3.85 to 20.32 fps. Encoding 10 seconds (250 frames) of 1080p with libaom slower took 395.7 seconds on riverbed at CRF 27.
  • Faster libaom (6) used about 1.5–1.8x the CPU time of slower VP9 (2) (pedestrian_area 152.4 vs 104.5 s, riverbed 356.3 vs 231.1 s, rush_hour 173.6 vs 94.4 s — 1.46x, 1.54x and 1.84x respectively). Combined with the result above that faster AV1 is smaller than slower VP9, on these clips faster libaom looks like a way to spend a little more time for noticeably smaller files. We didn't calculate a time ratio for blue_sky because the VMAF values differ.
  • For all four settings, CPU time tended to drop as CRF went up (and file size went down). For example, libaom slower on riverbed took 1211.0 s at CRF 27 and 573.4 s at CRF 57.

Limitations

  • Only four 10-second clips. They cover scenery, city and ripple-like content, but not animation, screen recordings or dark footage. Don't apply the ratios above to every video.
  • Only 8-bit yuv420p was measured. 10-bit and HDR are not covered.
  • This is not what YouTube actually uses. YouTube's encoding settings are not public. This article only shows the results of running libvpx-vp9 and libaom-av1 with the options above; it does not reproduce YouTube's quality.
  • Only one rate-control mode (CRF, quality-based) was measured. We did not test 2-pass encoding to a target bitrate, or other VP9 options such as tiles or lag-in-frames.
  • The preset pairing is our own choice. VP9's cpu-used and libaom's cpu-used don't mean the same speed. With other presets, both file size and speed will change.
  • The VMAF 90 estimate is interpolation. We joined measured points with straight lines, and some points are far apart. We compared at a single VMAF value, so the ratios may differ at other quality levels.
  • We used only the default VMAF model. The same score can look different in texture, and PSNR (psnr_y) is in the CSV but we did not interpret it.
  • One PC, one measurement. We did not repeat runs to estimate error, and the IDLE priority makes wall-clock time fluctuate. Treat speed as a rough reference.
  • File sizes in the tables are video stream file sizes. Audio, playback compatibility and hardware decoding support are not factored in.

Practical recommendations

  • If you want the smallest files and can spend the encoding time, libaom (AV1) gave the smallest results in this test. However, slower libaom sometimes took minutes for 10 seconds of 1080p (riverbed CRF 27: 395.7 s), which becomes impractical for long videos.
  • For a balance of time and size, try faster libaom (cpu-used 6) first. On three clips in this test (pedestrian_area, riverbed, rush_hour), it produced smaller files than slower VP9 for 1.5–1.8x the CPU time.
  • If you use VP9, the gain from the slower preset was small in this test. At VMAF 90 the size difference was at most 4% (on riverbed the slower preset was actually larger), while CPU time at the measured points in the table above was 1.6–1.8x (e.g. pedestrian_area 104.5 vs 63.4 s). It may vary by clip, so check with your own video.
  • Whether your playback targets support AV1 needs to be checked separately. You can look up per-device support with the codec support checker. To hit a target file size (for example, a 10 MB upload limit), use the video size and bitrate calculator alongside it.
  • Don't carry CRF numbers across codecs; compare by file size at the same quality (VMAF). The curves for x264, x265 and SVT-AV1 are in the CRF sweep.

The full raw data can be downloaded as a CSV at the bottom of the page.

Raw data: vp9-vs-libaom-v1.csv