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

Can a Fast-Preset Test Encode Predict Your Final Result? x264 ultrafast vs medium and slower, x265 veryfast vs medium: VMAF and File Size Prediction Error, Measured

We encoded four 10-second 1080p25 clips with x264 (ultrafast, medium, slower), x265 (veryfast, medium) and SVT-AV1 (preset 12) at 4 CRF steps each, and measured how well a fast-preset result at a given CRF predicts the slower-preset result at the same CRF. x264 ultrafast differed from medium by −3.15 to +11.41 VMAF points and −69.3 to +24.1% in file size, and the direction was not consistent. x265 veryfast differed from medium by +0.14 to +10.84 VMAF points (+0.34 to +3.60 without blue_sky) and −1.5 to +17.5% in size (−1.5 to +5.9% without blue_sky). These are fresh encodes compared at the same CRF; with only four clips, generalization is limited.

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

x264 ultrafast was a poor stand-in for medium or slower, while x265 veryfast came fairly close once blue_sky is set aside. At the same CRF, x264 medium differed from ultrafast by −3.15 to +11.41 VMAF points and −69.3 to +24.1% in file size (16 cells), and the direction varied by clip (riverbed mostly went up, while rush_hour went down in all 4 cells). x265 medium vs veryfast on pedestrian_area, riverbed and rush_hour was +0.34 to +3.60 VMAF points and −1.5 to +5.9% in size, but blue_sky was +0.14 to +10.84 VMAF points and +14.1 to +17.5% in size. How cheap the test encode is depends on the encoder: x264 ultrafast took 7–15% of medium's CPU time, while x265 veryfast took 52–63%.

Why we ran this

When you have hundreds of videos, or very long ones, you want to know what file size and quality a given CRF will produce before the real job. Running a quick test encode with the fastest preset and using its VMAF and size as a stand-in for the slow preset's result looks like a big time saver. The catch is whether the gap between the fast and slow presets stays constant across CRF values and across videos. If it does, one offset converts the result; if it varies by video, the test encode can't be trusted. Finding the CRF for a target VMAF by interpolating within the same preset is covered in CRF search trials for a target VMAF; this article is about switching presets for the test.

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 configurations × 4 CRF steps = 96 runs
Measured on2026-11-20

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. VMAF of 99 or higher is treated as the saturated range and marked separately, because the scores are pressed against the ceiling and preset differences can look smaller than they are.

EncoderPreset4 CRF stepsCommand (key options)
x264ultrafast24, 30, 36, 42-c:v libx264 -preset ultrafast -crf Q -threads 4
x264medium24, 30, 36, 42-c:v libx264 -preset medium -crf Q -threads 4
x264slower24, 30, 36, 42-c:v libx264 -preset slower -crf Q -threads 4
x265veryfast26, 32, 38, 44-c:v libx265 -preset veryfast -crf Q -x265-params pools=4:log-level=error
x265medium26, 32, 38, 44-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
SVT-AV11232, 40, 48, 56-c:v libsvtav1 -preset 12 -crf Q -svtav1-params lp=4

Input is the original y4m, output is mkv, no audio. Each value above was substituted for Q in turn. CRF numbers are on different scales for different codecs, so don't compare them across codecs. SVT-AV1 has no slower counterpart in this set, so it was not used for the prediction check and is included for reference only.

Test clip sources and license

All four clips are 1080p25 footage 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).

How we compared

  • Pairs: For the same encoder, clip and CRF, we pair the fast-preset result (the test) with the slower-preset result (the final). For x264 the pairs are ultrafast→medium, ultrafast→slower and medium→slower; for x265 it is veryfast→medium.
  • VMAF difference = final VMAF − test VMAF (points). Positive means the final is higher quality than the test.
  • Size ratio = final kbps ÷ test kbps. Below 1 means the final is smaller. In the tables we show (ratio − 1) as a percentage.
  • Error after converting with a constant offset: For each clip, we take the average VMAF difference (or average size ratio) over the 4 CRF values as the offset, then look at "offset − actual difference" at each CRF. Because the offset is built from the same 4 points it is applied to, this is more favorable than a real prediction would be.
  • Time: rtime wobbles under IDLE priority, so we use the sum over the 4 CRF values of utime (CPU time summed over threads). Treat it as a reference value.

Results by clip

In the curves, the horizontal axis is file size (bitrate) and the vertical axis is mean VMAF. The question of this article is how far apart the presets of the same encoder sit on the curve. The time column in the tables was measured at IDLE priority and is for reference.

blue_sky — blue sky and tree branches

405060708090100500k1M2M5M10MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=42: 918.9 kbps, VMAF 56.675x264 (H.264) · preset ultrafast q=36: 2,252.2 kbps, VMAF 79.716x264 (H.264) · preset ultrafast q=30: 6,186 kbps, VMAF 97.743x264 (H.264) · preset ultrafast q=24: 14,751.9 kbps, VMAF 99.972x264 (H.264) · preset medium q=42: 556.6 kbps, VMAF 59.49x264 (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=42: 545.5 kbps, VMAF 59.438x264 (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 veryfast q=44: 242.1 kbps, VMAF 48.034x265 (HEVC) · preset veryfast q=38: 558.5 kbps, VMAF 73.271x265 (HEVC) · preset veryfast q=32: 1,231.6 kbps, VMAF 91.854x265 (HEVC) · preset veryfast q=26: 2,861.4 kbps, VMAF 99.766x265 (HEVC) · preset medium q=44: 276.2 kbps, VMAF 58.874x265 (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.903SVT-AV1 (AV1) q=56: 818.1 kbps, VMAF 87.157SVT-AV1 (AV1) q=48: 1,357.6 kbps, VMAF 93.805SVT-AV1 (AV1) q=40: 2,346.4 kbps, VMAF 98.221SVT-AV1 (AV1) q=32: 4,276.1 kbps, VMAF 99.776
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset veryfastx265 (HEVC) · preset mediumSVT-AV1 (AV1)
blue_sky — blue sky and tree branches — size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 12324,276.1 kbps99.7898.1938.92141.810.8
SVT-AV1 (AV1) · preset 12402,346.4 kbps98.2293.4637.34152.539.4
SVT-AV1 (AV1) · preset 12481,357.6 kbps93.8187.6435.73168.018.8
SVT-AV1 (AV1) · preset 1256818.1 kbps87.1679.7034.03163.198.8
x264 (H.264) · preset ultrafast2414,751.9 kbps99.97100.0038.37275.333.8
x264 (H.264) · preset ultrafast306,186 kbps97.7495.9733.95339.213.1
x264 (H.264) · preset ultrafast362,252.2 kbps79.7276.2029.62362.322.9
x264 (H.264) · preset ultrafast42918.9 kbps56.6751.7325.90360.752.3
x264 (H.264) · preset medium244,535.6 kbps99.97100.0039.3126.3326.3
x264 (H.264) · preset medium301,916.7 kbps98.2293.7836.1536.1520.4
x264 (H.264) · preset medium36961.5 kbps83.5875.2632.5544.4917.0
x264 (H.264) · preset medium42556.6 kbps59.4949.5028.7849.4214.9
x264 (H.264) · preset slower244,553.3 kbps99.97100.0039.369.7477.6
x264 (H.264) · preset slower301,928.6 kbps98.6294.7336.2114.6258.1
x264 (H.264) · preset slower36949.4 kbps83.9977.7732.4718.4147.9
x264 (H.264) · preset slower42545.5 kbps59.4451.0728.6220.3343.9
x265 (HEVC) · preset veryfast262,861.4 kbps99.7798.1938.6434.428.8
x265 (HEVC) · preset veryfast321,231.6 kbps91.8586.3935.3146.0721.5
x265 (HEVC) · preset veryfast38558.5 kbps73.2766.0131.6255.3517.6
x265 (HEVC) · preset veryfast44242.1 kbps48.0340.1927.8764.6314.9
x265 (HEVC) · preset medium263,362 kbps99.9099.3639.4121.5145.7
x265 (HEVC) · preset medium321,420.9 kbps95.7688.5636.3628.0334.2
x265 (HEVC) · preset medium38638.4 kbps81.8172.8032.9533.0728.3
x265 (HEVC) · preset medium44276.2 kbps58.8748.1629.2237.5724.3
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

30405060708090100500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=42: 735.2 kbps, VMAF 39.029x264 (H.264) · preset ultrafast q=36: 1,416.5 kbps, VMAF 63.135x264 (H.264) · preset ultrafast q=30: 3,329 kbps, VMAF 83.609x264 (H.264) · preset ultrafast q=24: 8,424.7 kbps, VMAF 95.639x264 (H.264) · preset medium q=42: 582 kbps, VMAF 39.303x264 (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=42: 552.6 kbps, VMAF 40.799x264 (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 veryfast q=44: 267.7 kbps, VMAF 34.847x265 (HEVC) · preset veryfast q=38: 572.1 kbps, VMAF 60.122x265 (HEVC) · preset veryfast q=32: 1,155.9 kbps, VMAF 80.151x265 (HEVC) · preset veryfast q=26: 2,399.6 kbps, VMAF 92.494x265 (HEVC) · preset medium q=44: 264.1 kbps, VMAF 36.417x265 (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.891SVT-AV1 (AV1) q=56: 585.6 kbps, VMAF 67.74SVT-AV1 (AV1) q=48: 1,089.1 kbps, VMAF 80.293SVT-AV1 (AV1) q=40: 1,953.2 kbps, VMAF 89.014SVT-AV1 (AV1) q=32: 3,516.6 kbps, VMAF 94.872
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset veryfastx265 (HEVC) · preset mediumSVT-AV1 (AV1)
pedestrian_area — pedestrian street — size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 12323,516.6 kbps94.8791.0340.16136.1711.0
SVT-AV1 (AV1) · preset 12401,953.2 kbps89.0184.9138.64141.1610.2
SVT-AV1 (AV1) · preset 12481,089.1 kbps80.2975.2837.01149.3410.2
SVT-AV1 (AV1) · preset 1256585.6 kbps67.7460.5035.10148.19.9
x264 (H.264) · preset ultrafast248,424.7 kbps95.6493.6639.17217.013.8
x264 (H.264) · preset ultrafast303,329 kbps83.6181.2236.18305.623.3
x264 (H.264) · preset ultrafast361,416.5 kbps63.1359.6732.98297.973.0
x264 (H.264) · preset ultrafast42735.2 kbps39.0335.4129.36309.412.8
x264 (H.264) · preset medium244,063.8 kbps95.4192.4040.3423.1734.1
x264 (H.264) · preset medium301,981.2 kbps84.2181.3337.8532.9126.6
x264 (H.264) · preset medium361,054.6 kbps65.0562.3034.9540.2622.1
x264 (H.264) · preset medium42582 kbps39.3036.5731.7044.518.3
x264 (H.264) · preset slower243,876.4 kbps96.0692.8340.297.5109.5
x264 (H.264) · preset slower301,839.1 kbps84.6782.0337.7410.880.9
x264 (H.264) · preset slower36976.6 kbps65.4462.5234.8713.5965.3
x264 (H.264) · preset slower42552.6 kbps40.8037.6131.7716.1754.2
x265 (HEVC) · preset veryfast262,399.6 kbps92.4990.0439.8925.2138.8
x265 (HEVC) · preset veryfast321,155.9 kbps80.1577.7937.3830.4432.0
x265 (HEVC) · preset veryfast38572.1 kbps60.1257.3634.4936.7526.8
x265 (HEVC) · preset veryfast44267.7 kbps34.8530.9131.2945.5521.5
x265 (HEVC) · preset medium262,415.2 kbps93.8991.0840.1513.9970.0
x265 (HEVC) · preset medium321,164.4 kbps82.2279.5337.6317.8654.5
x265 (HEVC) · preset medium38570.8 kbps62.1058.7634.6721.9143.7
x265 (HEVC) · preset medium44264.1 kbps36.4232.5731.3726.8934.2
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

20304050607080901001M2M5M10M20MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=42: 1,521.8 kbps, VMAF 28.94x264 (H.264) · preset ultrafast q=36: 4,378.6 kbps, VMAF 44.841x264 (H.264) · preset ultrafast q=30: 10,840.3 kbps, VMAF 69.932x264 (H.264) · preset ultrafast q=24: 24,844.1 kbps, VMAF 92.364x264 (H.264) · preset medium q=42: 1,889.2 kbps, VMAF 28.329x264 (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=42: 1,558.8 kbps, VMAF 28.237x264 (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 veryfast q=44: 873.6 kbps, VMAF 24.815x265 (HEVC) · preset veryfast q=38: 2,413.3 kbps, VMAF 43.111x265 (HEVC) · preset veryfast q=32: 5,554.2 kbps, VMAF 68.029x265 (HEVC) · preset veryfast q=26: 11,470.7 kbps, VMAF 89.727x265 (HEVC) · preset medium q=44: 868.8 kbps, VMAF 25.726x265 (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.254SVT-AV1 (AV1) q=56: 2,703.7 kbps, VMAF 52.133SVT-AV1 (AV1) q=48: 5,551.6 kbps, VMAF 74.116SVT-AV1 (AV1) q=40: 10,124.9 kbps, VMAF 91.134SVT-AV1 (AV1) q=32: 17,141.7 kbps, VMAF 99.801
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset veryfastx265 (HEVC) · preset mediumSVT-AV1 (AV1)
riverbed — riverbed (fine ripples) — size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 123217,141.7 kbps99.8098.8037.8797.9616.9
SVT-AV1 (AV1) · preset 124010,124.9 kbps91.1386.6335.8099.9618.0
SVT-AV1 (AV1) · preset 12485,551.6 kbps74.1267.1433.22104.617.2
SVT-AV1 (AV1) · preset 12562,703.7 kbps52.1343.5230.47110.5715.6
x264 (H.264) · preset ultrafast2424,844.1 kbps92.3690.2435.03210.795.3
x264 (H.264) · preset ultrafast3010,840.3 kbps69.9367.3031.55246.314.2
x264 (H.264) · preset ultrafast364,378.6 kbps44.8442.3328.49253.043.6
x264 (H.264) · preset ultrafast421,521.8 kbps28.9426.9924.94267.672.9
x264 (H.264) · preset medium2418,482 kbps99.7498.7437.6013.1279.4
x264 (H.264) · preset medium309,188.1 kbps81.3479.2834.2615.9865.1
x264 (H.264) · preset medium364,446.8 kbps52.6149.6130.7919.3448.0
x264 (H.264) · preset medium421,889.2 kbps28.3325.5027.0120.4232.2
x264 (H.264) · preset slower2418,338 kbps99.93100.0037.453.49276.7
x264 (H.264) · preset slower308,890.8 kbps82.0879.2434.014.49213.0
x264 (H.264) · preset slower363,960.3 kbps51.6447.9130.446.21155.3
x264 (H.264) · preset slower421,558.8 kbps28.2425.4226.969.3104.0
x265 (HEVC) · preset veryfast2611,470.7 kbps89.7385.7436.379.11107.0
x265 (HEVC) · preset veryfast325,554.2 kbps68.0362.9833.1911.1387.0
x265 (HEVC) · preset veryfast382,413.3 kbps43.1138.4330.0214.1468.9
x265 (HEVC) · preset veryfast44873.6 kbps24.8221.4527.0421.7244.8
x265 (HEVC) · preset medium2612,067 kbps92.2588.3136.644.26225.8
x265 (HEVC) · preset medium325,880.9 kbps71.6366.2433.455.7169.2
x265 (HEVC) · preset medium382,512.6 kbps46.3241.0830.217.98121.6
x265 (HEVC) · preset medium44868.8 kbps25.7321.5827.1513.4572.3
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

30405060708090100200k500k1M2M5MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=42: 537 kbps, VMAF 45.144x264 (H.264) · preset ultrafast q=36: 1,168.1 kbps, VMAF 64.701x264 (H.264) · preset ultrafast q=30: 2,884.9 kbps, VMAF 82.273x264 (H.264) · preset ultrafast q=24: 7,562.3 kbps, VMAF 93.372x264 (H.264) · preset medium q=42: 414.6 kbps, VMAF 41.991x264 (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=42: 387.2 kbps, VMAF 40.207x264 (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 veryfast q=44: 155.8 kbps, VMAF 35.653x265 (HEVC) · preset veryfast q=38: 373.6 kbps, VMAF 57.959x265 (HEVC) · preset veryfast q=32: 908 kbps, VMAF 76.198x265 (HEVC) · preset veryfast q=26: 2,142.8 kbps, VMAF 88.227x265 (HEVC) · preset medium q=44: 153.5 kbps, VMAF 36.582x265 (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.967SVT-AV1 (AV1) q=56: 377.2 kbps, VMAF 62.211SVT-AV1 (AV1) q=48: 710.5 kbps, VMAF 71.403SVT-AV1 (AV1) q=40: 1,376.8 kbps, VMAF 80.821SVT-AV1 (AV1) q=32: 2,780.2 kbps, VMAF 89.636
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset veryfastx265 (HEVC) · preset mediumSVT-AV1 (AV1)
rush_hour — evening rush-hour traffic — size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 12322,780.2 kbps89.6485.2340.72135.4312.1
SVT-AV1 (AV1) · preset 12401,376.8 kbps80.8275.2139.12143.7610.8
SVT-AV1 (AV1) · preset 1248710.5 kbps71.4065.9037.63135.219.7
SVT-AV1 (AV1) · preset 1256377.2 kbps62.2156.6236.21149.348.9
x264 (H.264) · preset ultrafast247,562.3 kbps93.3791.2839.84241.784.1
x264 (H.264) · preset ultrafast302,884.9 kbps82.2779.4537.02293.433.1
x264 (H.264) · preset ultrafast361,168.1 kbps64.7061.4033.83291.042.8
x264 (H.264) · preset ultrafast42537 kbps45.1442.1030.30295.512.7
x264 (H.264) · preset medium243,883 kbps91.3389.4541.0723.6836.7
x264 (H.264) · preset medium301,778.7 kbps80.5777.9439.1034.1426.7
x264 (H.264) · preset medium36875.7 kbps63.4359.9436.4542.520.3
x264 (H.264) · preset medium42414.6 kbps41.9937.7333.1045.2515.9
x264 (H.264) · preset slower243,556.6 kbps91.7089.6040.967.94113.7
x264 (H.264) · preset slower301,547.2 kbps79.8476.9538.8511.776.4
x264 (H.264) · preset slower36767.2 kbps61.5958.0336.1515.5756.7
x264 (H.264) · preset slower42387.2 kbps40.2136.2532.9719.1644.8
x265 (HEVC) · preset veryfast262,142.8 kbps88.2386.0840.6922.0344.0
x265 (HEVC) · preset veryfast32908 kbps76.2073.0138.5430.3232.2
x265 (HEVC) · preset veryfast38373.6 kbps57.9654.1935.7343.5522.3
x265 (HEVC) · preset veryfast44155.8 kbps35.6531.5032.4256.4517.3
x265 (HEVC) · preset medium262,198.4 kbps88.9786.8240.7313.3373.2
x265 (HEVC) · preset medium32917.1 kbps76.9173.6838.5419.3850.2
x265 (HEVC) · preset medium38370.5 kbps58.3054.3435.6926.2135.2
x265 (HEVC) · preset medium44153.5 kbps36.5832.4832.3429.2826.9
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

1. x264: predicting medium from ultrafast

Each cell is "VMAF difference / size change" (medium − ultrafast). An asterisk (*) marks the saturated range where both results have VMAF of 99 or higher.

ClipCRF 24CRF 30CRF 36CRF 42
blue_sky−0.001 / −69.3% *+0.481 / −69.0%+3.860 / −57.3%+2.815 / −39.4%
pedestrian_area−0.234 / −51.8%+0.600 / −40.5%+1.910 / −25.5%+0.274 / −20.8%
riverbed+7.374 / −25.6%+11.408 / −15.2%+7.771 / +1.6%−0.611 / +24.1%
rush_hour−2.037 / −48.7%−1.705 / −38.3%−1.270 / −25.0%−3.153 / −22.8%

VMAF difference in points; size change is (medium kbps ÷ ultrafast kbps − 1). Every number in the table was computed from vmaf_mean and kbps in the CSV. For riverbed at CRF 24, medium is 99.738 but ultrafast is 92.364, so it is not marked as saturated (we mark a cell only when both values are 99 or higher).

  • The VMAF difference does not go one way. Of the 16 cells, medium was higher in 9 and lower in 7. Of the 7 lower cells, all 4 rush_hour cells were between −1.270 and −3.153 points (the others were −0.001, −0.234 and −0.611). In other words, on some videos ultrafast delivered higher quality at the same CRF.
  • Even within one clip, the gap varies a lot with CRF. riverbed was +7.374 at CRF 24, +11.408 at 30 and −0.611 at 42, a spread of 12.019 points across the 4 cells. blue_sky spans 3.861 points, pedestrian_area 2.144 and rush_hour 1.883.
  • The size ratio isn't constant either. medium's file size was 0.307–0.606× ultrafast's for blue_sky, 0.482–0.792× for pedestrian_area, 0.744–1.241× for riverbed and 0.513–0.772× for rush_hour. On riverbed at CRF 36 and 42, medium was actually larger (+1.6%, +24.1%).
  • Even a per-clip average offset leaves large errors. The per-clip average VMAF differences are +1.789 for blue_sky, +0.638 for pedestrian_area, +6.486 for riverbed and −2.041 for rush_hour. Using these as offsets, the largest per-CRF error is 2.07 points for blue_sky, 1.27 for pedestrian_area, 7.10 for riverbed and 1.11 for rush_hour. For size, using the per-clip average ratio (blue_sky 0.412, pedestrian_area 0.653, riverbed 0.962, rush_hour 0.663), the error was −31.9 to +34.2% for blue_sky, −17.5 to +35.4% for pedestrian_area, −22.5 to +29.3% for riverbed and −14.1 to +29.1% for rush_hour. This applies the average of 4 cells back onto the same 4 cells, so a real prediction would be worse.
  • The ultrafast→slower pair looked similar. The VMAF difference for ultrafast→slower was −4.937 to +12.150 points and the size change was −69.1 to +2.4% (16 cells). For example, riverbed at CRF 30 is +12.150 points and rush_hour at CRF 42 is −4.937 points.

2. x264: predicting slower from medium

Does prediction improve when the two presets are closer together? We computed slower − medium the same way. An asterisk (*) marks the saturated range where both results have VMAF of 99 or higher.

ClipCRF 24CRF 30CRF 36CRF 42
blue_sky+0.002 / +0.4% *+0.394 / +0.6%+0.411 / −1.3%−0.052 / −2.0%
pedestrian_area+0.652 / −4.6%+0.464 / −7.2%+0.400 / −7.4%+1.496 / −5.1%
riverbed+0.190 / −0.8% *+0.742 / −3.2%−0.972 / −10.9%−0.092 / −17.5%
rush_hour+0.368 / −8.4%−0.731 / −13.0%−1.840 / −12.4%−1.784 / −6.6%

slower − medium. Asterisks mark only cells where both results have VMAF of 99 or higher (blue_sky and riverbed at CRF 24).

  • The medium→slower VMAF difference ranged from −1.840 to +1.496 points, much narrower than ultrafast→medium (−3.153 to +11.408 points). The size change was +0.6 to −17.5%, with slower mostly smaller.
  • Still not constant. rush_hour was +0.368 points at CRF 24 and −1.840 at 36. In 6 of 16 cells (blue_sky CRF 42, riverbed CRF 36 and 42, rush_hour CRF 30, 36 and 42), slower had a lower VMAF than medium at the same CRF. A slower preset does not always raise mean VMAF.
  • How much size slower saves differs by video. At CRF 42, slower was smaller than medium by 2.0% for blue_sky, 5.1% for pedestrian_area, 6.6% for rush_hour and 17.5% for riverbed.

3. x265: predicting medium from veryfast

ClipCRF 26CRF 32CRF 38CRF 44
blue_sky+0.137 / +17.5% *+3.902 / +15.4%+8.536 / +14.3%+10.840 / +14.1%
pedestrian_area+1.397 / +0.7%+2.069 / +0.7%+1.974 / −0.2%+1.570 / −1.3%
riverbed+2.527 / +5.2%+3.603 / +5.9%+3.213 / +4.1%+0.911 / −0.5%
rush_hour+0.740 / +2.6%+0.716 / +1.0%+0.336 / −0.8%+0.929 / −1.5%

medium − veryfast. An asterisk marks the saturated range where both results have VMAF of 99 or higher.

  • On the three clips other than blue_sky, x265 veryfast came fairly close. Across those 12 cells, the VMAF difference was +0.336 to +3.603 points and the size change was −1.5 to +5.9%. The direction was also consistent there (medium had the higher VMAF in every cell).
  • Converting with a per-clip average offset makes the error smaller. The average VMAF differences are +1.753 for pedestrian_area, +2.564 for riverbed and +0.680 for rush_hour, and the offset-conversion errors are at most 0.36, 1.65 and 0.34 points. These offsets are again built from the same 4 points, so a real prediction would fare worse.
  • blue_sky was different. The VMAF difference widened as CRF rose: +0.137 → +3.902 → +8.536 → +10.840 points, and medium's file was 14.1 to 17.5% larger. CRF 26 is in the saturated range because both results are 99 or higher. Converting with the average offset (+5.854 points) gives an error of up to 5.72 points.
  • Unlike x264, the paired x265 file sizes were nearly the same. For pedestrian_area and rush_hour the size stayed within ±3% (at most +2.6%, at least −1.5%), leaving mainly a quality difference.

4. How cheap is the test encode?

Clipx264 ultrafastx264 mediumx264 slowerultrafast ÷ mediumultrafast ÷ slowerx265 veryfastx265 mediumveryfast ÷ medium
blue_sky12.1 s78.5 s227.4 s15%5%82.8 s132.5 s63%
pedestrian_area12.9 s101.1 s309.8 s13%4%119.1 s202.5 s59%
riverbed16.0 s224.6 s749.1 s7%2%307.7 s588.9 s52%
rush_hour12.7 s99.6 s291.6 s13%4%115.8 s185.5 s62%

Sum of utime (CPU time summed over threads) over the 4 CRF values. Seconds rounded to one decimal place. IDLE priority on a single PC, so for reference only.

  • x264 ultrafast used only 7–15% of medium's time and 2–5% of slower's. That cuts time a lot, but as shown above the prediction was not reliable.
  • x265 veryfast used 52–63% of medium's time. The prediction was better, but time dropped by only about half. Getting both a close prediction and a cheap test seemed hard.
  • For reference: SVT-AV1 preset 12. The 4-CRF utime sums were 37.8 s for blue_sky, 41.4 s for pedestrian_area, 67.7 s for riverbed and 41.5 s for rush_hour, smaller than the x264 medium values. But with no slower counterpart, this data can't tell us the prediction error; for cross-codec efficiency, SVT-AV1 preset efficiency, measured is the better read.

Limitations

  • Only four 10-second clips. The same numbers should not be expected on other videos. In particular, an easy video like blue_sky and a hard one like riverbed behaved in opposite ways, so this data can't tell which side a video between those extremes will lean toward.
  • The offset-conversion error is optimistic. We built the offset from the same 4 points and measured the error on those same 4 points. For a new video the offset itself would have to come from other videos, and the differences between clips would add to the error.
  • There are saturated cells. Cells with VMAF of 99 or higher (blue_sky at x264 CRF 24 and x265 CRF 26, riverbed at x264 medium and slower CRF 24, and so on) can make differences look small, so we marked them. We read the conclusions mainly from the non-saturated cells.
  • 8-bit yuv420p, one PC, and a fixed preset pairing per encoder. Results may differ at other resolutions, in 10-bit, with tune settings or with 2-pass. Time was measured at IDLE priority, so it is for reference.
  • We looked only at mean VMAF. Low per-frame scores and perceived quality are not part of this comparison (vmaf_p5 and vmaf_min are in the CSV).
  • SVT-AV1 was left out of the prediction check. Because of the work budget we included only preset 12, and it has no slower counterpart.

Practical recommendations

  • With x264, don't convert VMAF or file size for medium or slower from an ultrafast test encode. In this data both the direction and the size of the gap differed by clip. It's better to test a short segment with the same preset you'll use for the real encode. How to find a CRF within one preset is in CRF search trials for a target VMAF.
  • With x265, a veryfast test may be usable, but be careful if the video is easy. In this data only blue_sky was off, by 14–17% in size. If your video is an easy scene like flat sky, don't rely on the test result.
  • The closer the test and final presets, the better the prediction. For x264, the VMAF gap for medium→slower was narrower than for ultrafast→medium. If the goal is to save time, the direction of this data is that a preset only one step faster than your final one was the safer candidate than the fastest preset.
  • Don't assume a constant offset; measure a few videos yourself. The most solid observation in this article is that the gap between presets of the same encoder changes a lot across CRF values and videos. Preset speed vs efficiency is in x264 preset speed, measured and x265 preset speed, measured, and per-video CRF differences are in CRF by clip.

The full raw data can be downloaded as a CSV at the bottom of the page. The differences and ratios in the tables can be recomputed from vmaf_mean, kbps and utime_s in the CSV alone.

Raw data: fast-preset-probe-predicts-final-crf-v1.csv