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

Does a Fast Preset Cost More at Low Quality? x264 and x265 veryfast vs slow Across CRF 26–51: File Size and VMAF Gap (Measured)

We encoded x264 and x265 at veryfast and slow in six CRF steps from 26 to 51 to see whether the gap between the two grows at lower quality. At the same CRF, veryfast almost always had a lower VMAF and a smaller file, so it was not a fair comparison. When we interpolated to equal VMAF of 80, 60 and 40, veryfast's extra file size shrank in 6 of 8 combinations and was about the same in 2; it grew in none.

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, we did not see the trend "the penalty of a fast preset grows as quality drops." At equal VMAF (80→60→40), veryfast's extra file size relative to slow shrank in 6 of 8 combinations (4 clips × 2 codecs), was about the same in 2 (x264 blue_sky, x265 riverbed), and grew in none. For example, x265 blue_sky was +49% at VMAF 80 and +16% at 40, and x264 riverbed was +9%, 0% and −9%. However, when comparing at the same CRF, veryfast mostly made a smaller file with a lower VMAF, so "same CRF" itself did not work as a basis for comparison.

Why we ran this

People who need to shrink video quickly for messaging apps or mobile usually pick a fast preset such as veryfast and a high CRF. Our earlier preset articles only looked at the middle of the range, CRF 20–40 (x264 preset test, x265 preset test), and the extreme low-bitrate article used a single preset, medium (extreme low-bitrate test). So the question "does the loss from a fast preset get bigger the lower you push quality?", that is, the interaction between preset and quality range, had no answer yet.

This article uses only two presets, veryfast and slow, for x264 and x265, and raises CRF in six steps from 26 (or 28) to 51, focusing on how the gap between the two presets changes. Absolute efficiency per preset and the payoff relative to time are covered in the articles above, so we do not repeat them here.

Test setup

ItemDetails
FFmpeg9.0.2 (gyan.dev full_build)
PCOne AMD Ryzen 5 PRO 4650G (6 cores, 12 threads), 16GB RAM
Threads per job4. Process priority: IDLE
Input formatyuv420p 8-bit, 1920x1080, 25fps. Input is the original y4m, output is mkv (no audio)
LengthOnly the first 250 frames (10 seconds) of each clip
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), luma PSNR (psnr_y)
Measured on2026-11-15 (4 clips × 4 encoder settings × 6 CRF steps = 96 encodes)

VMAF is a quality metric created by Netflix. It compares the source 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 source. This article mainly uses the mean (vmaf_mean), and file size is calculated from size_bytes in the CSV.

Encoder settings

EncoderPresetSix CRF stepsCommand (key options)
x264veryfast26, 31, 36, 41, 46, 51-c:v libx264 -preset veryfast -crf Q -threads 4
x264slow26, 31, 36, 41, 46, 51-c:v libx264 -preset slow -crf Q -threads 4
x265veryfast28, 33, 38, 43, 48, 51-c:v libx265 -preset veryfast -crf Q -x265-params pools=4:log-level=error
x265slow28, 33, 38, 43, 48, 51-c:v libx265 -preset slow -crf Q -x265-params pools=4:log-level=error

Input and output paths are omitted. Q is replaced with each CRF value above, one at a time. x264 and x265 start at different CRF values, but both end at the maximum of 51.

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

Results by clip

In the curves, the horizontal axis is bitrate and the vertical axis is VMAF. At the same horizontal position, the higher curve had higher quality at the same bitrate; what to look at is how far apart the two preset curves of the same codec are. The tables contain file size, VMAF, PSNR and the speed measurements. Speed was measured at IDLE priority and fluctuates, so treat it as a reference only.

blue_sky — blue sky and tree branches

102030405060708090100100k200k500k1M2MBitrate (bps, log scale)VMAFx264 (H.264) · preset veryfast q=51: 458.5 kbps, VMAF 18.284x264 (H.264) · preset veryfast q=46: 480 kbps, VMAF 19.999x264 (H.264) · preset veryfast q=41: 529.9 kbps, VMAF 33.469x264 (H.264) · preset veryfast q=36: 773.8 kbps, VMAF 58.483x264 (H.264) · preset veryfast q=31: 1,302.4 kbps, VMAF 80.943x264 (H.264) · preset veryfast q=26: 2,493.1 kbps, VMAF 95.966x264 (H.264) · preset slow q=51: 302.3 kbps, VMAF 19.435x264 (H.264) · preset slow q=46: 406.3 kbps, VMAF 40.313x264 (H.264) · preset slow q=41: 583.2 kbps, VMAF 62.757x264 (H.264) · preset slow q=36: 942.1 kbps, VMAF 83.418x264 (H.264) · preset slow q=31: 1,665.4 kbps, VMAF 96.992x264 (H.264) · preset slow q=26: 3,231.8 kbps, VMAF 99.941x265 (HEVC) · preset veryfast q=51: 93.7 kbps, VMAF 20.744x265 (HEVC) · preset veryfast q=48: 133.2 kbps, VMAF 31.465x265 (HEVC) · preset veryfast q=43: 281 kbps, VMAF 52.322x265 (HEVC) · preset veryfast q=38: 558.5 kbps, VMAF 73.271x265 (HEVC) · preset veryfast q=33: 1,071.5 kbps, VMAF 89.402x265 (HEVC) · preset veryfast q=28: 2,135.6 kbps, VMAF 98.636x265 (HEVC) · preset slow q=51: 145.1 kbps, VMAF 32.452x265 (HEVC) · preset slow q=48: 168.9 kbps, VMAF 47.598x265 (HEVC) · preset slow q=43: 352.5 kbps, VMAF 71.788x265 (HEVC) · preset slow q=38: 736.6 kbps, VMAF 90.043x265 (HEVC) · preset slow q=33: 1,442.5 kbps, VMAF 98.938x265 (HEVC) · preset slow q=28: 2,889.7 kbps, VMAF 99.968
x264 (H.264) · preset veryfastx264 (H.264) · preset slowx265 (HEVC) · preset veryfastx265 (HEVC) · preset slow
blue_sky — blue sky and tree branches — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset veryfast262,493.1 kbps95.9790.6236.5664.148.5
x264 (H.264) · preset veryfast311,302.4 kbps80.9474.2733.1266.177.5
x264 (H.264) · preset veryfast36773.8 kbps58.4851.2029.5066.657.0
x264 (H.264) · preset veryfast41529.9 kbps33.4725.7125.9666.956.8
x264 (H.264) · preset veryfast46480 kbps20.0015.5523.7267.066.8
x264 (H.264) · preset veryfast51458.5 kbps18.2813.9922.6067.047.1
x264 (H.264) · preset slow263,231.8 kbps99.9499.9738.3517.8934.1
x264 (H.264) · preset slow311,665.4 kbps96.9992.3135.6224.4625.8
x264 (H.264) · preset slow36942.1 kbps83.4277.0632.5032.4221.5
x264 (H.264) · preset slow41583.2 kbps62.7655.2729.2639.7518.5
x264 (H.264) · preset slow46406.3 kbps40.3133.9226.0544.7117.5
x264 (H.264) · preset slow51302.3 kbps19.4312.7422.8546.7617.2
x265 (HEVC) · preset veryfast282,135.6 kbps98.6494.8637.5938.1726.4
x265 (HEVC) · preset veryfast331,071.5 kbps89.4083.7234.7148.6420.8
x265 (HEVC) · preset veryfast38558.5 kbps73.2766.0131.6257.5217.2
x265 (HEVC) · preset veryfast43281 kbps52.3243.4128.4865.2415.0
x265 (HEVC) · preset veryfast48133.2 kbps31.4624.4025.5373.0813.3
x265 (HEVC) · preset veryfast5193.7 kbps20.7414.4923.9577.4212.1
x265 (HEVC) · preset slow282,889.7 kbps99.97100.0039.527.88124.8
x265 (HEVC) · preset slow331,442.5 kbps98.9494.5137.079.35105.2
x265 (HEVC) · preset slow38736.6 kbps90.0484.1234.1510.6392.1
x265 (HEVC) · preset slow43352.5 kbps71.7963.9130.8812.0281.0
x265 (HEVC) · preset slow48168.9 kbps47.6038.4327.5313.7670.9
x265 (HEVC) · preset slow51145.1 kbps32.4528.9125.6814.567.4
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

102030405060708090100200k500k1M2MBitrate (bps, log scale)VMAFx264 (H.264) · preset veryfast q=51: 224.1 kbps, VMAF 16.213x264 (H.264) · preset veryfast q=46: 332.3 kbps, VMAF 18.115x264 (H.264) · preset veryfast q=41: 502.7 kbps, VMAF 30.107x264 (H.264) · preset veryfast q=36: 832.5 kbps, VMAF 52.525x264 (H.264) · preset veryfast q=31: 1,437.6 kbps, VMAF 72.982x264 (H.264) · preset veryfast q=26: 2,608.7 kbps, VMAF 87.198x264 (H.264) · preset slow q=51: 227.7 kbps, VMAF 11.129x264 (H.264) · preset slow q=46: 367.9 kbps, VMAF 23.892x264 (H.264) · preset slow q=41: 579.7 kbps, VMAF 42.935x264 (H.264) · preset slow q=36: 962.1 kbps, VMAF 63.577x264 (H.264) · preset slow q=31: 1,656.2 kbps, VMAF 81.182x264 (H.264) · preset slow q=26: 3,014.5 kbps, VMAF 92.618x265 (HEVC) · preset veryfast q=51: 159.4 kbps, VMAF 13.246x265 (HEVC) · preset veryfast q=48: 187.3 kbps, VMAF 20.483x265 (HEVC) · preset veryfast q=43: 303.7 kbps, VMAF 39.669x265 (HEVC) · preset veryfast q=38: 572.1 kbps, VMAF 60.122x265 (HEVC) · preset veryfast q=33: 1,029.3 kbps, VMAF 77.273x265 (HEVC) · preset veryfast q=28: 1,863.3 kbps, VMAF 89.172x265 (HEVC) · preset slow q=48: 207.4 kbps, VMAF 24.923x265 (HEVC) · preset slow q=51: 220.6 kbps, VMAF 18.477x265 (HEVC) · preset slow q=43: 319.1 kbps, VMAF 46.756x265 (HEVC) · preset slow q=38: 604.3 kbps, VMAF 68.185x265 (HEVC) · preset slow q=33: 1,091.6 kbps, VMAF 84.079x265 (HEVC) · preset slow q=28: 1,965.1 kbps, VMAF 94.007
x264 (H.264) · preset veryfastx264 (H.264) · preset slowx265 (HEVC) · preset veryfastx265 (HEVC) · preset slow
pedestrian_area — pedestrian street — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset veryfast262,608.7 kbps87.2083.0638.8656.0810.7
x264 (H.264) · preset veryfast311,437.6 kbps72.9867.5636.4057.959.3
x264 (H.264) · preset veryfast36832.5 kbps52.5245.0433.4958.328.7
x264 (H.264) · preset veryfast41502.7 kbps30.1122.8430.0058.647.6
x264 (H.264) · preset veryfast46332.3 kbps18.1113.5826.4458.897.6
x264 (H.264) · preset veryfast51224.1 kbps16.2111.5923.8958.787.5
x264 (H.264) · preset slow263,014.5 kbps92.6289.5739.4515.8844.2
x264 (H.264) · preset slow311,656.2 kbps81.1878.1537.1722.6433.9
x264 (H.264) · preset slow36962.1 kbps63.5860.6734.6730.1427.1
x264 (H.264) · preset slow41579.7 kbps42.9439.9731.9539.0122.4
x264 (H.264) · preset slow46367.9 kbps23.8920.4529.0843.9719.4
x264 (H.264) · preset slow51227.7 kbps11.137.3326.4345.2217.0
x265 (HEVC) · preset veryfast281,863.3 kbps89.1786.8139.1126.437.6
x265 (HEVC) · preset veryfast331,029.3 kbps77.2774.8236.9230.9631.9
x265 (HEVC) · preset veryfast38572.1 kbps60.1257.3634.4936.4927.2
x265 (HEVC) · preset veryfast43303.7 kbps39.6735.6731.8544.4122.2
x265 (HEVC) · preset veryfast48187.3 kbps20.4816.2529.2654.6418.0
x265 (HEVC) · preset veryfast51159.4 kbps13.259.2127.836016.2
x265 (HEVC) · preset slow281,965.1 kbps94.0191.2939.735.13191.4
x265 (HEVC) · preset slow331,091.6 kbps84.0881.4437.606.04162.7
x265 (HEVC) · preset slow38604.3 kbps68.1964.9335.187.06139.0
x265 (HEVC) · preset slow43319.1 kbps46.7642.6932.538.74112.7
x265 (HEVC) · preset slow48207.4 kbps24.9220.9330.0410.593.6
x265 (HEVC) · preset slow51220.6 kbps18.4814.1429.2311.4885.4
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

102030405060708090100500k1M2M5M10MBitrate (bps, log scale)VMAFx264 (H.264) · preset veryfast q=51: 597.3 kbps, VMAF 27.393x264 (H.264) · preset veryfast q=46: 709.1 kbps, VMAF 27.669x264 (H.264) · preset veryfast q=41: 1,515.7 kbps, VMAF 29.484x264 (H.264) · preset veryfast q=36: 3,833.4 kbps, VMAF 48.805x264 (H.264) · preset veryfast q=31: 7,374.1 kbps, VMAF 72.468x264 (H.264) · preset veryfast q=26: 13,533.5 kbps, VMAF 90.634x264 (H.264) · preset slow q=51: 431.1 kbps, VMAF 19.03x264 (H.264) · preset slow q=46: 821.2 kbps, VMAF 22.098x264 (H.264) · preset slow q=41: 1,877.1 kbps, VMAF 29.457x264 (H.264) · preset slow q=36: 4,214.4 kbps, VMAF 51.352x264 (H.264) · preset slow q=31: 8,273.5 kbps, VMAF 78.352x264 (H.264) · preset slow q=26: 15,128.9 kbps, VMAF 97.414x265 (HEVC) · preset veryfast q=51: 435.4 kbps, VMAF 20.811x265 (HEVC) · preset veryfast q=48: 578.9 kbps, VMAF 22.376x265 (HEVC) · preset veryfast q=43: 1,049.7 kbps, VMAF 26.943x265 (HEVC) · preset veryfast q=38: 2,413.3 kbps, VMAF 43.111x265 (HEVC) · preset veryfast q=33: 4,891.5 kbps, VMAF 63.937x265 (HEVC) · preset veryfast q=28: 9,051.3 kbps, VMAF 83.434x265 (HEVC) · preset slow q=48: 734.9 kbps, VMAF 26.843x265 (HEVC) · preset slow q=51: 775.2 kbps, VMAF 26.805x265 (HEVC) · preset slow q=43: 1,172.1 kbps, VMAF 34.012x265 (HEVC) · preset slow q=38: 2,740.5 kbps, VMAF 55.777x265 (HEVC) · preset slow q=33: 5,513.7 kbps, VMAF 78.233x265 (HEVC) · preset slow q=28: 10,163.3 kbps, VMAF 95.575
x264 (H.264) · preset veryfastx264 (H.264) · preset slowx265 (HEVC) · preset veryfastx265 (HEVC) · preset slow
riverbed — riverbed (fine ripples) — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset veryfast2613,533.5 kbps90.6388.7836.3324.8422.7
x264 (H.264) · preset veryfast317,374.1 kbps72.4769.4933.6725.1920.5
x264 (H.264) · preset veryfast363,833.4 kbps48.8044.7930.6826.217.3
x264 (H.264) · preset veryfast411,515.7 kbps29.4826.0926.6827.313.8
x264 (H.264) · preset veryfast46709.1 kbps27.6724.4323.8427.7312.3
x264 (H.264) · preset veryfast51597.3 kbps27.3923.6023.2627.8612.1
x264 (H.264) · preset slow2615,128.9 kbps97.4195.3136.506.3159.8
x264 (H.264) · preset slow318,273.5 kbps78.3575.0633.588.29121.8
x264 (H.264) · preset slow364,214.4 kbps51.3547.7830.4611.9884.9
x264 (H.264) · preset slow411,877.1 kbps29.4626.5627.1417.9252.8
x264 (H.264) · preset slow46821.2 kbps22.1019.2424.7520.5332.6
x264 (H.264) · preset slow51431.1 kbps19.0316.4823.5521.8426.7
x265 (HEVC) · preset veryfast289,051.3 kbps83.4379.1235.329.03109.4
x265 (HEVC) · preset veryfast334,891.5 kbps63.9458.9232.6510.7192.5
x265 (HEVC) · preset veryfast382,413.3 kbps43.1138.4330.0213.1674.9
x265 (HEVC) · preset veryfast431,049.7 kbps26.9422.9727.5218.753.1
x265 (HEVC) · preset veryfast48578.9 kbps22.3819.7625.8430.6332.0
x265 (HEVC) · preset veryfast51435.4 kbps20.8116.5224.3144.0922.4
x265 (HEVC) · preset slow2810,163.3 kbps95.5891.7436.491.63601.4
x265 (HEVC) · preset slow335,513.7 kbps78.2372.5333.712489.6
x265 (HEVC) · preset slow382,740.5 kbps55.7849.4830.882.56383.1
x265 (HEVC) · preset slow431,172.1 kbps34.0128.4128.163.78260.0
x265 (HEVC) · preset slow48734.9 kbps26.8423.7226.775.86166.7
x265 (HEVC) · preset slow51775.2 kbps26.8023.6526.777.68127.5
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

102030405060708090100100k200k500k1M2MBitrate (bps, log scale)VMAFx264 (H.264) · preset veryfast q=51: 118.1 kbps, VMAF 19.439x264 (H.264) · preset veryfast q=46: 164.8 kbps, VMAF 21.459x264 (H.264) · preset veryfast q=41: 268.3 kbps, VMAF 31.035x264 (H.264) · preset veryfast q=36: 508.9 kbps, VMAF 48.63x264 (H.264) · preset veryfast q=31: 1,027.2 kbps, VMAF 67.238x264 (H.264) · preset veryfast q=26: 2,139.9 kbps, VMAF 81.719x264 (H.264) · preset slow q=51: 130.9 kbps, VMAF 15.743x264 (H.264) · preset slow q=46: 227 kbps, VMAF 25.519x264 (H.264) · preset slow q=41: 412.7 kbps, VMAF 41.777x264 (H.264) · preset slow q=36: 753.5 kbps, VMAF 60.083x264 (H.264) · preset slow q=31: 1,364 kbps, VMAF 76.1x264 (H.264) · preset slow q=26: 2,649.3 kbps, VMAF 87.808x265 (HEVC) · preset veryfast q=51: 81.1 kbps, VMAF 17.001x265 (HEVC) · preset veryfast q=48: 99.5 kbps, VMAF 22.425x265 (HEVC) · preset veryfast q=43: 178.6 kbps, VMAF 39.329x265 (HEVC) · preset veryfast q=38: 373.6 kbps, VMAF 57.959x265 (HEVC) · preset veryfast q=33: 786.8 kbps, VMAF 73.515x265 (HEVC) · preset veryfast q=28: 1,609.7 kbps, VMAF 84.932x265 (HEVC) · preset slow q=48: 121.1 kbps, VMAF 28.423x265 (HEVC) · preset slow q=51: 131.2 kbps, VMAF 25.455x265 (HEVC) · preset slow q=43: 198 kbps, VMAF 45.21x265 (HEVC) · preset slow q=38: 424.3 kbps, VMAF 63.532x265 (HEVC) · preset slow q=33: 890.7 kbps, VMAF 78.306x265 (HEVC) · preset slow q=28: 1,827 kbps, VMAF 88.668
x264 (H.264) · preset veryfastx264 (H.264) · preset slowx265 (HEVC) · preset veryfastx265 (HEVC) · preset slow
rush_hour — evening rush-hour traffic — bitrate vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset veryfast262,139.9 kbps81.7278.4939.6452.9911.1
x264 (H.264) · preset veryfast311,027.2 kbps67.2462.4537.2154.998.9
x264 (H.264) · preset veryfast36508.9 kbps48.6342.6234.1655.227.9
x264 (H.264) · preset veryfast41268.3 kbps31.0425.9930.5755.157.7
x264 (H.264) · preset veryfast46164.8 kbps21.4617.7827.1055.387.7
x264 (H.264) · preset veryfast51118.1 kbps19.4416.2224.9155.027.3
x264 (H.264) · preset slow262,649.3 kbps87.8185.3940.2716.3545.1
x264 (H.264) · preset slow311,364 kbps76.1072.9238.3224.0233.3
x264 (H.264) · preset slow36753.5 kbps60.0856.2535.9533.9424.9
x264 (H.264) · preset slow41412.7 kbps41.7837.5533.2042.3719.7
x264 (H.264) · preset slow46227 kbps25.5221.3830.1645.0215.8
x264 (H.264) · preset slow51130.9 kbps15.7411.5627.6546.7513.7
x265 (HEVC) · preset veryfast281,609.7 kbps84.9382.5740.0422.9642.8
x265 (HEVC) · preset veryfast33786.8 kbps73.5270.3038.1331.0531.8
x265 (HEVC) · preset veryfast38373.6 kbps57.9654.1935.7343.1422.8
x265 (HEVC) · preset veryfast43178.6 kbps39.3335.1032.9755.4417.5
x265 (HEVC) · preset veryfast4899.5 kbps22.4318.7730.2065.6714.8
x265 (HEVC) · preset veryfast5181.1 kbps17.0012.0128.9767.6613.8
x265 (HEVC) · preset slow281,827 kbps88.6786.2140.474.94198.6
x265 (HEVC) · preset slow33890.7 kbps78.3175.0938.656.55149.8
x265 (HEVC) · preset slow38424.3 kbps63.5360.2936.378.69112.5
x265 (HEVC) · preset slow43198 kbps45.2141.5733.7111.3386.4
x265 (HEVC) · preset slow48121.1 kbps28.4225.1231.1513.0874.8
x265 (HEVC) · preset slow51131.2 kbps25.4522.0730.6613.5572.1
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

1. At the same CRF: smaller file, lower VMAF

Start with the simplest comparison: at the same CRF, how many percent larger is the veryfast file than the slow one, and how many points apart is VMAF? Each cell is file size difference (%) / VMAF difference (points), and a negative value means veryfast is smaller or lower. File size is computed from size_bytes and VMAF from vmaf_mean, rounded to one decimal place.

x264CRF 26CRF 31CRF 36CRF 41CRF 46CRF 51
blue_sky−22.9% / −4.0−21.8% / −16.0−17.9% / −24.9−9.1% / −29.3+18.2% / −20.3+51.7% / −1.2
pedestrian_area−13.5% / −5.4−13.2% / −8.2−13.5% / −11.1−13.3% / −12.8−9.7% / −5.8−1.6% / +5.1
riverbed−10.5% / −6.8−10.9% / −5.9−9.0% / −2.5−19.3% / +0.0−13.7% / +5.6+38.6% / +8.4
rush_hour−19.2% / −6.1−24.7% / −8.9−32.5% / −11.5−35.0% / −10.7−27.4% / −4.1−9.7% / +3.7

x264 veryfast relative to slow, at the same CRF. Each cell: file size difference / mean VMAF difference. At CRF 26 on blue_sky, slow scored VMAF 99.9, close to the ceiling, so −4.0 may be smaller than the real gap.

x265CRF 28CRF 33CRF 38CRF 43CRF 48CRF 51
blue_sky−26.1% / −1.3−25.7% / −9.5−24.2% / −16.8−20.3% / −19.5−21.1% / −16.1−35.4% / −11.7
pedestrian_area−5.2% / −4.8−5.7% / −6.8−5.3% / −8.1−4.8% / −7.1−9.7% / −4.4−27.7% / −5.2
riverbed−10.9% / −12.1−11.3% / −14.3−11.9% / −12.7−10.4% / −7.1−21.2% / −4.5−43.8% / −6.0
rush_hour−11.9% / −3.7−11.7% / −4.8−11.9% / −5.6−9.8% / −5.9−17.8% / −6.0−38.1% / −8.5

x265 veryfast relative to slow, at the same CRF. At CRF 28 on blue_sky, slow had a mean VMAF of 99.97, close to the ceiling, so −1.3 may be smaller than the real gap.

  • At the same CRF, veryfast's mean VMAF was lower than slow's in 43 of 48 cells. The 5 cells where it was equal or higher were all at the high-CRF end of x264 (pedestrian_area CRF 51; riverbed CRF 41, 46 and 51; rush_hour CRF 51), and all 24 x265 cells were lower.
  • At the same CRF, veryfast produced a smaller file in many cells. x264 blue_sky was 9–23% smaller at CRF 26–41, then flipped to +18.2% at CRF 46 and +51.7% at CRF 51. This flip is not so much "the cost of veryfast getting bigger" as a result of slow's file size dropping more steeply as CRF rises (blue_sky slow: 4,039,767 B at CRF 26 → 377,898 B at CRF 51).
  • So the file size difference at the same CRF alone cannot tell you the cost of a preset. If veryfast makes a smaller file but VMAF is lower by a similar amount, that is not a comparison at equal quality. This data cannot tell us why the same CRF gives a different quality for each preset. Below, we match quality and compare again.
  • x265 slow at CRF 51 had a larger file and a lower VMAF than at CRF 48 (3 clips, excluding blue_sky). pedestrian_area 259,303 B (VMAF 24.9) → 275,713 B (18.5), riverbed 918,564 B (26.8) → 968,938 B (26.8), rush_hour 151,368 B (28.4) → 164,004 B (25.5). So the x265 CRF 51 cells (−27.7%, −43.8%, −38.1%) are safer to read as large numbers caused by odd slow values than as an advantage of veryfast.

2. At matched VMAF: the gap actually shrank

To compare at matched quality, we interpolated between each preset's (VMAF, file size) measurement points. We connected the log of bitrate (kbps) against VMAF with straight lines to get the bitrate at VMAF 80, 60 and 40, and wrote down "how many percent larger veryfast is than slow." This is a rough estimate from straight lines between 6 measurement points, so differences of 1–2 percentage points are not meaningful, and the calculated values are rounded to whole numbers.

Clipx264 80x264 60x264 40x265 80x265 60x265 40
blue_sky+46%+44%+45%+49%+47%+16%
pedestrian_area+21%+15%+16%+26%+20%+10%
riverbed+9%0%−9%+38%+37%+39%
rush_hour+15%+4%−4%+18%+12%+8%

File size difference of veryfast relative to slow at the same mean VMAF (80/60/40). Positive means veryfast is larger. Log-interpolated values.

  • Of the 8 combinations (clip × codec), the gap shrank from VMAF 80 to 40 in 6, stayed about the same in 2 (x264 blue_sky 46→44→45%, x265 riverbed 38→37→39%), and grew in 0. This data did not support the hypothesis that "the lower the quality, the bigger the penalty of a fast preset."
  • For x264 riverbed and rush_hour, the sign flipped near VMAF 40. riverbed went +9→0→−9% and rush_hour +15→+4→−4%. By this calculation, veryfast reached the same VMAF with a smaller file in that range, but VMAF 40 is already a region where quality has largely collapsed, so whether the value is usable in practice is a separate question.
  • The size of the gap depended more on the type of video. For x264 at VMAF 80, blue_sky was +46% and riverbed +9%, a 37 percentage point spread between clips. For x265 at VMAF 60, blue_sky was +47% and rush_hour +12%. That is a similar magnitude to the change within a single clip from VMAF 80 to 40 (at most 49→16% for x265 blue_sky, 33 percentage points).
  • For x265, veryfast was larger on every clip and at every level (+8 to +49%), while for x264 the sign varied by level and clip (−9 to +46%).
  • Be careful when interpreting blue_sky. Slow scored VMAF 99.9 or higher at CRF 26 (x264) and 28 (x265), so the highest measurement point is close to saturation. The 80, 60 and 40 values in the table above are not in the saturated range and can be used, but for this clip we recommend excluding the first column of the same-CRF gap (table 1) from interpretation.

3. Time as a supporting metric: only x264's gap narrows

Encoding time is a supporting metric. Because IDLE priority makes elapsed time (rtime) fluctuate, we compared CPU time (utime). The value is "slow's utime ÷ veryfast's utime" at the same CRF. Thread utilization differs by preset, so the rtime ratio comes out differently (multi-core utilization test).

Clipx264 low CRF (26)x264 high CRF (51)x265 low CRF (28)x265 high CRF (51)
blue_sky4.02x2.43x4.73x5.57x
pedestrian_area4.13x2.28x5.10x5.29x
riverbed7.03x2.21x5.50x5.70x
rush_hour4.05x1.87x4.64x5.22x

Slow's CPU time (utime_s) ÷ veryfast's CPU time at the same CRF. Each value was measured once.

  • For x264, the higher the CRF, the smaller the time gap between slow and veryfast. On all four clips it fell from 4.0–7.0x at low CRF to 1.9–2.4x at high CRF.
  • For x265, the gap stayed almost the same (4.6–5.7x). Even at high CRF, slow used around 5 times what veryfast did.
  • Whether there is a time-based reason to use a fast preset at low quality depends on the codec. For x264, the data shows slow's time burden getting smaller at high CRF, but each value was measured once, so treat it as a reference only.

Limitations

  • There are only four 10-second clips. Landscape, city and ripple-type content differ in character, but animation, screen recordings, dark video and noisy video are missing. In some places the conclusion differed by clip (the sign change on x264 riverbed and rush_hour), so other videos may behave differently.
  • The file sizes at VMAF 80, 60 and 40 are values interpolated with log-linear lines between 6 measurement points. With sparse points they may differ from the real curve, and the error can be large especially where the points are far apart (for example, VMAF 50→29 for x264 riverbed).
  • This data cannot say how VMAF 40 and below looks to a human viewer. Even at the same low score, the way the picture falls apart may differ by preset. Don't judge by numbers alone; check with your own eyes.
  • There are only two presets, veryfast and slow. We did not measure the trend for intermediate presets such as fast, medium and slower. Also, CRF for x264 and x265 are on different scales, so CRF numbers should not be compared directly between the two codecs.
  • 8-bit yuv420p, one PC, one measurement. We did not repeat runs to estimate error, and elapsed time fluctuates because of IDLE priority. Speed is for reference only.
  • x265 slow at CRF 51 produced a larger file than at CRF 48 on 3 clips. The reason cannot be determined from this data, and it may affect the same-CRF comparison (table 1) and the interpolated ranges that include that point.

Practical recommendations

  • We found no basis in this data for thinking "a fast preset hurts more at low quality." In the matched-VMAF comparison, the file size difference from slow shrank or stayed similar as quality dropped. On x264 riverbed and rush_hour, veryfast reached the same quality with a smaller file near VMAF 40. For x265, however, veryfast was 8–49% larger on every clip and at every level.
  • When comparing presets, match VMAF or file size, not CRF. At the same CRF, veryfast looks smaller but is also lower in quality, which creates an illusion (for example, x264 rush_hour at CRF 41 is −35.0% in file size but also 10.7 points lower in VMAF).
  • What kind of video you have may matter more than the preset. At the same VMAF 80, x264 blue_sky was +46% and riverbed +9%. Pick a starting point with the CRF recommender, then compare the two presets yourself on a short segment.
  • If you need real-time or low-end encoding, read this together with the [real-time encoding settings test](/en/lab/realtime-fast-presets-fps-v1). This article treats elapsed time only as a supporting metric. To check whether your playback device supports a codec, start with the codec support checker.

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

Raw data: preset-penalty-by-quality-range-v1.csv