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

Smallest File When Time Is No Object? Slowest-Preset Compression Limits of x264, x265, SVT-AV1, VP9, libaom and VVC, Measured

We encoded four 10-second 1080p25 clips with x264 slower, x265 slow, SVT-AV1 4, VP9 cpu-used 2, libaom cpu-used 4 and VVenC fast at 4 quality levels each, then interpolated the bitrate and CPU time at VMAF 95 and 90. At VMAF 95, libaom 4 was the smallest on all 3 clips that produced a value (0.39x, 0.39x and 0.61x of x264 slower) at 4.7x, 4.1x and 4.4x the CPU time. On rush_hour, none of the 6 settings reached VMAF 95, and on blue_sky SVT-AV1 and libaom did not reach VMAF 90.

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

Among the settings we picked, the smallest files came from libaom (cpu-used 4). At VMAF 95 it was the smallest of the 6 settings on all 3 clips that produced a value (blue_sky, pedestrian_area, riverbed), at 0.39x, 0.39x and 0.61x of x264 slower. The price was CPU time of 4.7x, 4.1x and 4.4x that of x264 slower (25.7, 41.9 and 107.8 CPU hours per hour of video). SVT-AV1 4 was about 10–24% larger than libaom (701 vs 635, 1765 vs 1423 and 10212 vs 9202 kbps) but used only 0.12–0.60x the CPU time. We ran VVenC only up to fast, so its numbers are not the limit of VVC.

Why we ran this

Codec comparisons are usually made between presets that take about the same time (comparing fast presets, old codec slow vs. new codec fast). But if you encode a video once and use it for a long time, you may want the smallest possible file and not care how long it takes. In this article we fix one slow setting per codec and put the bitrate reached at the same quality (VMAF 95 and 90), and the CPU time it costs, in one table.

This is not the "true limit"

Each codec has settings slower than the ones we used, but we did not measure them (for example, x264 veryslow). We ran VVenC only up to fast. So the "limit" in the title means the point reached with the settings we chose, not the theoretical minimum file size of a codec.

Test method

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. Process priority was IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps
LengthOnly the first 250 frames (10 seconds) of each clip
Quality metriclibvmaf default model (vmaf_v0.6.1), measured frame by frame against the original → average (vmaf_mean)
Scale4 clips × 6 encoders × 4 quality values = 96 runs
Measured on2026-11-18

VMAF is a quality metric developed by Netflix. It compares the original and the encoded result frame by frame and scores them from 0 to 100. The closer to 100, the harder it is to tell the encode from the original, but it does not fully replace human judgment. The VMAF in this article is the average of the 250 per-frame scores. The problem of an average hiding low-scoring frames is covered separately in Does an average VMAF of 95 mean you're safe?

Encoder settings

EncoderPreset4 quality valuesCommand (key options)
x264slowerCRF 24, 30, 36, 42-c:v libx264 -preset slower -crf Q -threads 4
x265slowCRF 26, 32, 38, 44-c:v libx265 -preset slow -crf Q -x265-params pools=4:log-level=error
SVT-AV14CRF 30, 40, 50, 58-c:v libsvtav1 -preset 4 -crf Q -svtav1-params lp=4
VP9 (libvpx)cpu-used 2CRF 30, 40, 48, 56-c:v libvpx-vp9 -cpu-used 2 -crf Q -b:v 0 -row-mt 1 -threads 4
AV1 (libaom)cpu-used 4CRF 30, 40, 50, 58-c:v libaom-av1 -cpu-used 4 -crf Q -b:v 0 -row-mt 1 -threads 4
VVC (VVenC)fastQP 26, 32, 38, 44-c:v libvvenc -preset fast -qp Q -threads 4

Input was the original y4m, output was mkv, no audio. Each of the values above was substituted for Q in turn. Quality values are on a different scale in each codec, so do not compare them across codecs. VVenC used QP, not CRF.

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 each curve, the horizontal axis is bitrate and the vertical axis is average VMAF. At the same height, the encoder further to the left reached the same average quality with a smaller bitrate. The tables also include encode time (rtime_s is actual elapsed time, utime_s is CPU time used) and fps_rt.

blue_sky — blue sky and tree branches

5060708090100500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) q=42: 545.5 kbps, VMAF 59.438x264 (H.264) q=36: 949.4 kbps, VMAF 83.987x264 (H.264) q=30: 1,928.6 kbps, VMAF 98.618x264 (H.264) q=24: 4,553.3 kbps, VMAF 99.973x265 (HEVC) q=44: 301.3 kbps, VMAF 67.344x265 (HEVC) q=38: 736.6 kbps, VMAF 90.043x265 (HEVC) q=32: 1,653.1 kbps, VMAF 99.373x265 (HEVC) q=26: 3,949.9 kbps, VMAF 99.973SVT-AV1 (AV1) q=58: 630.3 kbps, VMAF 93.991SVT-AV1 (AV1) q=50: 1,005.8 kbps, VMAF 98.429SVT-AV1 (AV1) q=40: 1,675.7 kbps, VMAF 99.934SVT-AV1 (AV1) q=30: 3,423.2 kbps, VMAF 99.977VP9 (libvpx) q=56: 635.2 kbps, VMAF 84.673VP9 (libvpx) q=48: 1,258.7 kbps, VMAF 95.687VP9 (libvpx) q=40: 2,570 kbps, VMAF 99.867VP9 (libvpx) q=30: 7,219.9 kbps, VMAF 99.982AV1 (libaom) q=58: 582.7 kbps, VMAF 94.208AV1 (libaom) q=50: 1,027.3 kbps, VMAF 99.459AV1 (libaom) q=40: 1,732.9 kbps, VMAF 99.971AV1 (libaom) q=30: 3,169.2 kbps, VMAF 99.976VVenC (VVC) q=44: 267.7 kbps, VMAF 70.854VVenC (VVC) q=38: 537.3 kbps, VMAF 87.118VVenC (VVC) q=32: 990.6 kbps, VMAF 96.105VVenC (VVC) q=26: 2,082.2 kbps, VMAF 99.902
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)VP9 (libvpx)AV1 (libaom)VVenC (VVC)
blue_sky — blue sky and tree branches — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom)303,169.2 kbps99.98100.0041.101.29516.0
AV1 (libaom)401,732.9 kbps99.97100.0039.311.59410.0
AV1 (libaom)501,027.3 kbps99.4697.2937.382.18305.7
AV1 (libaom)58582.7 kbps94.2189.4935.232.73248.1
SVT-AV1 (AV1)303,423.2 kbps99.98100.0040.2919.4104.1
SVT-AV1 (AV1)401,675.7 kbps99.9399.8938.3318.17114.3
SVT-AV1 (AV1)501,005.8 kbps98.4394.9836.7615.29137.6
SVT-AV1 (AV1)58630.3 kbps93.9988.3935.299.11157.2
VP9 (libvpx)307,219.9 kbps99.98100.0040.897.12122.9
VP9 (libvpx)402,570 kbps99.8798.9638.148.8399.8
VP9 (libvpx)481,258.7 kbps95.6990.7535.769.8688.4
VP9 (libvpx)56635.2 kbps84.6778.6733.2110.1185.2
VVenC (VVC)262,082.2 kbps99.90100.0039.433.12308.4
VVenC (VVC)32990.6 kbps96.1188.9936.534.32221.3
VVenC (VVC)38537.3 kbps87.1275.9033.915.47175.2
VVenC (VVC)44267.7 kbps70.8558.4430.687.08136.6
x264 (H.264)244,553.3 kbps99.97100.0039.3610.2974.9
x264 (H.264)301,928.6 kbps98.6294.7336.2114.8956.7
x264 (H.264)36949.4 kbps83.9977.7732.4718.6648.0
x264 (H.264)42545.5 kbps59.4451.0728.6220.6843.7
x265 (HEVC)263,949.9 kbps99.97100.0040.388.36117.1
x265 (HEVC)321,653.1 kbps99.3795.9737.6010.4592.8
x265 (HEVC)38736.6 kbps90.0484.1234.1512.4178.5
x265 (HEVC)44301.3 kbps67.3459.9530.2114.2567.7
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

405060708090100200k500k1M2MBitrate (bps, log scale)VMAFx264 (H.264) q=42: 552.6 kbps, VMAF 40.799x264 (H.264) q=36: 976.6 kbps, VMAF 65.445x264 (H.264) q=30: 1,839.1 kbps, VMAF 84.673x264 (H.264) q=24: 3,876.4 kbps, VMAF 96.057x265 (HEVC) q=44: 281 kbps, VMAF 41.76x265 (HEVC) q=38: 604.3 kbps, VMAF 68.185x265 (HEVC) q=32: 1,223.5 kbps, VMAF 86.526x265 (HEVC) q=26: 2,533.9 kbps, VMAF 96.481SVT-AV1 (AV1) q=58: 470.8 kbps, VMAF 76.964SVT-AV1 (AV1) q=50: 822.3 kbps, VMAF 86.493SVT-AV1 (AV1) q=40: 1,473.3 kbps, VMAF 93.748SVT-AV1 (AV1) q=30: 2,800.9 kbps, VMAF 98.207VP9 (libvpx) q=56: 620.6 kbps, VMAF 69.395VP9 (libvpx) q=48: 1,067 kbps, VMAF 82.607VP9 (libvpx) q=40: 1,864.9 kbps, VMAF 91.775VP9 (libvpx) q=30: 4,274.5 kbps, VMAF 97.935AV1 (libaom) q=58: 381.1 kbps, VMAF 73.466AV1 (libaom) q=50: 669.8 kbps, VMAF 85.167AV1 (libaom) q=40: 1,190.6 kbps, VMAF 93.616AV1 (libaom) q=30: 2,240.5 kbps, VMAF 98.526VVenC (VVC) q=44: 232.2 kbps, VMAF 53.461VVenC (VVC) q=38: 504.8 kbps, VMAF 73.064VVenC (VVC) q=32: 974.6 kbps, VMAF 86.713VVenC (VVC) q=26: 2,111 kbps, VMAF 96.49
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)VP9 (libvpx)AV1 (libaom)VVenC (VVC)
pedestrian_area — pedestrian street — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom)302,240.5 kbps98.5395.9941.651.44494.3
AV1 (libaom)401,190.6 kbps93.6291.5140.171.79389.7
AV1 (libaom)50669.8 kbps85.1782.0138.382.39298.0
AV1 (libaom)58381.1 kbps73.4767.7536.332.9250.7
SVT-AV1 (AV1)302,800.9 kbps98.2195.6441.4424.0485.8
SVT-AV1 (AV1)401,473.3 kbps93.7591.2940.2019.49108.7
SVT-AV1 (AV1)50822.3 kbps86.4982.0838.6615.96129.8
SVT-AV1 (AV1)58470.8 kbps76.9669.4836.9011.26148.6
VP9 (libvpx)304,274.5 kbps97.9494.7541.226.76131.0
VP9 (libvpx)401,864.9 kbps91.7887.9539.378.6799.0
VP9 (libvpx)481,067 kbps82.6178.1137.5510.879.0
VP9 (libvpx)56620.6 kbps69.3963.7035.4912.965.5
VVenC (VVC)262,111 kbps96.4994.6841.232.48391.0
VVenC (VVC)32974.6 kbps86.7181.1338.883.94247.4
VVenC (VVC)38504.8 kbps73.0660.8436.345.34182.0
VVenC (VVC)44232.2 kbps53.4633.9532.977.44130.7
x264 (H.264)243,876.4 kbps96.0692.8340.298.15103.4
x264 (H.264)301,839.1 kbps84.6782.0337.7411.279.4
x264 (H.264)36976.6 kbps65.4462.5234.8713.8164.3
x264 (H.264)42552.6 kbps40.8037.6131.7716.4654.3
x265 (HEVC)262,533.9 kbps96.4893.6640.485.55173.6
x265 (HEVC)321,223.5 kbps86.5383.8538.056.77143.7
x265 (HEVC)38604.3 kbps68.1964.9335.188.19118.5
x265 (HEVC)44281 kbps41.7637.4831.9510.5291.8
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

102030405060708090100500k1M2M5M10M20MBitrate (bps, log scale)VMAFx264 (H.264) q=42: 1,558.8 kbps, VMAF 28.237x264 (H.264) q=36: 3,960.3 kbps, VMAF 51.64x264 (H.264) q=30: 8,890.8 kbps, VMAF 82.082x264 (H.264) q=24: 18,338 kbps, VMAF 99.928x265 (HEVC) q=44: 973.4 kbps, VMAF 30.711x265 (HEVC) q=38: 2,740.5 kbps, VMAF 55.777x265 (HEVC) q=32: 6,264.1 kbps, VMAF 82.358x265 (HEVC) q=26: 12,819.8 kbps, VMAF 99.129SVT-AV1 (AV1) q=58: 1,734.8 kbps, VMAF 46.854SVT-AV1 (AV1) q=50: 3,582.1 kbps, VMAF 69.122SVT-AV1 (AV1) q=40: 7,422 kbps, VMAF 90.856SVT-AV1 (AV1) q=30: 14,952.3 kbps, VMAF 99.952VP9 (libvpx) q=56: 3,123 kbps, VMAF 58.563VP9 (libvpx) q=48: 5,853.2 kbps, VMAF 77.98VP9 (libvpx) q=40: 10,510 kbps, VMAF 92.828VP9 (libvpx) q=30: 21,400.4 kbps, VMAF 99.979AV1 (libaom) q=58: 1,498.9 kbps, VMAF 44.168AV1 (libaom) q=50: 3,148.1 kbps, VMAF 67.176AV1 (libaom) q=40: 6,566.1 kbps, VMAF 90.062AV1 (libaom) q=30: 12,879 kbps, VMAF 99.918VVenC (VVC) q=44: 410.4 kbps, VMAF 16.125VVenC (VVC) q=38: 1,349.1 kbps, VMAF 37.588VVenC (VVC) q=32: 3,273.6 kbps, VMAF 66.401VVenC (VVC) q=26: 7,984.7 kbps, VMAF 93.435
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)VP9 (libvpx)AV1 (libaom)VVenC (VVC)
riverbed — riverbed (fine ripples) — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom)3012,879 kbps99.92100.0038.500.621194.3
AV1 (libaom)406,566.1 kbps90.0687.1335.750.79961.4
AV1 (libaom)503,148.1 kbps67.1863.0532.781.07720.4
AV1 (libaom)581,498.9 kbps44.1739.7630.131.34582.6
SVT-AV1 (AV1)3014,952.3 kbps99.95100.0038.8018.36116.0
SVT-AV1 (AV1)407,422 kbps90.8687.3035.9716.31132.2
SVT-AV1 (AV1)503,582.1 kbps69.1263.2033.0812.95172.5
SVT-AV1 (AV1)581,734.8 kbps46.8540.1930.537.51248.6
VP9 (libvpx)3021,400.4 kbps99.98100.0039.703.59254.2
VP9 (libvpx)4010,510 kbps92.8386.9536.794.44203.8
VP9 (libvpx)485,853.2 kbps77.9869.3434.275.23173.2
VP9 (libvpx)563,123 kbps58.5649.1431.705.86152.8
VVenC (VVC)267,984.7 kbps93.4490.2036.470.861133.7
VVenC (VVC)323,273.6 kbps66.4060.3532.771.65589.8
VVenC (VVC)381,349.1 kbps37.5930.7829.602.57378.3
VVenC (VVC)44410.4 kbps16.1311.2626.184.55210.8
x264 (H.264)2418,338 kbps99.93100.0037.453.66258.4
x264 (H.264)308,890.8 kbps82.0879.2434.014.68203.8
x264 (H.264)363,960.3 kbps51.6447.9130.446.27151.4
x264 (H.264)421,558.8 kbps28.2425.4226.969.38101.8
x265 (HEVC)2612,819.8 kbps99.1397.0937.551.8536.0
x265 (HEVC)326,264.1 kbps82.3676.9634.272.26429.8
x265 (HEVC)382,740.5 kbps55.7849.4830.883322.5
x265 (HEVC)44973.4 kbps30.7125.4527.654.9198.1
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

405060708090100200k500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) q=42: 387.2 kbps, VMAF 40.207x264 (H.264) q=36: 767.2 kbps, VMAF 61.591x264 (H.264) q=30: 1,547.2 kbps, VMAF 79.837x264 (H.264) q=24: 3,556.6 kbps, VMAF 91.703x265 (HEVC) q=44: 173.1 kbps, VMAF 41.305x265 (HEVC) q=38: 424.3 kbps, VMAF 63.532x265 (HEVC) q=32: 1,027.9 kbps, VMAF 80.735x265 (HEVC) q=26: 2,423.7 kbps, VMAF 91.53SVT-AV1 (AV1) q=58: 349.7 kbps, VMAF 68.175SVT-AV1 (AV1) q=50: 634 kbps, VMAF 77.061SVT-AV1 (AV1) q=40: 1,226.9 kbps, VMAF 85.436SVT-AV1 (AV1) q=30: 2,580.8 kbps, VMAF 92.687VP9 (libvpx) q=56: 512 kbps, VMAF 67.567VP9 (libvpx) q=48: 962.9 kbps, VMAF 79.281VP9 (libvpx) q=40: 1,830.3 kbps, VMAF 88.182VP9 (libvpx) q=30: 4,447.3 kbps, VMAF 94.953AV1 (libaom) q=58: 284.8 kbps, VMAF 64.394AV1 (libaom) q=50: 541 kbps, VMAF 75.353AV1 (libaom) q=40: 1,085.6 kbps, VMAF 85.56AV1 (libaom) q=30: 2,242.1 kbps, VMAF 92.805VVenC (VVC) q=44: 191 kbps, VMAF 54.959VVenC (VVC) q=38: 441.6 kbps, VMAF 70.438VVenC (VVC) q=32: 980 kbps, VMAF 83.26VVenC (VVC) q=26: 2,406.8 kbps, VMAF 93.378
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)VP9 (libvpx)AV1 (libaom)VVenC (VVC)
rush_hour — evening rush-hour traffic — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
AV1 (libaom)302,242.1 kbps92.8191.0941.801.21609.2
AV1 (libaom)401,085.6 kbps85.5683.4140.441.68433.2
AV1 (libaom)50541 kbps75.3572.4038.742.44304.2
AV1 (libaom)58284.8 kbps64.3960.5836.962.51263.2
SVT-AV1 (AV1)302,580.8 kbps92.6990.6341.7322.1296.3
SVT-AV1 (AV1)401,226.9 kbps85.4482.1940.4021.399.0
SVT-AV1 (AV1)50634 kbps77.0672.5438.9917.64120.8
SVT-AV1 (AV1)58349.7 kbps68.1762.4637.5311.38154.4
VP9 (libvpx)304,447.3 kbps94.9592.9141.976.38138.7
VP9 (libvpx)401,830.3 kbps88.1885.0640.478.71100.3
VP9 (libvpx)48962.9 kbps79.2875.4638.8710.8878.8
VP9 (libvpx)56512 kbps67.5763.2836.9212.8465.9
VVenC (VVC)262,406.8 kbps93.3891.5841.992.01453.1
VVenC (VVC)32980 kbps83.2679.4340.063.36270.9
VVenC (VVC)38441.6 kbps70.4464.4437.844.47184.6
VVenC (VVC)44191 kbps54.9644.8735.065.87132.0
x264 (H.264)243,556.6 kbps91.7089.6040.968.36108.6
x264 (H.264)301,547.2 kbps79.8476.9538.8511.9674.8
x264 (H.264)36767.2 kbps61.5958.0336.1516.0356.0
x264 (H.264)42387.2 kbps40.2136.2532.9719.6543.6
x265 (HEVC)262,423.7 kbps91.5389.4241.085.3183.5
x265 (HEVC)321,027.9 kbps80.7377.8039.057.19134.8
x265 (HEVC)38424.3 kbps63.5360.2936.3710.195.7
x265 (HEVC)44173.1 kbps41.3037.8133.1513.4771.8
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we see

1. First, did each setting reach the target VMAF?

We used two targets, VMAF 95 and 90. For each encoder we picked the two adjacent measured points that bracket the target and interpolated linearly in VMAF and on a log scale in bitrate to get the bitrate (kbps) at that point. CPU time (utime) was interpolated linearly in VMAF between the same two points. These are estimates, not measured values. If no pair of points brackets the target (all measured points are below or above it), we did not extrapolate and left the cell as "—".

  • We got only 17 cells at VMAF 95 (out of 4 clips × 6 encoders). On rush_hour, the highest average VMAFs were VP9 94.953, VVenC 93.378, libaom 92.805, SVT-AV1 92.687, x264 91.703 and x265 91.53, so none of the 6 settings reached 95. riverbed VVenC also topped out at 93.435, so we could not compute it.
  • We got 22 cells at VMAF 90. On blue_sky, the lowest measured point was 93.991 for SVT-AV1 and 94.208 for libaom, so 90 was out of range (we would need measurements at higher CRF).
  • Some cells interpolate over a wide interval. The VMAF gap between the two adjacent points exceeded 10 points in 5 of 17 cells at VMAF 95 and in 13 of 22 cells at VMAF 90. On riverbed at 90 the gap was 14.8–27.0 points (VVenC 27.0, libaom 22.9, SVT-AV1 21.7). So we read mainly the VMAF 95 side and treat 90 as supplementary.
  • Easy clips saturate. In some cells the interpolation includes a stretch where the curve bends near 99, such as the upper point of blue_sky x264 (CRF 30, VMAF 98.618). In such cases, linear interpolation may have put the bitrate away from the real value.

2. Smallest bitrate reached at VMAF 95

Each cell shows the interpolated bitrate (kbps) and the multiple relative to x264 slower on the same clip. On rush_hour no setting reached 95, so the cells are empty.

Encoderblue_skypedestrian_areariverbedrush_hour
x264 slower1619 (1.00)3617 (1.00)15015 (1.00)—
x265 slow1132 (0.70)2274 (0.63)10748 (0.72)—
SVT-AV1 4701 (0.43)1765 (0.49)10212 (0.68)—
VP9 cpu-used 21206 (0.75)2879 (0.80)13044 (0.87)—
libaom cpu-used 4635 (0.39)1423 (0.39)9202 (0.61)—
VVenC fast919 (0.57)1876 (0.52)——

Unit: kbps; parentheses show the ratio to x264 slower. Cells whose interpolation interval is wider than 10 points: blue_sky x264 (14.6) and VP9 (11.0), pedestrian_area x264 (11.4), riverbed x264 (17.8) and x265 (16.8).

3. Smallest bitrate reached at VMAF 90

Encoderblue_skypedestrian_areariverbedrush_hour
x264 slower1270 (1.00)2607 (1.00)12259 (1.00)3156 (1.00)
x265 slow735 (0.58)1577 (0.61)8681 (0.71)2146 (0.68)
SVT-AV1 4—1090 (0.42)7212 (0.59)1959 (0.62)
VP9 cpu-used 2884 (0.70)1674 (0.64)9401 (0.77)2323 (0.74)
libaom cpu-used 4—931 (0.36)6553 (0.53)1693 (0.54)
VVenC fast654 (0.51)1264 (0.48)7129 (0.58)1783 (0.56)

Unit: kbps; parentheses show the ratio to x264 slower. "—" marks cells where VMAF 90 is not within the measured range. All interpolation intervals on riverbed are 14.8 points or wider.

4. The price: CPU hours per hour of video

Our clips are 10 seconds long, so multiplying utime by 360 gives CPU time for one hour of video (if you divide by 3600 to convert seconds to hours, the result in hours is simply utime in seconds ÷ 10). utime is CPU time summed across threads, so it is not the same as the time you actually wait (rtime), and this experiment used 4 threads per job at IDLE priority. So treat these values not as absolute times but as a reference for comparing encoders with each other (the difference between utime and rtime is covered in utime vs. rtime, measured). Each cell shows the multiple relative to x264 slower on the same clip.

Encoderblue_skypedestrian_areariverbedrush_hour
x264 slower5.5 h (1.00)10.1 h (1.00)24.3 h (1.00)—
x265 slow8.6 h (1.58)16.9 h (1.67)51.0 h (2.10)—
SVT-AV1 415.3 h (2.80)10.2 h (1.01)12.5 h (0.51)—
VP9 cpu-used 28.8 h (1.62)11.6 h (1.14)21.9 h (0.90)—
libaom cpu-used 425.7 h (4.70)41.9 h (4.14)107.8 h (4.43)—
VVenC fast21.6 h (3.95)36.9 h (3.65)——

At VMAF 95 (same cells as table 2). CPU hours per hour of video = interpolated utime (seconds) × 360 ÷ 3600.

Encoderblue_skypedestrian_areariverbedrush_hour
x264 slower5.2 h (1.00)9.1 h (1.00)22.8 h (1.00)10.4 h (1.00)
x265 slow7.8 h (1.52)15.4 h (1.70)47.8 h (2.10)17.7 h (1.70)
SVT-AV1 4—12.0 h (1.32)13.4 h (0.59)9.7 h (0.94)
VP9 cpu-used 28.7 h (1.68)9.5 h (1.05)19.8 h (0.87)11.1 h (1.07)
libaom cpu-used 4—35.0 h (3.87)96.1 h (4.21)54.1 h (5.22)
VVenC fast19.0 h (3.68)29.6 h (3.26)106.5 h (4.67)39.2 h (3.78)

At VMAF 90 (same cells as table 3). riverbed is a complex clip, so every encoder takes longer on it than on the other clips.

5. What we see

  • libaom 4 was the smallest in all 6 cells that have a value (3 at VMAF 95, 3 at VMAF 90). Relative to x264 slower it was 0.39x, 0.39x and 0.61x at VMAF 95, and 0.36x, 0.53x and 0.54x at VMAF 90. blue_sky at 90 could not be computed, so it is missing from that comparison.
  • The price was roughly 4x the CPU time. Relative to x264 slower it was 4.14–4.70x at VMAF 95 and 3.87–5.22x at VMAF 90, and in CPU hours per hour of video it was 25.7–107.8 hours at VMAF 95. The time multiple for the same size saving was similar from clip to clip, but on a complex clip like riverbed even the x264 slower baseline took 24.3 hours, so the absolute time grew a lot.
  • SVT-AV1 4 was about 10–24% larger than libaom 4 but used much less time. At VMAF 95, SVT-AV1 was larger than libaom by 701 vs 635 (+10%), 1765 vs 1423 (+24%) and 10212 vs 9202 (+11%) kbps, and its CPU time was 0.60x, 0.24x and 0.12x that of libaom (152.7, 102.3 and 124.8 seconds vs. 256.8, 419.2 and 1078.0 seconds). On riverbed, SVT-AV1 4 used less time than x264 slower (0.51x) and was also smaller (0.68x).
  • VP9 cpu-used 2 was larger than x265 slow. In all 7 cells we can compare (3 at VMAF 95 and 4 at 90) it was about 6–27% larger, and its CPU time was 0.41–1.10x that of x265 slow (0.7x or less in 5 of the 7 cells). For this pair the advantage was in time, not in size.
  • VVenC fast was larger than libaom 4, with similar or lower time. In the 5 cells with values it was 1.05–1.45x the size of libaom (at VMAF 95: blue_sky 919 vs 635, pedestrian_area 1876 vs 1423 kbps, and so on), and its CPU time was 0.73–1.11x that of libaom. Compared with x265 slow, it was 0.81x and 0.83x the size in two cells at VMAF 95, but its CPU time was 2.5x and 2.2x. Because this is the fast preset, the result does not tell us the limit of VVC (see VVC vs. HEVC and AV1).
  • The ranking was mostly the same, but there are swaps. At VMAF 95, the order from smallest was libaom < SVT-AV1 < (VVenC) < x265 < VP9 < x264, and it was the same on all 3 clips that have values (riverbed has no VVenC). At VMAF 90, VVenC on riverbed (7129) was 1% smaller than SVT-AV1 (7212), and on rush_hour VVenC (1783) was also smaller than SVT-AV1 (1959). Conversely, on pedestrian_area SVT-AV1 (1090) was smaller than VVenC (1264).
  • Whether a setting reached the target differed by encoder and clip. No setting reached 95 on rush_hour, and SVT-AV1 and libaom on blue_sky did not reach 90. That the same CRF gives different quality on different clips is covered separately in CRF by content, measured.

Limitations

  • There are only four 10-second clips. They are hard to call representative of all kinds of video, and the multiples above are values for these four clips, not recommended values by genre.
  • The "limit" is the limit of the settings we picked. We fixed x264 slower, x265 slow, SVT-AV1 4, VP9 cpu-used 2, libaom cpu-used 4 and VVenC fast and did not measure slower presets. Even within the same codec, changing the preset changes size and time (see libaom presets, measured).
  • The bitrate at each target VMAF is an interpolated estimate. Uncertainty differs from cell to cell, and on the VMAF 90 side, 13 of 22 cells interpolate over an interval wider than 10 points. An empty cell (—) is an unknown value, not zero or a failure.
  • There is no VMAF 95 comparison for rush_hour. That clip needs measurements at a lower CRF.
  • CPU time is summed over threads and run at IDLE priority, so it is for reference only. We used 4 threads and a single run, and did not estimate error by repeating. Parallel efficiency differs by codec, so the ratio of the time you actually wait may differ from these tables. The per-hour conversion scales a 10-second clip by 360, and on longer video other factors (memory, scene changes, and so on) may change the time.
  • 8-bit yuv420p, one PC. We did not cover 10-bit, HDR or 4K, and measured with only one VMAF model, the default. There is no guarantee that the same VMAF looks equally good to human eyes. We also did not measure playback compatibility or decoding load.

Practical recommendations

  • If it is a video you encode once and use for a long time (such as a distribution master) and AV1 playback is not a problem in your environment, a slow libaom preset is a candidate. It was the smallest in this data, but it cost roughly 4x the CPU time of x264 slower. Check whether your target devices play AV1 with Codec support.
  • To balance time and size, SVT-AV1 4 is also worth comparing. Its files are about 10–24% larger than libaom 4, but its CPU time was 0.12–0.60x. For the speed and size differences between the two implementations, continue with SVT-AV1 vs. libaom.
  • If you need H.264 compatibility, use a slow x264 preset; if size matters more, we suggest x265 slow. In this data, x265 slow was 0.58–0.72x the size of x264 slower (7 cells across VMAF 90 and 95), but its CPU time was 1.5–2.1x.
  • Measure one or two of your own videos the same way (bitrate and utime at the target VMAF). Which setting reached the target differed from clip to clip. Estimate your time budget with the encode time estimator, and for time at the same VMAF see also Encoding one hour of video: time at equal VMAF.

The full raw data can be downloaded from the CSV at the bottom of the page. You can follow the interpolation using only the kbps, vmaf_mean and utime_s values in the tables.

Raw data: slowest-presets-ceiling-v1.csv