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

If You Double Encoding Time, How Much Smaller Is the File? Diminishing Returns of Slower Presets in x264, x265 and SVT-AV1, Measured

We encoded four 10-second 1080p25 clips with x264 (superfast, medium, slower), x265 (superfast, medium, slow) and SVT-AV1 (presets 12 and 6), interpolated file size and CPU time (utime) at VMAF 86, and computed the size saving per doubling of encode time when moving to a slower preset. For x264, the saving was 5.5–22.9% from superfast to medium and 1.9–6.2% from medium to slower. For x265, superfast to medium was −3.4 to 4.5% (including cells where the file got bigger) and medium to slow was 9.0–21.2%. No single law held across codecs.

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

There was no single number for "double the encode time and the file shrinks by N%." At the same quality (VMAF 86), x264 saved 5.5–22.9% per doubling of time from superfast to medium, but only 1.9–6.2% from medium to slower, so the payoff dropped sharply. x265 was the opposite: superfast to medium gave −3.4 to 4.5%, almost no gain, while medium to slow gave 9.0–21.2%. SVT-AV1 saved 10.5–20.6% going from preset 12 to 6 (4.9–5.8x the CPU time). The size of the gain varied more with the video than with the codec.

Why we ran this

Everyone knows that a slower preset makes the file smaller, but what you actually want to decide is "if I spend twice as much time, how much smaller does the file get, and where does the payoff run out?" Our earlier articles were either single-codec preset comparisons, like the x264 preset table and the x265 preset table, or a codec ranking at similar encode times. This article works out how many times longer each preset step takes and how many percent smaller the file gets, converts that into a "saving per doubling of time", and puts the three codecs side by side.

Only 2–3 presets per codec

Each codec's curve has only 2–3 points (3 for x264 and x265, 2 for SVT-AV1). That is too few to say anything about the shape of the curve, so this article shows only the per-interval values between adjacent presets and does not claim a shape.

Test method

ItemDetails
FFmpeg9.0.2 (gyan.dev full_build)
PCAMD Ryzen 5 PRO 4650G (6 cores, 12 threads), 16 GB RAM, one machine
Threads per job4. Process priority was IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps
Length250 frames (10 seconds) per clip
Quality metriclibvmaf default model (vmaf_v0.6.1), measured frame by frame against the original → mean (vmaf_mean)
Number of runs4 clips × 8 settings × 3 quality values = 96 runs
Time metricutime_s = sum of CPU time across all threads (the "time" in this article). We did not use rtime_s because it fluctuates with other work under IDLE priority
Measured on2026-11-16

VMAF is a quality metric created 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 is not a direct substitute for human ratings. The VMAF in this article is the mean of the scores over 250 frames.

Encoder settings

EncoderPreset3 quality valuesCommand (key options)
x264superfastCRF 24, 30, 36-c:v libx264 -preset superfast -crf Q -threads 4
x264mediumCRF 24, 30, 36-c:v libx264 -preset medium -crf Q -threads 4
x264slowerCRF 24, 30, 36-c:v libx264 -preset slower -crf Q -threads 4
x265superfastCRF 26, 32, 38-c:v libx265 -preset superfast -crf Q -x265-params pools=4:log-level=error
x265mediumCRF 26, 32, 38-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
x265slowCRF 26, 32, 38-c:v libx265 -preset slow -crf Q -x265-params pools=4:log-level=error
SVT-AV112CRF 34, 42, 50-c:v libsvtav1 -preset 12 -crf Q -svtav1-params lp=4
SVT-AV16CRF 34, 42, 50-c:v libsvtav1 -preset 6 -crf Q -svtav1-params lp=4

Input was the original y4m, output was mkv, no audio. Each of the values above was substituted for Q in turn. CRF values are on a different scale in each codec, so we do not compare them across codecs (which is why the ranges differ by codec).

Test clip sources and licenses

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).

Analysis method: reading everything at VMAF 86

  • We set the reference quality at VMAF 86. To compare at the same quality, every preset's measured range has to bracket the reference point (we do not extrapolate). Looking at the 12 cells (4 clips × 3 codecs), 10 cells had all presets bracketing 86. VMAF 95 or 90 was bracketed in fewer cells (for example, on rush_hour the highest VMAF of every setting is 91.703 or lower, so none reach 95, and x265 medium tops out at 88.967, so it does not reach 90 either).
  • Two cells were excluded. For x265 on blue_sky, the minimum VMAF of slow is 90.043, so it does not bracket 86. For SVT-AV1 on blue_sky, the minimum is 92.447 for preset 12 and 98.507 for preset 6, so it does not bracket 86 either. In both cells VMAF saturated at a high level and never reached this reference point, so we left them out of the tables and observations below (blue_sky includes x264 only).
  • Reading size and time. For each (clip, codec, preset), we picked the two adjacent measured points that bracket 86 and interpolated linearly against VMAF. File size was interpolated on a log scale (the log of kbps), and time (utime) was interpolated linearly.
  • Saving per doubling of time. Between two adjacent presets, we computed the time multiplier T = utime(slower) / utime(faster) and the size ratio R = size(slower) / size(faster), then converted to the saving when time exactly doubles as 1 − R^(1 / log₂T). The closer T is to 2, the closer this is to the total saving (1 − R). We list the total saving as well.
  • The interpolation is coarse. In most cells the measured points are 10–22 VMAF points apart, so the decimals in size and time are not precision. In this article we did not read differences within about ±5% as meaningful (though we cannot guarantee that such a difference is smaller than the interpolation error).

Results by clip

In each curve, the horizontal axis is file size (bitrate) and the vertical axis is mean VMAF. The tables also list rtime_s, utime_s and fps_rt. You can follow the analysis below using only vmaf_mean, kbps and utime_s from these tables.

blue_sky — blue sky and tree branches

60708090100500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) · preset superfast q=36: 869.3 kbps, VMAF 62.496x264 (H.264) · preset superfast q=30: 1,780.1 kbps, VMAF 87.141x264 (H.264) · preset superfast q=24: 4,800.8 kbps, VMAF 99.71x264 (H.264) · preset medium q=36: 961.5 kbps, VMAF 83.576x264 (H.264) · preset medium q=30: 1,916.7 kbps, VMAF 98.224x264 (H.264) · preset medium q=24: 4,535.6 kbps, VMAF 99.971x264 (H.264) · preset slower q=36: 949.4 kbps, VMAF 83.987x264 (H.264) · preset slower q=30: 1,928.6 kbps, VMAF 98.618x264 (H.264) · preset slower q=24: 4,553.3 kbps, VMAF 99.973x265 (HEVC) · preset superfast q=38: 588.2 kbps, VMAF 77.227x265 (HEVC) · preset superfast q=32: 1,291.6 kbps, VMAF 94.565x265 (HEVC) · preset superfast q=26: 3,079.9 kbps, VMAF 99.927x265 (HEVC) · preset medium q=38: 638.4 kbps, VMAF 81.807x265 (HEVC) · preset medium q=32: 1,420.9 kbps, VMAF 95.756x265 (HEVC) · preset medium q=26: 3,362 kbps, VMAF 99.903x265 (HEVC) · preset slow q=38: 736.6 kbps, VMAF 90.043x265 (HEVC) · preset slow q=32: 1,653.1 kbps, VMAF 99.373x265 (HEVC) · preset slow q=26: 3,949.9 kbps, VMAF 99.973SVT-AV1 (AV1) · preset 6 q=50: 1,078.5 kbps, VMAF 98.507SVT-AV1 (AV1) · preset 6 q=42: 1,694.2 kbps, VMAF 99.927SVT-AV1 (AV1) · preset 6 q=34: 3,115.2 kbps, VMAF 99.974SVT-AV1 (AV1) · preset 12 q=50: 1,197.6 kbps, VMAF 92.447SVT-AV1 (AV1) · preset 12 q=42: 2,010.3 kbps, VMAF 97.208SVT-AV1 (AV1) · preset 12 q=34: 3,704.7 kbps, VMAF 99.573
x264 (H.264) · preset superfastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset superfastx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1) · preset 6SVT-AV1 (AV1) · preset 12
blue_sky — blue sky and tree branches — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 6343,115.2 kbps99.97100.0039.8648.249.5
SVT-AV1 (AV1) · preset 6421,694.2 kbps99.9399.7538.1745.1851.0
SVT-AV1 (AV1) · preset 6501,078.5 kbps98.5195.2236.7542.6257.1
SVT-AV1 (AV1) · preset 12343,704.7 kbps99.5797.0638.52156.549.1
SVT-AV1 (AV1) · preset 12422,010.3 kbps97.2191.9536.94168.88.8
SVT-AV1 (AV1) · preset 12501,197.6 kbps92.4585.8335.37176.558.8
x264 (H.264) · preset superfast244,800.8 kbps99.7197.9038.13140.065.6
x264 (H.264) · preset superfast301,780.1 kbps87.1483.1034.20139.94.6
x264 (H.264) · preset superfast36869.3 kbps62.5055.8130.05140.614.7
x264 (H.264) · preset medium244,535.6 kbps99.97100.0039.3127.5226.1
x264 (H.264) · preset medium301,916.7 kbps98.2293.7836.1538.5419.0
x264 (H.264) · preset medium36961.5 kbps83.5875.2632.5547.6515.7
x264 (H.264) · preset slower244,553.3 kbps99.97100.0039.3610.3375.2
x264 (H.264) · preset slower301,928.6 kbps98.6294.7336.2115.2955.7
x264 (H.264) · preset slower36949.4 kbps83.9977.7732.4719.5746.1
x265 (HEVC) · preset superfast263,079.9 kbps99.9399.6738.6645.7421.6
x265 (HEVC) · preset superfast321,291.6 kbps94.5690.0035.3861.9715.9
x265 (HEVC) · preset superfast38588.2 kbps77.2372.5731.7476.6212.5
x265 (HEVC) · preset medium263,362 kbps99.9099.3639.4123.3242.4
x265 (HEVC) · preset medium321,420.9 kbps95.7688.5636.3630.3631.9
x265 (HEVC) · preset medium38638.4 kbps81.8172.8032.9535.9726.3
x265 (HEVC) · preset slow263,949.9 kbps99.97100.0040.388.9111.2
x265 (HEVC) · preset slow321,653.1 kbps99.3795.9737.6011.2986.7
x265 (HEVC) · preset slow38736.6 kbps90.0484.1234.1513.3173.1
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

5060708090100500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) · preset superfast q=36: 1,032.3 kbps, VMAF 58.322x264 (H.264) · preset superfast q=30: 2,094.2 kbps, VMAF 80.201x264 (H.264) · preset superfast q=24: 5,200 kbps, VMAF 93.491x264 (H.264) · preset medium q=36: 1,054.6 kbps, VMAF 65.045x264 (H.264) · preset medium q=30: 1,981.2 kbps, VMAF 84.209x264 (H.264) · preset medium q=24: 4,063.8 kbps, VMAF 95.405x264 (H.264) · preset slower q=36: 976.6 kbps, VMAF 65.445x264 (H.264) · preset slower q=30: 1,839.1 kbps, VMAF 84.673x264 (H.264) · preset slower q=24: 3,876.4 kbps, VMAF 96.057x265 (HEVC) · preset superfast q=38: 496.5 kbps, VMAF 54.141x265 (HEVC) · preset superfast q=32: 970.7 kbps, VMAF 75.941x265 (HEVC) · preset superfast q=26: 1,943.1 kbps, VMAF 90.45x265 (HEVC) · preset medium q=38: 570.8 kbps, VMAF 62.096x265 (HEVC) · preset medium q=32: 1,164.4 kbps, VMAF 82.22x265 (HEVC) · preset medium q=26: 2,415.2 kbps, VMAF 93.891x265 (HEVC) · preset slow q=38: 604.3 kbps, VMAF 68.185x265 (HEVC) · preset slow q=32: 1,223.5 kbps, VMAF 86.526x265 (HEVC) · preset slow q=26: 2,533.9 kbps, VMAF 96.481SVT-AV1 (AV1) · preset 6 q=50: 853.7 kbps, VMAF 85.642SVT-AV1 (AV1) · preset 6 q=42: 1,420.3 kbps, VMAF 92.307SVT-AV1 (AV1) · preset 6 q=34: 2,409.2 kbps, VMAF 96.959SVT-AV1 (AV1) · preset 12 q=50: 940 kbps, VMAF 77.603SVT-AV1 (AV1) · preset 12 q=42: 1,683.5 kbps, VMAF 87.032SVT-AV1 (AV1) · preset 12 q=34: 3,064.7 kbps, VMAF 93.717
x264 (H.264) · preset superfastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset superfastx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1) · preset 6SVT-AV1 (AV1) · preset 12
pedestrian_area — pedestrian street — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 6342,409.2 kbps96.9694.2740.9638.5157.1
SVT-AV1 (AV1) · preset 6421,420.3 kbps92.3189.3939.7739.4255.8
SVT-AV1 (AV1) · preset 650853.7 kbps85.6480.6738.4536.9359.4
SVT-AV1 (AV1) · preset 12343,064.7 kbps93.7289.8139.85152.8110.5
SVT-AV1 (AV1) · preset 12421,683.5 kbps87.0382.6638.23161.3910.2
SVT-AV1 (AV1) · preset 1250940 kbps77.6072.0236.62163.299.5
x264 (H.264) · preset superfast245,200 kbps93.4990.0140.23119.276.2
x264 (H.264) · preset superfast302,094.2 kbps80.2075.9537.47118.995.6
x264 (H.264) · preset superfast361,032.3 kbps58.3251.8434.19118.715.5
x264 (H.264) · preset medium244,063.8 kbps95.4192.4040.3424.1333.0
x264 (H.264) · preset medium301,981.2 kbps84.2181.3337.8533.7626.3
x264 (H.264) · preset medium361,054.6 kbps65.0562.3034.9541.8421.1
x264 (H.264) · preset slower243,876.4 kbps96.0692.8340.298.1105.2
x264 (H.264) · preset slower301,839.1 kbps84.6782.0337.7411.2679.6
x264 (H.264) · preset slower36976.6 kbps65.4462.5234.8714.0162.7
x265 (HEVC) · preset superfast261,943.1 kbps90.4587.4339.0140.0124.6
x265 (HEVC) · preset superfast32970.7 kbps75.9472.7936.4849.3619.8
x265 (HEVC) · preset superfast38496.5 kbps54.1450.6933.5960.116.3
x265 (HEVC) · preset medium262,415.2 kbps93.8991.0840.1514.269.3
x265 (HEVC) · preset medium321,164.4 kbps82.2279.5337.6318.0954.4
x265 (HEVC) · preset medium38570.8 kbps62.1058.7634.6722.4943.0
x265 (HEVC) · preset slow262,533.9 kbps96.4893.6640.485.21187.5
x265 (HEVC) · preset slow321,223.5 kbps86.5383.8538.056.33154.1
x265 (HEVC) · preset slow38604.3 kbps68.1964.9335.187.66127.3
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

4050607080901002M5M10M20MBitrate (bps, log scale)VMAFx264 (H.264) · preset superfast q=36: 3,801.4 kbps, VMAF 47.584x264 (H.264) · preset superfast q=30: 8,606.5 kbps, VMAF 75.652x264 (H.264) · preset superfast q=24: 18,600.8 kbps, VMAF 95.985x264 (H.264) · preset medium q=36: 4,446.8 kbps, VMAF 52.612x264 (H.264) · preset medium q=30: 9,188.1 kbps, VMAF 81.34x264 (H.264) · preset medium q=24: 18,482 kbps, VMAF 99.738x264 (H.264) · preset slower q=36: 3,960.3 kbps, VMAF 51.64x264 (H.264) · preset slower q=30: 8,890.8 kbps, VMAF 82.082x264 (H.264) · preset slower q=24: 18,338 kbps, VMAF 99.928x265 (HEVC) · preset superfast q=38: 2,115 kbps, VMAF 41.384x265 (HEVC) · preset superfast q=32: 4,901 kbps, VMAF 65.497x265 (HEVC) · preset superfast q=26: 10,097.6 kbps, VMAF 87.563x265 (HEVC) · preset medium q=38: 2,512.6 kbps, VMAF 46.324x265 (HEVC) · preset medium q=32: 5,880.9 kbps, VMAF 71.632x265 (HEVC) · preset medium q=26: 12,067 kbps, VMAF 92.254x265 (HEVC) · preset slow q=38: 2,740.5 kbps, VMAF 55.777x265 (HEVC) · preset slow q=32: 6,264.1 kbps, VMAF 82.358x265 (HEVC) · preset slow q=26: 12,819.8 kbps, VMAF 99.129SVT-AV1 (AV1) · preset 6 q=50: 4,065.7 kbps, VMAF 71.895SVT-AV1 (AV1) · preset 6 q=42: 7,292.8 kbps, VMAF 89.762SVT-AV1 (AV1) · preset 6 q=34: 12,815.1 kbps, VMAF 99.124SVT-AV1 (AV1) · preset 12 q=50: 4,703.4 kbps, VMAF 68.683SVT-AV1 (AV1) · preset 12 q=42: 8,772.3 kbps, VMAF 87.648SVT-AV1 (AV1) · preset 12 q=34: 15,234.1 kbps, VMAF 99.017
x264 (H.264) · preset superfastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset superfastx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1) · preset 6SVT-AV1 (AV1) · preset 12
riverbed — riverbed (fine ripples) — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 63412,815.1 kbps99.1296.8337.9437.6256.2
SVT-AV1 (AV1) · preset 6427,292.8 kbps89.7683.4135.7628.9978.3
SVT-AV1 (AV1) · preset 6504,065.7 kbps71.8962.6633.4326.4786.9
SVT-AV1 (AV1) · preset 123415,234.1 kbps99.0297.1437.44110.2317.3
SVT-AV1 (AV1) · preset 12428,772.3 kbps87.6582.1635.16114.7816.5
SVT-AV1 (AV1) · preset 12504,703.4 kbps68.6861.0632.59117.2116.0
x264 (H.264) · preset superfast2418,600.8 kbps95.9888.9737.2757.511.8
x264 (H.264) · preset superfast308,606.5 kbps75.6563.0733.9557.8410.3
x264 (H.264) · preset superfast363,801.4 kbps47.5833.1030.2659.488.7
x264 (H.264) · preset medium2418,482 kbps99.7498.7437.6012.6581.7
x264 (H.264) · preset medium309,188.1 kbps81.3479.2834.2615.4966.8
x264 (H.264) · preset medium364,446.8 kbps52.6149.6130.7919.3548.1
x264 (H.264) · preset slower2418,338 kbps99.93100.0037.453.39278.7
x264 (H.264) · preset slower308,890.8 kbps82.0879.2434.014.42218.0
x264 (H.264) · preset slower363,960.3 kbps51.6447.9130.446.05159.2
x265 (HEVC) · preset superfast2610,097.6 kbps87.5682.3635.8212.7177.3
x265 (HEVC) · preset superfast324,901 kbps65.5058.9232.7215.8362.1
x265 (HEVC) · preset superfast382,115 kbps41.3835.5229.6721.5445.6
x265 (HEVC) · preset medium2612,067 kbps92.2588.3136.644.19234.0
x265 (HEVC) · preset medium325,880.9 kbps71.6366.2433.455.66172.7
x265 (HEVC) · preset medium382,512.6 kbps46.3241.0830.217.94123.8
x265 (HEVC) · preset slow2612,819.8 kbps99.1397.0937.551.66587.0
x265 (HEVC) · preset slow326,264.1 kbps82.3676.9634.272.1463.6
x265 (HEVC) · preset slow382,740.5 kbps55.7849.4830.882.78352.4
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

5060708090100500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) · preset superfast q=36: 677.5 kbps, VMAF 55.9x264 (H.264) · preset superfast q=30: 1,633.6 kbps, VMAF 76.245x264 (H.264) · preset superfast q=24: 5,303.7 kbps, VMAF 89.466x264 (H.264) · preset medium q=36: 875.7 kbps, VMAF 63.431x264 (H.264) · preset medium q=30: 1,778.7 kbps, VMAF 80.568x264 (H.264) · preset medium q=24: 3,883 kbps, VMAF 91.335x264 (H.264) · preset slower q=36: 767.2 kbps, VMAF 61.591x264 (H.264) · preset slower q=30: 1,547.2 kbps, VMAF 79.837x264 (H.264) · preset slower q=24: 3,556.6 kbps, VMAF 91.703x265 (HEVC) · preset superfast q=38: 340 kbps, VMAF 53.834x265 (HEVC) · preset superfast q=32: 778.9 kbps, VMAF 73.246x265 (HEVC) · preset superfast q=26: 1,764.8 kbps, VMAF 86.69x265 (HEVC) · preset medium q=38: 370.5 kbps, VMAF 58.295x265 (HEVC) · preset medium q=32: 917.1 kbps, VMAF 76.914x265 (HEVC) · preset medium q=26: 2,198.4 kbps, VMAF 88.967x265 (HEVC) · preset slow q=38: 424.3 kbps, VMAF 63.532x265 (HEVC) · preset slow q=32: 1,027.9 kbps, VMAF 80.735x265 (HEVC) · preset slow q=26: 2,423.7 kbps, VMAF 91.53SVT-AV1 (AV1) · preset 6 q=50: 672.1 kbps, VMAF 76.685SVT-AV1 (AV1) · preset 6 q=42: 1,199.4 kbps, VMAF 84.477SVT-AV1 (AV1) · preset 6 q=34: 2,197.7 kbps, VMAF 90.799SVT-AV1 (AV1) · preset 12 q=50: 603.1 kbps, VMAF 69.283SVT-AV1 (AV1) · preset 12 q=42: 1,149.8 kbps, VMAF 78.149SVT-AV1 (AV1) · preset 12 q=34: 2,381 kbps, VMAF 88.133
x264 (H.264) · preset superfastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset superfastx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1) · preset 6SVT-AV1 (AV1) · preset 12
rush_hour — evening rush-hour traffic — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 6342,197.7 kbps90.8087.9641.3536.6259.5
SVT-AV1 (AV1) · preset 6421,199.4 kbps84.4880.3040.2037.9857.1
SVT-AV1 (AV1) · preset 650672.1 kbps76.6971.2238.9437.1460.3
SVT-AV1 (AV1) · preset 12342,381 kbps88.1383.4040.41154.2310.8
SVT-AV1 (AV1) · preset 12421,149.8 kbps78.1572.0138.73165.0210.1
SVT-AV1 (AV1) · preset 1250603.1 kbps69.2863.6837.32167.229.4
x264 (H.264) · preset superfast245,303.7 kbps89.4786.9941.03108.466.7
x264 (H.264) · preset superfast301,633.6 kbps76.2572.6538.68109.75.8
x264 (H.264) · preset superfast36677.5 kbps55.9051.2235.47111.415.1
x264 (H.264) · preset medium243,883 kbps91.3389.4541.0724.0436.1
x264 (H.264) · preset medium301,778.7 kbps80.5777.9439.1035.2726.0
x264 (H.264) · preset medium36875.7 kbps63.4359.9436.4544.8319.5
x264 (H.264) · preset slower243,556.6 kbps91.7089.6040.968.17111.8
x264 (H.264) · preset slower301,547.2 kbps79.8476.9538.8511.8975.4
x264 (H.264) · preset slower36767.2 kbps61.5958.0336.1515.8556.3
x265 (HEVC) · preset superfast261,764.8 kbps86.6983.5640.0237.3226.4
x265 (HEVC) · preset superfast32778.9 kbps73.2569.0437.7952.7618.6
x265 (HEVC) · preset superfast38340 kbps53.8348.9334.8673.7213.3
x265 (HEVC) · preset medium262,198.4 kbps88.9786.8240.7313.3773.5
x265 (HEVC) · preset medium32917.1 kbps76.9173.6838.5419.8449.0
x265 (HEVC) · preset medium38370.5 kbps58.3054.3435.6926.7434.3
x265 (HEVC) · preset slow262,423.7 kbps91.5389.4241.084.86199.5
x265 (HEVC) · preset slow321,027.9 kbps80.7377.8039.056.73144.7
x265 (HEVC) · preset slow38424.3 kbps63.5360.2936.379.39103.7
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

1. File size and CPU time needed at VMAF 86

Each cell is file size (kbps) / utime (seconds, for the 10-second clip). Moving right along a row means a slower preset.

Codec · clipFast presetMiddle presetSlow preset
x264 · blue_sky1722 / 4.641078 / 16.231047 / 47.39
x264 · pedestrian_area3113 / 5.872223 / 27.412007 / 82.62
x264 · riverbed12739 / 11.0810966 / 70.5510425 / 231.31
x264 · rush_hour3895 / 6.452637 / 31.122384 / 94.28
x265 · pedestrian_area1571 / 23.111475 / 59.221199 / 153.33
x265 · riverbed9594 / 76.209703 / 215.437319 / 490.41
x265 · rush_hour1692 / 25.971772 / 67.461562 / 171.40
SVT-AV1 · pedestrian_area1580 / 10.14—878 / 59.17
SVT-AV1 · riverbed8310 / 16.43—6448 / 80.14
SVT-AV1 · rush_hour2038 / 10.66—1388 / 57.71

Presets: x264 superfast, medium, slower; x265 superfast, medium, slow; for SVT-AV1, preset 12 (left) and 6 (right). These are estimates from the interpolation method above.

2. Time multiplier and saving per preset step

StepClipCPU time multiplierTotal size savingSaving per doubling of time
x264 superfast→mediumblue_sky3.49x37.4%22.9%
x264 superfast→mediumpedestrian_area4.67x28.6%14.1%
x264 superfast→mediumriverbed6.37x13.9%5.5%
x264 superfast→mediumrush_hour4.82x32.3%15.8%
x264 medium→slowerblue_sky2.92x2.9%1.9%
x264 medium→slowerpedestrian_area3.01x9.7%6.2%
x264 medium→slowerriverbed3.28x4.9%2.9%
x264 medium→slowerrush_hour3.03x9.6%6.1%
x265 superfast→mediumpedestrian_area2.56x6.1%4.5%
x265 superfast→mediumriverbed2.83x−1.1%−0.8%
x265 superfast→mediumrush_hour2.60x−4.7%−3.4%
x265 medium→slowpedestrian_area2.59x18.7%14.0%
x265 medium→slowriverbed2.28x24.6%21.2%
x265 medium→slowrush_hour2.54x11.9%9.0%
SVT-AV1 12→6pedestrian_area5.84x44.4%20.6%
SVT-AV1 12→6riverbed4.88x22.4%10.5%
SVT-AV1 12→6rush_hour5.42x31.9%14.6%

A negative value means the slower preset's file was actually bigger (an increase, not a saving). Values were computed from the interpolated values in the table above, and differences within about ±5% cannot be distinguished from interpolation error.

3. What we can see

  • For x264, the payoff dropped sharply past medium. The saving per doubling of time was 5.5–22.9% from superfast to medium, but 1.9–6.2% from medium to slower, lower on all 4 clips. Medium to slower takes 2.92–3.28x the time, yet the total saving was only 2.9–9.7%. In this data, everything beyond medium is the range where returns diminish rapidly.
  • x265 did not show the same shape. Superfast to medium takes 2.56–2.83x the time, yet the file got 6.1% smaller (pedestrian_area) or 1.1% and 4.7% bigger (riverbed, rush_hour). Medium to slow, on the other hand, had a larger total saving of 11.9–24.6%. So the pattern of "the slower you go, the less you gain" did not appear for x265 in this data. However, values around ±5% for superfast to medium cannot be distinguished from interpolation error, so it is better read as "we could not confirm a difference with this data" than as "there is no gain." With only 3 points per curve, we also cannot say this shape is general.
  • SVT-AV1 took one big step. Going from preset 12 to 6 cost 4.88–5.84x the CPU time and saved 22.4–44.4% in total (10.5–20.6% per doubling of time). With only two presets, we cannot tell where the gain starts to shrink in between. Preset efficiency is covered separately in SVT-AV1 preset efficiency measured.
  • The gain varied a lot with the video. For x264 superfast to medium, the saving per doubling of time was 22.9% on blue_sky, 15.8% on rush_hour, 14.1% on pedestrian_area and 5.5% on riverbed. For SVT-AV1 12→6 it was 20.6% on pedestrian_area > 14.6% on rush_hour > 10.5% on riverbed, again smallest on riverbed. The preset effect appears smaller on a heavily textured video (riverbed), but with one clip each, we cannot say why.
  • The time multiplier also differed by preset. Even for one "step," x264 superfast to medium was 3.49–6.37x, medium to slower was 2.92–3.28x, both x265 steps were 2.28–2.83x, and SVT-AV1 was 4.88–5.84x. So "one preset step" and "double the time" are not the same unit.
  • It was not constant enough to call a "law." The saving per doubling of time across the 17 intervals ranged widely, from −3.4% to 22.9%. Within a codec, the video was a bigger variable than the interval (the slower side). If you want to remember one number, the most this data allows is "there is a gain, but it swings widely, roughly 0–23%, depending on the clip and interval."

Limitations

  • There are only four 10-second clips. They are hard to call representative of video types, and the multipliers and savings above are values for these four clips, not recommended values by genre.
  • There are only 2–3 presets per codec, so each curve has few points. We cannot chain the per-interval values into a "curve shape." x264 and x265 have 3 points and SVT-AV1 has only 2 (presets 12 and 6). Filling in between, with presets 8 and 4 for example, could change the result.
  • We read at a single reference point (VMAF 86). At other quality levels, the saving may differ. We chose 86 because the most cells (10) bracketed it, not because of what that quality level means.
  • We excluded 2 of the 12 cells. For x265 and SVT-AV1 on blue_sky, VMAF saturated at a high level and never reached 86, so we dropped them. As a result, blue_sky entered the analysis with x264 only.
  • These are interpolated estimates. In many cells the measured points are 10–22 VMAF points apart, and the decimals are meaningless. It was a single measurement, so we did not compute repeat-run error either.
  • Time is utime (summed CPU time). It was measured with 4 threads, IDLE priority and one PC, and differs from actual elapsed time on a machine with more threads (utime vs. rtime measured). The multipliers may differ on other CPUs.
  • 8-bit yuv420p, fixed resolution and fps. We did not cover 10-bit, 4K, hardware encoders, 2-pass or other options. We measured with only one default VMAF model, and there is no guarantee that the same VMAF looks like the same quality to human eyes.

Practical recommendations

  • If you use x264, medium was the point where efficiency bent in this data. Medium to slower takes about 3x the time and saved 2.9–9.7% in file size. If time is short, there is little reason to move up to slower, and going from superfast to medium gained more (13.9–37.4% in total).
  • For x265, don't expect a difference between superfast and medium; measure it yourself. In this data, spending 2.6–2.8x the time gave a size difference of −4.7 to 6.1%. Medium to slow, on the other hand, cut 11.9–24.6% for 2.3–2.6x the time. If your goal is to squeeze the file as small as possible at the same quality, slow paid off.
  • Switching SVT-AV1 from the fast preset 12 to 6 shrank files a lot (22.4–44.4%). The cost is about 5x the CPU time. We did not measure the presets in between (8 to 10 and so on) in this article, so see SVT-AV1 preset efficiency measured as well.
  • Before choosing a preset, run a 10-second sample of your own video first. Even at the same preset step, the gain ranged from 5.5% (riverbed) to 22.9% (blue_sky) depending on the video.
  • For whether to change the preset or the CRF at the same file size, continue with preset vs. CRF at the same size, measured. To check whether AV1 video plays on your viewing devices, see the codec support checker.

The full raw data can be downloaded as a CSV at the bottom of the page. You can reproduce the values in the tables above from vmaf_mean, kbps and utime_s in the CSV.

Raw data: time-doubling-size-saving-law-v1.csv