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

Is a Slow Preset Worth It for Archival-Quality Video? x264 and x265 ultrafast vs medium vs slower at VMAF 97–99: File Size and Encode Time Tested

We compared x264 (ultrafast, medium, slower) and x265 (ultrafast, medium, slow) at equal VMAF in the high-quality range of VMAF 97–99. The comparison rests mainly on the pedestrian_area and rush_hour clips; blue_sky saturated above VMAF 99 and could not be compared, and riverbed could be compared only as an upper or lower bound for some presets. At VMAF 98, ultrafast files were +8 to +107% larger than medium, while slower/slow files were 10–45% smaller than medium. In return, medium took 2.9–16.2x the CPU time of ultrafast, and slower/slow took 2.0–4.3x the CPU time of medium.

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

Even at high quality (VMAF 97–99), the preset still changed file size, and by very different amounts depending on the footage. In the combinations we could compare, at VMAF 98 ultrafast files were +8 to +107% larger than medium, and slower (x264) / slow (x265) files were 10–45% smaller than medium. CPU time (utime) at the same CRF was 2.9–16.2x higher for medium than for ultrafast, and 2.0–4.3x higher for slower/slow than for medium. On the easy clip (blue_sky), all 24 measurement points saturated at VMAF 99.35 or higher, so an equal-VMAF comparison was impossible, and riverbed was saturated for some presets too. So this data supports neither "it's an archive, so always use slow" nor "the quality is the same anyway, so any preset will do."

Why we wanted to know

When you compress a source for long-term storage or use the result as an intermediate editing file, you encode at a low CRF (high quality). Two ideas then collide: "the quality is nearly identical to the source anyway, so a fast preset should be fine," and "this file will sit around for years, so let's compress it properly once with a slow preset." The earlier preset penalty by quality range test only looked at the low-quality end, CRF 26–51. The high-quality CRF diminishing returns test and the lossless CRF 0 archive cost test centered on CRF rather than the preset. How much does file size change at the same quality when you change the preset at VMAF 97–99, and how many times longer does it take? That question was still open.

Fast presets produce different VMAF at the same CRF (fast-preset probe test), so we compared file size at matched VMAF, not at matched CRF.

How we measured

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: IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps. Input was the original y4m; output was mkv (no audio)
LengthOnly the first 250 frames (10 seconds) of each clip
Quality metricslibvmaf default model (vmaf_v0.6.1), measured frame by frame against the original. Mean (vmaf_mean), 5th percentile (vmaf_p5), minimum (vmaf_min), luma PSNR (psnr_y)
Time metricCPU time (utime_s). Because the jobs ran at IDLE priority, elapsed time (rtime) fluctuated with other work, so we did not use it
Measured on2026-11-20 (4 clips × 6 encoder settings × 4 CRF steps = 96 encodes)

VMAF is a quality metric developed by Netflix. It compares the encoded result with the original frame by frame and scores it from 0 to 100; the closer to 100, the harder it is to tell the result from the original. This article compares on the mean (vmaf_mean) and uses the 5th percentile (vmaf_p5) as a supporting metric that shows how bad the worst frames are.

Encoder settings

EncoderPreset4 CRF stepsCommand (key options)
x264ultrafast12, 16, 20, 24-c:v libx264 -preset ultrafast -crf Q -threads 4
x264medium12, 16, 20, 24-c:v libx264 -preset medium -crf Q -threads 4
x264slower12, 16, 20, 24-c:v libx264 -preset slower -crf Q -threads 4
x265ultrafast14, 18, 22, 26-c:v libx265 -preset ultrafast -crf Q -x265-params pools=4:log-level=error
x265medium14, 18, 22, 26-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
x265slow14, 18, 22, 26-c:v libx265 -preset slow -crf Q -x265-params pools=4:log-level=error

Input and output paths are omitted. We substituted each CRF value above for Q, one at a time. We picked slower for x264 and slow for x265 as the "slow side" (the two codecs' slow presets have different names). x264 and x265 CRF values are on different scales, so do not compare the numbers directly.

Test clip sources and licenses

All four clips are 1080p25 video 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 says "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).

Results by clip

In each curve, the x-axis is bitrate and the y-axis is VMAF. This test packed the CRF values toward the low (high-quality) end, so most points sit at the top end of the curve. The table lists file size, VMAF, PSNR and the speed measurements. Speed fluctuates because the jobs ran at IDLE priority, so treat it as a rough reference.

blue_sky — blue sky and tree branches

901005M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=24: 14,751.9 kbps, VMAF 99.972x264 (H.264) · preset ultrafast q=20: 25,943.2 kbps, VMAF 99.978x264 (H.264) · preset ultrafast q=16: 45,700.8 kbps, VMAF 99.984x264 (H.264) · preset ultrafast q=12: 78,899.1 kbps, VMAF 99.984x264 (H.264) · preset medium q=24: 4,535.6 kbps, VMAF 99.971x264 (H.264) · preset medium q=20: 9,140.9 kbps, VMAF 99.979x264 (H.264) · preset medium q=16: 22,014.7 kbps, VMAF 99.983x264 (H.264) · preset medium q=12: 48,952.6 kbps, VMAF 99.986x264 (H.264) · preset slower q=24: 4,553.3 kbps, VMAF 99.973x264 (H.264) · preset slower q=20: 9,380.3 kbps, VMAF 99.98x264 (H.264) · preset slower q=16: 23,183 kbps, VMAF 99.984x264 (H.264) · preset slower q=12: 50,486.6 kbps, VMAF 99.986x265 (HEVC) · preset ultrafast q=26: 2,409 kbps, VMAF 99.351x265 (HEVC) · preset ultrafast q=22: 4,557.4 kbps, VMAF 99.971x265 (HEVC) · preset ultrafast q=18: 9,204.8 kbps, VMAF 99.978x265 (HEVC) · preset ultrafast q=14: 19,033.5 kbps, VMAF 99.982x265 (HEVC) · preset medium q=26: 3,362 kbps, VMAF 99.903x265 (HEVC) · preset medium q=22: 6,348.2 kbps, VMAF 99.977x265 (HEVC) · preset medium q=18: 12,610.6 kbps, VMAF 99.982x265 (HEVC) · preset medium q=14: 26,497.8 kbps, VMAF 99.985x265 (HEVC) · preset slow q=26: 3,949.9 kbps, VMAF 99.973x265 (HEVC) · preset slow q=22: 7,641.8 kbps, VMAF 99.98x265 (HEVC) · preset slow q=18: 15,421.5 kbps, VMAF 99.984x265 (HEVC) · preset slow q=14: 32,175.2 kbps, VMAF 99.986
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset ultrafastx265 (HEVC) · preset mediumx265 (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 ultrafast1278,899.1 kbps99.98100.0047.07186.015.7
x264 (H.264) · preset ultrafast1645,700.8 kbps99.98100.0044.03204.584.9
x264 (H.264) · preset ultrafast2025,943.2 kbps99.98100.0041.25231.274.5
x264 (H.264) · preset ultrafast2414,751.9 kbps99.97100.0038.37246.794.0
x264 (H.264) · preset medium1248,952.6 kbps99.99100.0045.6011.9765.6
x264 (H.264) · preset medium1622,014.7 kbps99.98100.0042.9514.7448.8
x264 (H.264) · preset medium209,140.9 kbps99.98100.0041.1019.3135.0
x264 (H.264) · preset medium244,535.6 kbps99.97100.0039.3125.3926.3
x264 (H.264) · preset slower1250,486.6 kbps99.99100.0045.843.65227.8
x264 (H.264) · preset slower1623,183 kbps99.98100.0043.094.72167.1
x264 (H.264) · preset slower209,380.3 kbps99.98100.0041.166.84108.3
x264 (H.264) · preset slower244,553.3 kbps99.97100.0039.369.7477.8
x265 (HEVC) · preset ultrafast1419,033.5 kbps99.98100.0043.1925.337.4
x265 (HEVC) · preset ultrafast189,204.8 kbps99.98100.0041.1934.0327.4
x265 (HEVC) · preset ultrafast224,557.4 kbps99.97100.0039.1646.3219.9
x265 (HEVC) · preset ultrafast262,409 kbps99.3596.8037.0858.1816.2
x265 (HEVC) · preset medium1426,497.8 kbps99.98100.0044.555.78166.0
x265 (HEVC) · preset medium1812,610.6 kbps99.98100.0042.6910.1395.1
x265 (HEVC) · preset medium226,348.2 kbps99.98100.0041.1415.4562.8
x265 (HEVC) · preset medium263,362 kbps99.9099.3639.4120.3447.0
x265 (HEVC) · preset slow1432,175.2 kbps99.99100.0045.462.83338.2
x265 (HEVC) · preset slow1815,421.5 kbps99.98100.0043.394.41219.5
x265 (HEVC) · preset slow227,641.8 kbps99.98100.0041.896.19156.9
x265 (HEVC) · preset slow263,949.9 kbps99.97100.0040.387.77123.3
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

80901002M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=24: 8,424.7 kbps, VMAF 95.639x264 (H.264) · preset ultrafast q=20: 18,897.5 kbps, VMAF 99.409x264 (H.264) · preset ultrafast q=16: 44,828 kbps, VMAF 99.961x264 (H.264) · preset ultrafast q=12: 83,440.7 kbps, VMAF 99.985x264 (H.264) · preset medium q=24: 4,063.8 kbps, VMAF 95.405x264 (H.264) · preset medium q=20: 7,819.9 kbps, VMAF 98.753x264 (H.264) · preset medium q=16: 22,371.3 kbps, VMAF 99.703x264 (H.264) · preset medium q=12: 55,176.7 kbps, VMAF 99.974x264 (H.264) · preset slower q=24: 3,876.4 kbps, VMAF 96.057x264 (H.264) · preset slower q=20: 7,751 kbps, VMAF 99.069x264 (H.264) · preset slower q=16: 23,482.5 kbps, VMAF 99.802x264 (H.264) · preset slower q=12: 55,988.9 kbps, VMAF 99.982x265 (HEVC) · preset ultrafast q=26: 1,793.5 kbps, VMAF 87.269x265 (HEVC) · preset ultrafast q=22: 3,017 kbps, VMAF 94.036x265 (HEVC) · preset ultrafast q=18: 5,701.5 kbps, VMAF 98.053x265 (HEVC) · preset ultrafast q=14: 14,402.2 kbps, VMAF 99.57x265 (HEVC) · preset medium q=26: 2,415.2 kbps, VMAF 93.891x265 (HEVC) · preset medium q=22: 4,357.1 kbps, VMAF 97.842x265 (HEVC) · preset medium q=18: 9,995.1 kbps, VMAF 99.332x265 (HEVC) · preset medium q=14: 26,664.6 kbps, VMAF 99.868x265 (HEVC) · preset slow q=26: 2,533.9 kbps, VMAF 96.481x265 (HEVC) · preset slow q=22: 4,608.4 kbps, VMAF 98.98x265 (HEVC) · preset slow q=18: 11,196 kbps, VMAF 99.652x265 (HEVC) · preset slow q=14: 32,853.6 kbps, VMAF 99.96
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset ultrafastx265 (HEVC) · preset mediumx265 (HEVC) · preset slow
pedestrian_area — pedestrian street — bitrate vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset ultrafast1283,440.7 kbps99.98100.0046.87168.586.3
x264 (H.264) · preset ultrafast1644,828 kbps99.9699.7243.72192.755.4
x264 (H.264) · preset ultrafast2018,897.5 kbps99.4197.6541.21223.414.7
x264 (H.264) · preset ultrafast248,424.7 kbps95.6493.6639.17227.274.2
x264 (H.264) · preset medium1255,176.7 kbps99.97100.0046.0510.3482.7
x264 (H.264) · preset medium1622,371.3 kbps99.7098.0243.1512.6262.7
x264 (H.264) · preset medium207,819.9 kbps98.7595.9741.6516.1644.9
x264 (H.264) · preset medium244,063.8 kbps95.4192.4040.3422.4134.8
x264 (H.264) · preset slower1255,988.9 kbps99.98100.0046.252.83317.4
x264 (H.264) · preset slower1623,482.5 kbps99.8098.4843.223.83216.8
x264 (H.264) · preset slower207,751 kbps99.0796.6041.615.41143.8
x264 (H.264) · preset slower243,876.4 kbps96.0692.8340.297.56110.4
x265 (HEVC) · preset ultrafast1414,402.2 kbps99.5797.7042.6126.735.4
x265 (HEVC) · preset ultrafast185,701.5 kbps98.0595.1941.1937.8825.1
x265 (HEVC) · preset ultrafast223,017 kbps94.0491.1439.8945.1321.2
x265 (HEVC) · preset ultrafast261,793.5 kbps87.2784.4538.4050.0818.9
x265 (HEVC) · preset medium1426,664.6 kbps99.8799.0844.384.61209.9
x265 (HEVC) · preset medium189,995.1 kbps99.3397.2642.657.9121.5
x265 (HEVC) · preset medium224,357.1 kbps97.8495.0641.4811.1884.7
x265 (HEVC) · preset medium262,415.2 kbps93.8991.0840.1513.5570.4
x265 (HEVC) · preset slow1432,853.6 kbps99.9699.7745.162.01474.9
x265 (HEVC) · preset slow1811,196 kbps99.6597.8642.953.25291.4
x265 (HEVC) · preset slow224,608.4 kbps98.9896.4941.794.34221.3
x265 (HEVC) · preset slow262,533.9 kbps96.4893.6640.485.12185.4
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (small ripples)

809010010M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=24: 24,844.1 kbps, VMAF 92.364x264 (H.264) · preset ultrafast q=20: 39,644.8 kbps, VMAF 99.948x264 (H.264) · preset ultrafast q=16: 64,503.1 kbps, VMAF 99.982x264 (H.264) · preset ultrafast q=12: 98,011.4 kbps, VMAF 99.984x264 (H.264) · preset medium q=24: 18,482 kbps, VMAF 99.738x264 (H.264) · preset medium q=20: 29,769.2 kbps, VMAF 99.957x264 (H.264) · preset medium q=16: 50,163.5 kbps, VMAF 99.972x264 (H.264) · preset medium q=12: 84,390.6 kbps, VMAF 99.98x264 (H.264) · preset slower q=24: 18,338 kbps, VMAF 99.928x264 (H.264) · preset slower q=20: 29,584.4 kbps, VMAF 99.961x264 (H.264) · preset slower q=16: 49,598.2 kbps, VMAF 99.975x264 (H.264) · preset slower q=12: 82,805.5 kbps, VMAF 99.982x265 (HEVC) · preset ultrafast q=26: 9,652.8 kbps, VMAF 84.711x265 (HEVC) · preset ultrafast q=22: 15,401 kbps, VMAF 95.777x265 (HEVC) · preset ultrafast q=18: 24,579.7 kbps, VMAF 99.963x265 (HEVC) · preset ultrafast q=14: 42,396.8 kbps, VMAF 99.975x265 (HEVC) · preset medium q=26: 12,067 kbps, VMAF 92.254x265 (HEVC) · preset medium q=22: 19,060.6 kbps, VMAF 99.592x265 (HEVC) · preset medium q=18: 31,327.8 kbps, VMAF 99.969x265 (HEVC) · preset medium q=14: 53,318.1 kbps, VMAF 99.978x265 (HEVC) · preset slow q=26: 12,819.8 kbps, VMAF 99.129x265 (HEVC) · preset slow q=22: 20,114.5 kbps, VMAF 99.962x265 (HEVC) · preset slow q=18: 32,913.4 kbps, VMAF 99.974x265 (HEVC) · preset slow q=14: 58,855.6 kbps, VMAF 99.981
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset ultrafastx265 (HEVC) · preset mediumx265 (HEVC) · preset slow
riverbed — riverbed (small ripples) — bitrate vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset ultrafast1298,011.4 kbps99.98100.0043.32149.797.0
x264 (H.264) · preset ultrafast1664,503.1 kbps99.98100.0040.46168.926.3
x264 (H.264) · preset ultrafast2039,644.8 kbps99.9599.8437.55193.655.8
x264 (H.264) · preset ultrafast2424,844.1 kbps92.3690.2435.03200.325.1
x264 (H.264) · preset medium1284,390.6 kbps99.98100.0045.169.59103.7
x264 (H.264) · preset medium1650,163.5 kbps99.97100.0042.0910.3797.0
x264 (H.264) · preset medium2029,769.2 kbps99.96100.0039.7711.2589.6
x264 (H.264) · preset medium2418,482 kbps99.7498.7437.6012.0283.2
x264 (H.264) · preset slower1282,805.5 kbps99.98100.0044.982.15440.9
x264 (H.264) · preset slower1649,598.2 kbps99.97100.0041.862.49378.6
x264 (H.264) · preset slower2029,584.4 kbps99.96100.0039.602.95319.9
x264 (H.264) · preset slower2418,338 kbps99.93100.0037.453.4275.4
x265 (HEVC) · preset ultrafast1442,396.8 kbps99.97100.0041.6113.2772.1
x265 (HEVC) · preset ultrafast1824,579.7 kbps99.96100.0039.4816.956.9
x265 (HEVC) · preset ultrafast2215,401 kbps95.7892.2837.5519.6448.5
x265 (HEVC) · preset ultrafast269,652.8 kbps84.7180.1435.4922.1942.8
x265 (HEVC) · preset medium1453,318.1 kbps99.98100.0043.002.35401.7
x265 (HEVC) · preset medium1831,327.8 kbps99.97100.0040.703315.5
x265 (HEVC) · preset medium2219,060.6 kbps99.5998.1138.693.56265.4
x265 (HEVC) · preset medium2612,067 kbps92.2588.3136.644.2227.4
x265 (HEVC) · preset slow1458,855.6 kbps99.98100.0043.951.08886.2
x265 (HEVC) · preset slow1832,913.4 kbps99.97100.0041.531.28735.6
x265 (HEVC) · preset slow2220,114.5 kbps99.96100.0039.561.46644.2
x265 (HEVC) · preset slow2612,819.8 kbps99.1397.0937.551.66568.9
riverbed — riverbed (small ripples) — all measurements

rush_hour — rush-hour traffic

80901002M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=24: 7,562.3 kbps, VMAF 93.372x264 (H.264) · preset ultrafast q=20: 17,834.5 kbps, VMAF 97.287x264 (H.264) · preset ultrafast q=16: 47,409.8 kbps, VMAF 99.257x264 (H.264) · preset ultrafast q=12: 91,793.6 kbps, VMAF 99.965x264 (H.264) · preset medium q=24: 3,883 kbps, VMAF 91.335x264 (H.264) · preset medium q=20: 8,033 kbps, VMAF 95.617x264 (H.264) · preset medium q=16: 27,963.8 kbps, VMAF 98.394x264 (H.264) · preset medium q=12: 63,880.5 kbps, VMAF 99.804x264 (H.264) · preset slower q=24: 3,556.6 kbps, VMAF 91.703x264 (H.264) · preset slower q=20: 7,903.5 kbps, VMAF 96.258x264 (H.264) · preset slower q=16: 29,561.5 kbps, VMAF 98.87x264 (H.264) · preset slower q=12: 63,991.9 kbps, VMAF 99.915x265 (HEVC) · preset ultrafast q=26: 1,569.3 kbps, VMAF 84.675x265 (HEVC) · preset ultrafast q=22: 2,742.3 kbps, VMAF 90.888x265 (HEVC) · preset ultrafast q=18: 5,127.3 kbps, VMAF 94.938x265 (HEVC) · preset ultrafast q=14: 13,235.9 kbps, VMAF 97.6x265 (HEVC) · preset medium q=26: 2,198.4 kbps, VMAF 88.967x265 (HEVC) · preset medium q=22: 4,009.4 kbps, VMAF 93.759x265 (HEVC) · preset medium q=18: 9,734.5 kbps, VMAF 96.8x265 (HEVC) · preset medium q=14: 27,552.5 kbps, VMAF 98.758x265 (HEVC) · preset slow q=26: 2,423.7 kbps, VMAF 91.53x265 (HEVC) · preset slow q=22: 4,312.3 kbps, VMAF 95.648x265 (HEVC) · preset slow q=18: 10,412.7 kbps, VMAF 98.074x265 (HEVC) · preset slow q=14: 32,769 kbps, VMAF 99.498
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset ultrafastx265 (HEVC) · preset mediumx265 (HEVC) · preset slow
rush_hour — rush-hour traffic — bitrate vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset ultrafast1291,793.6 kbps99.9799.7847.52156.456.7
x264 (H.264) · preset ultrafast1647,409.8 kbps99.2698.5644.15179.346.1
x264 (H.264) · preset ultrafast2017,834.5 kbps97.2996.3541.62204.585.3
x264 (H.264) · preset ultrafast247,562.3 kbps93.3791.2839.84216.644.7
x264 (H.264) · preset medium1263,880.5 kbps99.8099.2546.659.4496.0
x264 (H.264) · preset medium1627,963.8 kbps98.3997.2243.6311.5875.4
x264 (H.264) · preset medium208,033 kbps95.6294.0942.0415.9250.4
x264 (H.264) · preset medium243,883 kbps91.3389.4541.0722.437.4
x264 (H.264) · preset slower1263,991.9 kbps99.9299.5746.802.44385.9
x264 (H.264) · preset slower1629,561.5 kbps98.8797.8043.713.34272.0
x264 (H.264) · preset slower207,903.5 kbps96.2694.7541.965.17167.2
x264 (H.264) · preset slower243,556.6 kbps91.7089.6040.967.86112.1
x265 (HEVC) · preset ultrafast1413,235.9 kbps97.6096.4742.7925.437.9
x265 (HEVC) · preset ultrafast185,127.3 kbps94.9493.4241.7634.7127.5
x265 (HEVC) · preset ultrafast222,742.3 kbps90.8989.1540.8641.0722.9
x265 (HEVC) · preset ultrafast261,569.3 kbps84.6782.3139.7246.9119.7
x265 (HEVC) · preset medium1427,552.5 kbps98.7697.7844.374.06234.2
x265 (HEVC) · preset medium189,734.5 kbps96.8095.5642.707135.3
x265 (HEVC) · preset medium224,009.4 kbps93.7692.0641.7710.0795.4
x265 (HEVC) · preset medium262,198.4 kbps88.9786.8240.7312.5775.5
x265 (HEVC) · preset slow1432,769 kbps99.5098.7245.141.7554.9
x265 (HEVC) · preset slow1810,412.7 kbps98.0796.9243.012.92324.9
x265 (HEVC) · preset slow224,312.3 kbps95.6594.1142.073.93240.0
x265 (HEVC) · preset slow262,423.7 kbps91.5389.4241.084.77196.3
rush_hour — rush-hour traffic — all measurements

How to read it, and what we saw

1. First, a check: 62 of 96 encodes scored VMAF 99 or higher

Of the 96 encodes, only 34 had a mean VMAF below 99; the other 62 were at 99 or higher. By clip, all 24 blue_sky encodes were at 99.35 or higher; only 4 of 24 riverbed encodes, 11 pedestrian_area encodes and 19 rush_hour encodes were below 99. To get file size at VMAF 97, 98 or 99 you need two measurement points straddling that score, so where results are saturated we either could not compare at all or could state only one end (a lower or upper bound).

2. File size at equal VMAF: how much larger is ultrafast than medium?

For each (clip, encoder, preset), we connected the 4 measurement points with straight lines (file size on a log scale against VMAF) to get file size at VMAF 97, 98 and 99, and expressed it as "how many percent larger than medium." Positive means ultrafast is larger. These are estimates from straight lines between measured points, so differences of 1–2 percentage points mean nothing.

Clip · codecVMAF 99VMAF 98VMAF 97
pedestrian_area · x264+68%+107%+103%
pedestrian_area · x265+22%+19%+26%
rush_hour · x264+5%+8%+12%
rush_hour · x265not comparablenot comparable−1%
riverbed · x264+102% or more+90% or more+79% or more
riverbed · x265+20%+14%+9%
blue_sky · x264, x265saturatedsaturatedsaturated

File size difference of ultrafast relative to medium at the same mean VMAF, log interpolation. For rush_hour x265, ultrafast tops out at VMAF 97.6, so only the 97 cell can be computed, and that cell is a line between two medium points (VMAF 96.8 → 98.8, a 2.8x difference in file size), so read it only as "roughly similar." For riverbed x264, every medium point is at VMAF 99.7 or higher, so interpolation is impossible; since ultrafast cannot be made smaller than medium at CRF 24 (23,102,494 B, VMAF 99.738), we give ultrafast's excess as a lower bound.

  • In the combinations we could compare, ultrafast was almost always larger than medium. At VMAF 98 the range ran from +8% (rush_hour x264) to +107% (pedestrian_area x264). The only exception is one cell for rush_hour x265 at 97 (−1%), and as the table note explains, that cell has a large interpolation error.
  • Footage type largely decided the size of the gap. For x264 at VMAF 98, pedestrian_area was +107% and rush_hour was +8%. For the same pair of presets, that is a difference of more than 13x.
  • x265 had a smaller and steadier gap than x264. In the comparable cells, the VMAF 98 values were +14% (riverbed) and +19% (pedestrian_area).
  • In the saturated range, VMAF cannot tell presets apart. At x264 CRF 24 on blue_sky, ultrafast was 18,439,848 B (VMAF 99.972) and medium was 5,669,461 B (99.971): the same VMAF at 3.25x the size. As this shows, the same score can hide a large difference in file size.

3. File size at equal VMAF: how much smaller are the slow presets (slower, slow) than medium?

Clip · codecVMAF 99VMAF 98VMAF 97
pedestrian_area · x264 (slower)−26%−10%−13%
pedestrian_area · x265 (slow)−43%−23%−25%
rush_hour · x264 (slower)−18%−19%−23%
rush_hour · x265 (slow)not comparable−45%−35%
riverbed · x264 (slower)saturatedsaturatedsaturated
riverbed · x265 (slow)−30% or less−26% or less−21% or less
blue_sky · x264, x265saturatedsaturatedsaturated

File size difference of the slow preset relative to medium at the same mean VMAF, log interpolation. Negative means the slow preset is smaller. For riverbed x265, every slow point is at VMAF 99.1 or higher, so interpolation is impossible; we used CRF 26 slow (16,024,804 B, VMAF 99.129) as the upper bound and wrote "at least this much smaller." The 99 cell for rush_hour x265 cannot be computed because medium's top VMAF is 98.758.

  • In every cell we could compare, the slow preset was smaller. At VMAF 98 the range ran from −10% (pedestrian_area x264) to −45% (rush_hour x265).
  • x265 slow saved more relative to medium than x264 slower did. At VMAF 98, pedestrian_area was −10% for x264 and −23% for x265, and rush_hour was −19% for x264 and −45% for x265.
  • The 99 column has the largest error. For example, the −43% for pedestrian_area x265 comes from slow having an actual measured point (5,760,486 B) at VMAF 98.98, while medium's value is a line between VMAF 99.33 and 97.84 (a 2.3x difference in file size), so the straight-line interpolation may have overestimated medium's size. For the 99 column, use only the direction, and trust the 98 and 97 columns more.
  • That blue_sky cannot be compared at all is itself informative. At x264 CRF 24, slower (5,691,627 B) was actually 0.4% larger than medium (5,669,461 B), and VMAF was the same, 99.973 vs 99.971. On an easy video where VMAF saturates at 99.97, this metric did not capture any benefit of the slower preset.

4. Time: how many times more CPU time?

We compared time by CPU time (utime_s). Across the same 4 CRF steps, we calculated "medium ÷ ultrafast" and "slower (slow) ÷ medium" and give the minimum–maximum per clip. Quality is not equal at the same CRF, but the point here is to see how much time grows within a single setting.

Clipx264 medium÷ultrafastx264 slower÷mediumx265 medium÷ultrafastx265 slow÷medium
blue_sky6.58–11.59x2.96–3.47x2.90–4.44x2.04–2.63x
pedestrian_area8.33–13.20x3.18–3.84x3.72–5.93x2.26–2.64x
riverbed14.75–16.18x3.31–4.25x5.31–5.57x2.21–2.50x
rush_hour8.02–14.42x3.00–4.02x3.82–6.18x2.37–2.60x

CPU time (utime_s) ratio at the same CRF. Minimum–maximum over the 4 CRF steps. Each value was measured once.

Matching time at the same VMAF 98 (interpolating utime the same way as file size), the combinations we could compare gave the following.

Combinationmedium÷ultrafastslower (slow)÷medium
pedestrian_area · x264about 9.5xabout 3.1x
rush_hour · x264about 12.8xabout 3.3x
pedestrian_area · x265about 3.5xabout 2.4x
rush_hour · x265not comparableabout 1.7x

CPU time ratio interpolated at VMAF 98, rounded to one decimal place. For rush_hour x265, ultrafast never reached 98, and slow÷medium has a large error because the two medium points are far apart.

  • For x264, ultrafast → medium was the biggest jump in time. It was 6.6–16.2x at the same CRF and 9.5–12.8x when matched at VMAF 98. Medium → slower, by contrast, was 3.0–4.3x.
  • For x265, ultrafast → medium was 2.9–6.2x and medium → slow was 2.0–2.6x, so time grew less per step than for x264.
  • Looking at time against size savings, each step up shows diminishing returns. For pedestrian_area x264 at VMAF 98, going from ultrafast to medium cut file size roughly in half (17.5 → 8.4 MB) at about 9.5x the time, while medium to slower went from 8.4 to 7.6 MB (−10%) at about 3.1x the time. The size reductions are for this 10-second clip; apply the same ratio to a longer video.

5. 5th-percentile VMAF: the clip mattered more than the preset

We collected the 5th-percentile and minimum VMAF for the 10 measurement points whose mean VMAF landed in 97–99 (all from pedestrian_area and rush_hour).

ClipSettingMean5th pctMinSize (MB)
pedestrian_areax264 medium CRF 2098.75395.97092.0939.8
pedestrian_areax265 ultrafast CRF 1898.05395.18892.9247.1
pedestrian_areax265 medium CRF 2297.84295.05692.3495.4
pedestrian_areax265 slow CRF 2298.98096.49392.4905.8
rush_hourx264 ultrafast CRF 2097.28796.34894.26622.3
rush_hourx264 medium CRF 1698.39497.22594.43535.0
rush_hourx264 slower CRF 1698.87097.80294.73537.0
rush_hourx265 ultrafast CRF 1497.60096.47594.58716.5
rush_hourx265 medium CRF 1498.75897.78095.38234.4
rush_hourx265 slow CRF 1898.07496.92594.42313.0

All measurement points with a mean VMAF of at least 97 and below 99. File size is size_bytes divided by 1,000,000, rounded to one decimal place.

  • The gap between the mean and the 5th percentile was 2.5–2.9 points for pedestrian_area and 0.9–1.2 points for rush_hour. Within the same clip, the gap was similar across presets (pedestrian_area 2.49–2.87, rush_hour 0.94–1.17). In other words, the type of video, not the preset, decided how bad the worst frames were.
  • The minimum VMAF also clustered tightly within each clip. It was 92.1–92.9 for pedestrian_area and 94.3–95.4 for rush_hour. At these 10 points, ultrafast was not noticeably worse in the 5th percentile. The cost showed up not in the 5th percentile but in file size (section 2 above).

Limitations

  • There are only four 10-second clips, and half of them saturated. The equal-VMAF comparison essentially rests on two clips, pedestrian_area and rush_hour. Animation, screen recordings, dark footage and noisy footage are missing, and whether slow presets really give no benefit on easy footage was not confirmed by this metric.
  • VMAF is insensitive above 99. Even when the score is the same 99.97, as with blue_sky, PSNR differed (x265 CRF 22: ultrafast 39.159 dB, medium 41.139 dB, slow 41.892 dB; but file sizes also differed, 5.7, 7.9 and 9.6 MB, so this is not a same-condition comparison). If how close the archive is to the original matters, do not judge by VMAF alone; check PSNR or look at it with your own eyes.
  • File size at VMAF 97, 98 and 99 is an interpolation with log-scale straight lines between 4 CRF points. The points are sparse (in places file size differs 2–3x between neighboring points), and the error grows if the curve is not a straight line. The 99 column and the rush_hour x265 cells are especially uncertain. Cells that could not be interpolated because of saturation are given only as lower or upper bounds.
  • We measured only three presets per codec. Intermediate and slower presets such as fast, slow and veryslow were not measured (the mid-quality range in the x264 preset test and the x265 preset test fills some of this in). Also, the "slow side" is named slower for x264 and slow for x265, so we cannot say whether the two codecs' slow presets represent the same level of effort.
  • 8-bit yuv420p, one PC, one measurement. We did not repeat runs to estimate error, and elapsed time fluctuates because of IDLE priority. The time multiples are based on CPU time (utime) and are for reference (multi-core utilization test). They assume 4 threads, so actual time differs on a PC with more or fewer cores.
  • We did not evaluate visual quality. The same VMAF does not mean the video looks the same to a person.

Practical recommendations

  • For archival encodes, it is better to avoid ultrafast. In every combination we could compare, file size at the same VMAF was larger than medium, from +8% (rush_hour x264, VMAF 98) to +107% (pedestrian_area x264). For a file you make once and keep for a long time, the space it permanently occupies outlasts the several-fold extra encoding time. If you are in a big hurry, or the file is an intermediate you will delete soon, a different call is right.
  • Medium → slower (slow) depends on the footage. On clips with motion and detail (pedestrian_area, rush_hour), at VMAF 98 x264 was 10–19% smaller and x265 was 23–45% smaller. CPU time was about 3x for x264 and about 1.7–2.4x for x265. On the easy video (blue_sky), the benefit did not show up in this metric. For long-term storage where size matters, a slower preset is worth trying; if you are short on time, for some videos you lose little by stopping at medium.
  • When choosing a preset, match VMAF or file size, not the CRF number. At the same CRF 20 on x264 pedestrian_area, ultrafast gave VMAF 99.409 (23,621,848 B) and medium gave 98.753 (9,774,893 B): ultrafast has the higher VMAF but 2.4x the size. Matching only CRF creates this kind of illusion.
  • First check what kind of footage you have, using a short segment. Get a starting point with the CRF recommender, then encode 10 seconds of representative footage with medium and one step slower so that VMAF matches, and compare file sizes. By the results in this article, the savings range from the 10% level to the 40% level depending on the footage. Also, check beforehand whether the devices that will play the archive support the codec, using the codec support checker.
  • "Lossless CRF 0 archiving" and the range in this article are different stories. For the cost of lossless archiving, see the lossless CRF 0 test; for the ceiling of slow presets, see the slowest presets test.

The full raw data can be downloaded from the CSV at the bottom of the page. You can recompute the ratios and differences in the tables yourself from size_bytes, vmaf_mean, vmaf_p5 and utime_s in the CSV.

Raw data: archive-quality-preset-cost-v1.csv