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

libaom AV1 cpu-used 4 to 8 Tested: Are Slower Settings Worth the Time? (File Size, VMAF and Encoding Time)

We ran libaom-av1 with -cpu-used 4, 5, 6, 7 and 8 on four 10-second 1080p25 clips. cpu-used 6, 7 and 8 produced identical file sizes and VMAF. At the same VMAF, cpu-used 4 gave 79–92% of the file size of cpu-used 6 and above at 2.3–3.0x the CPU time, and cpu-used 5 gave 95–99% at 1.2–1.3x.

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 data, cpu-used 6, 7 and 8 gave the same file size and VMAF on all four clips (only the time taken differed). Taking cpu-used 6 and above as 100% at the same VMAF, cpu-used 5 came to 95–99% of the file size at 1.2–1.3x the CPU time, and cpu-used 4 to 79–92% at 2.3–3.0x. The files get smaller, but the price is steep: one 10-second 1080p clip at CRF 26 took up to 453 seconds with cpu-used 4 (riverbed).

Why we ran this

Among AV1 encoders, libaom (libaom-av1) is often described as efficient but "way too slow." In FFmpeg you trade speed against efficiency with -cpu-used, but it is hard to tell from the numbers how far down you need to go to make it worthwhile. Our earlier SVT-AV1 vs libaom test and VP9 vs libaom test used only a few libaom settings as the opponent, and we have never swept the speed setting of libaom on its own. This time we run cpu-used 4 to 8 on libaom alone at the same four CRF values, and look at how file size and encoding time change at the same VMAF.

Changing the setting changes the quality even at the same CRF, so we compare file size at the same VMAF rather than at the same CRF. Varying only the speed setting within one encoder is the same approach as the SVT-AV1 preset test and the VP9 cpu-used test.

Test setup

ItemDetails
FFmpeg9.0.2 (gyan.dev full_build). The libaom version itself was not recorded
PCOne machine: AMD Ryzen 5 PRO 4650G (6 cores, 12 threads), 16 GB RAM
Threads per job4 (-threads 4, -row-mt 1). Process priority set to IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps, source 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 frame by frame against the source → 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)
Number of jobs4 clips × 5 settings (cpu-used 4, 5, 6, 7, 8) × 4 CRF values (26, 36, 46, 56) = 80
Measured on2026-11-13

VMAF is a quality metric created by Netflix. It compares the encoded result with the source frame by frame and scores it from 0 to 100. The closer to 100, the harder it is to tell from the source, but the score is not a direct substitute for human judgment. The "mean" is the average of the 250 frame scores, and the "5th percentile" is the cutoff for the worst 5% of frames.

Encoder settings

Only cpu-used changes; CRF is run at 26, 36, 46 and 56 (input/output paths omitted, -usage not set)
ffmpeg -i clip.y4m -c:v libaom-av1 -cpu-used 4 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libaom-av1 -cpu-used 5 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libaom-av1 -cpu-used 6 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libaom-av1 -cpu-used 7 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libaom-av1 -cpu-used 8 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv

Test clip sources 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).

Results by clip

In the curves, the horizontal axis is file size (bitrate, log scale) and the vertical axis is VMAF. At the same height, the curve further left reached the same quality with a smaller file. The cpu-used 6, 7 and 8 curves have identical values, so they appear to overlap. The tables list file size, VMAF, fps and CPU time for every setting and CRF.

blue_sky — blue sky and tree branches

8090100500k1M2MBitrate (bps, log scale)VMAFAV1 (libaom) · preset 4 q=56: 697.1 kbps, VMAF 96.498AV1 (libaom) · preset 4 q=46: 1,274.7 kbps, VMAF 99.93AV1 (libaom) · preset 4 q=36: 2,182.9 kbps, VMAF 99.974AV1 (libaom) · preset 4 q=26: 4,347.8 kbps, VMAF 99.977AV1 (libaom) · preset 5 q=56: 532.7 kbps, VMAF 88.836AV1 (libaom) · preset 5 q=46: 1,009.4 kbps, VMAF 97.944AV1 (libaom) · preset 5 q=36: 1,841 kbps, VMAF 99.949AV1 (libaom) · preset 5 q=26: 3,759.4 kbps, VMAF 99.975AV1 (libaom) · preset 6 q=56: 536.9 kbps, VMAF 88.598AV1 (libaom) · preset 6 q=46: 1,019.6 kbps, VMAF 97.897AV1 (libaom) · preset 6 q=36: 1,910.5 kbps, VMAF 99.959AV1 (libaom) · preset 6 q=26: 3,937.9 kbps, VMAF 99.975AV1 (libaom) · preset 7 q=56: 536.9 kbps, VMAF 88.598AV1 (libaom) · preset 7 q=46: 1,019.6 kbps, VMAF 97.897AV1 (libaom) · preset 7 q=36: 1,910.5 kbps, VMAF 99.959AV1 (libaom) · preset 7 q=26: 3,937.9 kbps, VMAF 99.975AV1 (libaom) · preset 8 q=56: 536.9 kbps, VMAF 88.598AV1 (libaom) · preset 8 q=46: 1,019.6 kbps, VMAF 97.897AV1 (libaom) · preset 8 q=36: 1,910.5 kbps, VMAF 99.959AV1 (libaom) · preset 8 q=26: 3,937.9 kbps, VMAF 99.975
AV1 (libaom) · preset 4AV1 (libaom) · preset 5AV1 (libaom) · preset 6AV1 (libaom) · preset 7AV1 (libaom) · preset 8
blue_sky — blue sky and tree branches — file size vs. VMAF (5 cpu-used settings)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4264,347.8 kbps99.98100.0041.831.03647.9
AV1 (libaom) · preset 4362,182.9 kbps99.97100.0040.021.37479.7
AV1 (libaom) · preset 4461,274.7 kbps99.9399.5938.221.85360.9
AV1 (libaom) · preset 456697.1 kbps96.5091.9335.932.41282.0
AV1 (libaom) · preset 5263,759.4 kbps99.97100.0041.123.32237.1
AV1 (libaom) · preset 5361,841 kbps99.95100.0039.004.08190.0
AV1 (libaom) · preset 5461,009.4 kbps97.9492.9436.834.86157.8
AV1 (libaom) · preset 556532.7 kbps88.8482.1434.335.66134.6
AV1 (libaom) · preset 6263,937.9 kbps99.97100.0041.134199.4
AV1 (libaom) · preset 6361,910.5 kbps99.96100.0039.014.87162.4
AV1 (libaom) · preset 6461,019.6 kbps97.9093.2036.796.04128.6
AV1 (libaom) · preset 656536.9 kbps88.6082.1534.297.25107.4
AV1 (libaom) · preset 7263,937.9 kbps99.97100.0041.133.99199.5
AV1 (libaom) · preset 7361,910.5 kbps99.96100.0039.014.88161.3
AV1 (libaom) · preset 7461,019.6 kbps97.9093.2036.796.12127.7
AV1 (libaom) · preset 756536.9 kbps88.6082.1534.297.34106.6
AV1 (libaom) · preset 8263,937.9 kbps99.97100.0041.134.1197.1
AV1 (libaom) · preset 8361,910.5 kbps99.96100.0039.014.96159.9
AV1 (libaom) · preset 8461,019.6 kbps97.9093.2036.796.16127.1
AV1 (libaom) · preset 856536.9 kbps88.6082.1534.297.35105.5
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

708090100500k1M2MBitrate (bps, log scale)VMAFAV1 (libaom) · preset 4 q=56: 451.5 kbps, VMAF 77.375AV1 (libaom) · preset 4 q=46: 841 kbps, VMAF 89.056AV1 (libaom) · preset 4 q=36: 1,522 kbps, VMAF 95.966AV1 (libaom) · preset 4 q=26: 2,862.8 kbps, VMAF 99.179AV1 (libaom) · preset 5 q=56: 410.8 kbps, VMAF 71.693AV1 (libaom) · preset 5 q=46: 779.4 kbps, VMAF 85.739AV1 (libaom) · preset 5 q=36: 1,425.8 kbps, VMAF 93.924AV1 (libaom) · preset 5 q=26: 2,673.6 kbps, VMAF 98.501AV1 (libaom) · preset 6 q=56: 421.3 kbps, VMAF 71.054AV1 (libaom) · preset 6 q=46: 796 kbps, VMAF 85.18AV1 (libaom) · preset 6 q=36: 1,460.5 kbps, VMAF 93.669AV1 (libaom) · preset 6 q=26: 2,748.2 kbps, VMAF 98.472AV1 (libaom) · preset 7 q=56: 421.3 kbps, VMAF 71.054AV1 (libaom) · preset 7 q=46: 796 kbps, VMAF 85.18AV1 (libaom) · preset 7 q=36: 1,460.5 kbps, VMAF 93.669AV1 (libaom) · preset 7 q=26: 2,748.2 kbps, VMAF 98.472AV1 (libaom) · preset 8 q=56: 421.3 kbps, VMAF 71.054AV1 (libaom) · preset 8 q=46: 796 kbps, VMAF 85.18AV1 (libaom) · preset 8 q=36: 1,460.5 kbps, VMAF 93.669AV1 (libaom) · preset 8 q=26: 2,748.2 kbps, VMAF 98.472
AV1 (libaom) · preset 4AV1 (libaom) · preset 5AV1 (libaom) · preset 6AV1 (libaom) · preset 7AV1 (libaom) · preset 8
pedestrian_area — pedestrian street — file size vs. VMAF (5 cpu-used settings)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4262,862.8 kbps99.1896.9442.091.25578.7
AV1 (libaom) · preset 4361,522 kbps95.9793.4440.811.57451.0
AV1 (libaom) · preset 446841 kbps89.0686.4839.152.02354.7
AV1 (libaom) · preset 456451.5 kbps77.3872.4436.972.7268.4
AV1 (libaom) · preset 5262,673.6 kbps98.5096.0041.723.3253.8
AV1 (libaom) · preset 5361,425.8 kbps93.9291.4240.274.06203.5
AV1 (libaom) · preset 546779.4 kbps85.7483.0238.484.7175.1
AV1 (libaom) · preset 556410.8 kbps71.6966.8536.165.67144.3
AV1 (libaom) · preset 6262,748.2 kbps98.4795.8241.694.25197.0
AV1 (libaom) · preset 6361,460.5 kbps93.6790.8340.205.29156.6
AV1 (libaom) · preset 646796 kbps85.1881.7938.406.34129.0
AV1 (libaom) · preset 656421.3 kbps71.0566.0236.077.55109.0
AV1 (libaom) · preset 7262,748.2 kbps98.4795.8241.694.25198.2
AV1 (libaom) · preset 7361,460.5 kbps93.6790.8340.205.29155.4
AV1 (libaom) · preset 746796 kbps85.1881.7938.406.37129.3
AV1 (libaom) · preset 756421.3 kbps71.0566.0236.077.54109.7
AV1 (libaom) · preset 8262,748.2 kbps98.4795.8241.694.26199.0
AV1 (libaom) · preset 8361,460.5 kbps93.6790.8340.205.29155.6
AV1 (libaom) · preset 846796 kbps85.1881.7938.406.33129.3
AV1 (libaom) · preset 856421.3 kbps71.0566.0236.077.28112.5
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

4050607080901002M5M10MBitrate (bps, log scale)VMAFAV1 (libaom) · preset 4 q=56: 1,860.3 kbps, VMAF 50.259AV1 (libaom) · preset 4 q=46: 4,262.2 kbps, VMAF 77.315AV1 (libaom) · preset 4 q=36: 8,625.1 kbps, VMAF 96.585AV1 (libaom) · preset 4 q=26: 16,409.9 kbps, VMAF 99.939AV1 (libaom) · preset 5 q=56: 1,803.3 kbps, VMAF 48.476AV1 (libaom) · preset 5 q=46: 4,034.2 kbps, VMAF 74.619AV1 (libaom) · preset 5 q=36: 8,269.4 kbps, VMAF 94.029AV1 (libaom) · preset 5 q=26: 15,963.2 kbps, VMAF 99.935AV1 (libaom) · preset 6 q=56: 1,876.8 kbps, VMAF 48.576AV1 (libaom) · preset 6 q=46: 4,214.8 kbps, VMAF 74.582AV1 (libaom) · preset 6 q=36: 8,571.7 kbps, VMAF 93.941AV1 (libaom) · preset 6 q=26: 16,355.9 kbps, VMAF 99.936AV1 (libaom) · preset 7 q=56: 1,876.8 kbps, VMAF 48.576AV1 (libaom) · preset 7 q=46: 4,214.8 kbps, VMAF 74.582AV1 (libaom) · preset 7 q=36: 8,571.7 kbps, VMAF 93.941AV1 (libaom) · preset 7 q=26: 16,355.9 kbps, VMAF 99.936AV1 (libaom) · preset 8 q=56: 1,876.8 kbps, VMAF 48.576AV1 (libaom) · preset 8 q=46: 4,214.8 kbps, VMAF 74.582AV1 (libaom) · preset 8 q=36: 8,571.7 kbps, VMAF 93.941AV1 (libaom) · preset 8 q=26: 16,355.9 kbps, VMAF 99.936
AV1 (libaom) · preset 4AV1 (libaom) · preset 5AV1 (libaom) · preset 6AV1 (libaom) · preset 7AV1 (libaom) · preset 8
riverbed — riverbed (fine ripples) — file size vs. VMAF (5 cpu-used settings)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 42616,409.9 kbps99.94100.0039.460.551398.9
AV1 (libaom) · preset 4368,625.1 kbps96.5894.0736.880.661159.7
AV1 (libaom) · preset 4464,262.2 kbps77.3173.1433.990.93843.5
AV1 (libaom) · preset 4561,860.3 kbps50.2645.9730.851.23639.6
AV1 (libaom) · preset 52615,963.2 kbps99.94100.0039.151.46572.8
AV1 (libaom) · preset 5368,269.4 kbps94.0391.5636.521.62519.8
AV1 (libaom) · preset 5464,034.2 kbps74.6271.1333.641.96423.1
AV1 (libaom) · preset 5561,803.3 kbps48.4844.2330.602.66311.3
AV1 (libaom) · preset 62616,355.9 kbps99.94100.0039.191.83455.7
AV1 (libaom) · preset 6368,571.7 kbps93.9491.3236.532.1404.2
AV1 (libaom) · preset 6464,214.8 kbps74.5871.0833.632.57321.1
AV1 (libaom) · preset 6561,876.8 kbps48.5844.0530.553.54232.9
AV1 (libaom) · preset 72616,355.9 kbps99.94100.0039.191.83457.0
AV1 (libaom) · preset 7368,571.7 kbps93.9491.3236.532.07406.3
AV1 (libaom) · preset 7464,214.8 kbps74.5871.0833.632.63315.5
AV1 (libaom) · preset 7561,876.8 kbps48.5844.0530.553.51231.1
AV1 (libaom) · preset 82616,355.9 kbps99.94100.0039.191.84447.3
AV1 (libaom) · preset 8368,571.7 kbps93.9491.3236.532.07403.8
AV1 (libaom) · preset 8464,214.8 kbps74.5871.0833.632.41333.3
AV1 (libaom) · preset 8561,876.8 kbps48.5844.0530.552.86246.5
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

60708090100500k1M2MBitrate (bps, log scale)VMAFAV1 (libaom) · preset 4 q=56: 346.6 kbps, VMAF 67.918AV1 (libaom) · preset 4 q=46: 707 kbps, VMAF 79.618AV1 (libaom) · preset 4 q=36: 1,439.1 kbps, VMAF 88.875AV1 (libaom) · preset 4 q=26: 2,937.4 kbps, VMAF 94.656AV1 (libaom) · preset 5 q=56: 309.9 kbps, VMAF 64.181AV1 (libaom) · preset 5 q=46: 653.6 kbps, VMAF 77.166AV1 (libaom) · preset 5 q=36: 1,345.2 kbps, VMAF 87.254AV1 (libaom) · preset 5 q=26: 2,815.4 kbps, VMAF 93.785AV1 (libaom) · preset 6 q=56: 313.4 kbps, VMAF 64.096AV1 (libaom) · preset 6 q=46: 657.4 kbps, VMAF 77.044AV1 (libaom) · preset 6 q=36: 1,361 kbps, VMAF 87.19AV1 (libaom) · preset 6 q=26: 2,885.7 kbps, VMAF 93.92AV1 (libaom) · preset 7 q=56: 313.4 kbps, VMAF 64.096AV1 (libaom) · preset 7 q=46: 657.4 kbps, VMAF 77.044AV1 (libaom) · preset 7 q=36: 1,361 kbps, VMAF 87.19AV1 (libaom) · preset 7 q=26: 2,885.7 kbps, VMAF 93.92AV1 (libaom) · preset 8 q=56: 313.4 kbps, VMAF 64.096AV1 (libaom) · preset 8 q=46: 657.4 kbps, VMAF 77.044AV1 (libaom) · preset 8 q=36: 1,361 kbps, VMAF 87.19AV1 (libaom) · preset 8 q=26: 2,885.7 kbps, VMAF 93.92
AV1 (libaom) · preset 4AV1 (libaom) · preset 5AV1 (libaom) · preset 6AV1 (libaom) · preset 7AV1 (libaom) · preset 8
rush_hour — evening rush-hour traffic — file size vs. VMAF (5 cpu-used settings)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom) · preset 4262,937.4 kbps94.6692.4242.190.95749.0
AV1 (libaom) · preset 4361,439.1 kbps88.8887.3841.031.25551.2
AV1 (libaom) · preset 446707 kbps79.6276.8639.432.15351.8
AV1 (libaom) · preset 456346.6 kbps67.9264.4037.522.93259.2
AV1 (libaom) · preset 5262,815.4 kbps93.7891.9341.972.95278.5
AV1 (libaom) · preset 5361,345.2 kbps87.2585.5240.683.83213.2
AV1 (libaom) · preset 546653.6 kbps77.1774.3839.024.87165.7
AV1 (libaom) · preset 556309.9 kbps64.1860.8736.986.25128.3
AV1 (libaom) · preset 6262,885.7 kbps93.9292.4241.993.68222.4
AV1 (libaom) · preset 6361,361 kbps87.1984.9740.664.89166.1
AV1 (libaom) · preset 646657.4 kbps77.0473.8838.986.64121.1
AV1 (libaom) · preset 656313.4 kbps64.1060.5336.938.1398.3
AV1 (libaom) · preset 7262,885.7 kbps93.9292.4241.993.64223.0
AV1 (libaom) · preset 7361,361 kbps87.1984.9740.664.89164.5
AV1 (libaom) · preset 746657.4 kbps77.0473.8838.986.68119.2
AV1 (libaom) · preset 756313.4 kbps64.1060.5336.938.1298.0
AV1 (libaom) · preset 8262,885.7 kbps93.9292.4241.993.65221.2
AV1 (libaom) · preset 8361,361 kbps87.1984.9740.664.89165.4
AV1 (libaom) · preset 846657.4 kbps77.0473.8838.986.59121.5
AV1 (libaom) · preset 856313.4 kbps64.1060.5336.938.199.0
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

First: cpu-used 6, 7 and 8 gave identical results

In all 16 cells (four clips, four CRF values), cpu-used 6, 7 and 8 had the same file size (size_bytes), VMAF and PSNR. For example, riverbed at CRF 36 is 10,714,571 B with VMAF 93.941 for all three settings. Only the time taken differed, and since the jobs produce the same output, that is measurement noise. The CPU time (utime) difference between these identical outputs was 0.3–6.7% across the 16 cells, and the largest, riverbed at CRF 56, was 232.9 s, 231.1 s and 246.5 s. This data alone cannot tell us why, and we did not check the libaom source. We claim only that "in this configuration (-usage not set, this FFmpeg build), values above 6 gave the same result as 6." So the comparisons below set cpu-used 4 and 5 against a single baseline called "6 and above," with the baseline values computed from the cpu-used 8 measurements.

File size and quality at the same CRF

ClipCRFcpu-used 4 size (vs. 6 and above)cpu-used 5 size (vs. 6 and above)VMAF: 4 / 5 / 6 and above
blue_sky265,434,762 B (110%)4,699,244 B (96%)99.977 / 99.975 / 99.975
blue_sky56871,378 B (130%)665,901 B (99%)96.498 / 88.836 / 88.598
pedestrian_area263,578,461 B (104%)3,342,017 B (97%)99.179 / 98.501 / 98.472
pedestrian_area56564,393 B (107%)513,497 B (98%)77.375 / 71.693 / 71.054
riverbed2620,512,375 B (100%)19,953,953 B (98%)99.939 / 99.935 / 99.936
riverbed562,325,390 B (99%)2,254,081 B (96%)50.259 / 48.476 / 48.576
rush_hour263,671,714 B (102%)3,519,270 B (98%)94.656 / 93.785 / 93.920
rush_hour56433,306 B (111%)387,396 B (99%)67.918 / 64.181 / 64.096

Only CRF 26 and 56 are shown (the rest are in the per-clip tables above). Percentages in parentheses are file size relative to cpu-used 6 and above (the cpu-used 8 value) at the same CRF, taken as 100%. Across all 16 cells, cpu-used 4 ranged from 99% to 130% and cpu-used 5 from 95.5% to 99.2%.

With the same CRF and only the setting changed, cpu-used 4 produced a larger file in 15 of the 16 cells (only riverbed at CRF 56 was 99%), and VMAF was higher in all 16 (+0.002 to +7.900). In other words, cpu-used 4 moves toward bigger files and higher quality at once, so the same CRF does not mean the same quality. cpu-used 5 produced a smaller file than 6 and above in all 16 cells (95.5–99.2%), with small VMAF differences of -0.135 to +0.639. This is why, when the setting differs, you should compare at the same VMAF, not at the same CRF.

File size and time at the same VMAF

The measured points do not land on exactly the same VMAF, so we linearly interpolated between the two measured points on either side of a reference VMAF to estimate the bitrate and CPU time at that VMAF (log bitrate and raw CPU time, each against VMAF). With the CRF values spaced 10 apart, the estimate can deviate from the true curve, so digits after the decimal point are meaningless. For each clip we picked a reference VMAF that all three curves (cpu-used 4, 5 and 8) pass through: blue_sky 97, pedestrian_area 90, riverbed 90, rush_hour 85. For blue_sky, CRF 26 and 36 are saturated at around VMAF 99.97 (5th percentile of 100), so the setting makes no quality difference there and we did not use them for interpolation. Because the reference VMAF differs by clip, we do not compare absolute file sizes across clips.

Clip (reference VMAF)cpu-used 4cpu-used 5cpu-used 6 and above
blue_sky (97)761 kbps945 kbps959 kbps
pedestrian_area (90)912 kbps1,067 kbps1,124 kbps
riverbed (90)6,779 kbps7,125 kbps7,418 kbps
rush_hour (85)1,069 kbps1,145 kbps1,163 kbps

Estimated bitrate at the reference VMAF. Even at the same VMAF, harder clips need more bitrate (the reference VMAF differs, so do not compare directly across clips).

Clipcpu-used 4cpu-used 5cpu-used 6 and above
blue_sky79%99%100%
pedestrian_area81%95%100%
riverbed91%96%100%
rush_hour92%98%100%

Relative file size at the same VMAF, with cpu-used 6 and above (the cpu-used 8 value) as 100%. Lower than 100% means a smaller file.

Clipcpu-used 4cpu-used 5cpu-used 6 and above
blue_sky293.5 s (2.3x)155.4 s (1.2x)125.0 s (1x)
pedestrian_area367.9 s (2.6x)189.9 s (1.3x)144.2 s (1x)
riverbed1,051.6 s (2.7x)499.7 s (1.3x)389.5 s (1x)
rush_hour467.7 s (3.0x)202.6 s (1.3x)155.9 s (1x)

CPU time (utime, the summed CPU time of the 4-thread job) estimated at the same VMAF, and the multiple relative to cpu-used 8. Absolute times are for this PC; only the multiples are worth noting.

How much do you save per extra minute?

From the estimates above, we divided the extra CPU time relative to cpu-used 8 by the file size saved, giving the size saved per extra minute of CPU time for a 10-second clip. Interpolation error carries straight through, so treat this as a rough comparison.

Clipcpu-used 5: extra CPU time → size savedPer minutecpu-used 4: extra CPU time → size savedPer minute
blue_sky30.4 s → 17.2 KBabout 34 KB168.5 s → 246.3 KBabout 88 KB
pedestrian_area45.7 s → 70.3 KBabout 92 KB223.7 s → 264.4 KBabout 71 KB
riverbed110.2 s → 367.0 KBabout 200 KB662.1 s → 799.7 KBabout 72 KB
rush_hour46.7 s → 22.9 KBabout 29 KB311.8 s → 118.1 KBabout 23 KB

KB = 1,000 B. Relative to cpu-used 6 and above (the cpu-used 8 value). Sizes are for the 10-second clip file; the per-minute figures are rough, assuming time and size scale by the same factor for longer videos.

  • The slower settings made smaller files at the same VMAF on all four clips. cpu-used 4 gave 79–92% and cpu-used 5 gave 95–99%. Unlike the earlier VP9 cpu-used test, where slower settings did not reduce file size, libaom did get smaller.
  • The savings varied a lot by clip. With cpu-used 4, blue_sky shrank by 21% and pedestrian_area by 19%, but riverbed only by 9% and rush_hour by 8%. Note, though, that for blue_sky the two cpu-used 8 points around the reference (CRF 46: VMAF 97.9, CRF 56: 88.6) are more than 9 points apart, so the interpolation error is large. If the VMAF-versus-log-size curve bulges upward, a straight line between the points overestimates the file size at 6 and above, and may have exaggerated the savings.
  • Time grew much more steeply. cpu-used 4 took 2.3–3.0x and cpu-used 5 took 1.2–1.3x. Going from 5 to 4 saved only a little more (e.g., rush_hour 98% → 92%) compared with the jump in time (1.3x → 3.0x).
  • "Savings per minute" was often better or similar with cpu-used 5. On pedestrian_area (about 92 KB), riverbed (about 200 KB) and rush_hour (about 29 KB), cpu-used 5 beat cpu-used 4 (71 KB, 72 KB and 23 KB respectively); only on blue_sky was cpu-used 4 higher (about 88 KB). cpu-used 4 spends a lot of time for the last few percentage points.
  • The hardest clip (riverbed) made the biggest files and took the longest. CRF 26 with cpu-used 4 took 453.3 seconds (about 7 min 33 s, 0.55 fps real-time speed), while the same job with cpu-used 8 took 136.2 seconds (1.84 fps). These values fluctuate because of the IDLE priority, so treat them as a rough guide.
  • None of this is anywhere near real-time encoding. The speed by wall-clock time (fps_rt) was 0.55–2.93 fps for cpu-used 4 and 1.84–8.10 fps for cpu-used 8 (all CRF values in the CSV). On this PC with 4 threads, even cpu-used 8 could not encode 1080p25 in real time.

Which videos are worth the extra time?

In this data, the biggest file size savings came on blue_sky (21% with cpu-used 4) and pedestrian_area (19%), while the more complex riverbed and rush_hour managed only 8–9%. But there are only four clips, which is not enough evidence to generalize into "static videos gain more, complex ones gain less." What we can say with confidence is that the slower setting gave a smaller file on all four clips, and that time grows far more steeply than the size savings. Whether the time is worth it is a judgment you make from these numbers: it may be for a video encoded once and used for a long time (mass distribution, long-term storage), while cpu-used 5 is the more realistic choice for videos you produce often.

How long will a long video take?

If we assume the time scales roughly with video length, multiplying the 10-second clip's value by 60 gives a rough figure for a 10-minute video. For the heaviest case, riverbed at CRF 26, cpu-used 4 took 453.3 s → about 7 hours 33 minutes, and cpu-used 8 took 136.2 s → about 2 hours 16 minutes (wall-clock rtime at IDLE priority). We did not verify with this data that time scales exactly with length, and it varies a lot with content. For your own estimate, you can try the encode time estimator.

Limitations

  • Only four 10-second clips. They differ in character (landscape, city, ripples), but animation, screen recordings and dark footage are missing.
  • Only 8-bit yuv420p was measured. 10-bit and HDR are not covered.
  • Only five settings, cpu-used 4 to 8. We did not measure 0–3 (the slower side), so this article cannot tell you whether even slower settings gain more. We also did not vary other options such as -usage, -lag-in-frames or -tiles.
  • The effects of row-mt and 4 threads are mixed in. Multithreading efficiency may differ by setting, so the time multiples include differences in thread utilization as well as pure algorithm cost.
  • Only four CRF points (26, 36, 46, 56), and the interpolation is coarse. With a spacing of 10, the estimate around a reference VMAF can deviate from the real curve. The error is especially large where two points are more than 9 apart, like cpu-used 8 on blue_sky (97). Two-pass and target-bitrate modes were not covered.
  • The reference VMAF differs by clip (97, 90, 90, 85). The ratios could differ at other quality levels. CRF 26 and 36 on blue_sky are in the VMAF saturation range and were left out of the comparison.
  • Only one VMAF model was used (the default). The same score can look different in texture. PSNR (psnr_y) is in the CSV but not interpreted here.
  • One PC, one run. We did not repeat the measurements to estimate error. With IDLE priority the wall-clock time fluctuates (even utime varied by 0.3–6.7% among three settings that produced identical output), so speed is for reference. The time multiples also inherit the noise of the baseline (cpu-used 8).
  • Only software libaom was measured. File sizes in the tables are for the video stream and do not reflect audio, playback compatibility or hardware decoding support.

Practical recommendations

  • If you use libaom, start from cpu-used 6. In this data, 6, 7 and 8 produced the same output, so raising it to 7 or 8 bought no file size or quality benefit. The time taken was also about the same in this measurement.
  • If you want slightly smaller files, cpu-used 5 gave the best value. At the same VMAF it came to 95–99% of the file size for 1.2–1.3x the CPU time. The saving is small, but so is the time cost.
  • Consider cpu-used 4 only if you have plenty of time and file size really matters. It gives 79–92% of the file size but takes 2.3–3.0x as long. One 10-second 1080p clip took up to seven and a half minutes, so for long videos, estimate the time first.
  • If you change the setting, do not carry the CRF over unchanged. With cpu-used 4, file size at the same CRF was 99–130% and the quality differed too. Re-measure VMAF to match your quality target. For file size and quality by CRF see the CRF sweep test, and for recommended values see the CRF recommender.
  • For the speed settings of other encoders, see the SVT-AV1 preset test and the VP9 cpu-used test; for how codecs rank when given the same time, see the same-time codec showdown. You can build the commands with the FFmpeg command builder.

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

Raw data: aom-cpu-used-efficiency-v1.csv