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

Same CRF, Different Results: How Video Content Changes File Size and VMAF (x264, x265, SVT-AV1)

We encoded four 10-second 1080p25 clips with x264, x265 and SVT-AV1 at eight CRF values each, then measured how much file size and VMAF differ at the same CRF. The x264 CRF needed to reach VMAF 95 ranged from about 20.5 to 31.5 depending on the clip.

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 is no single right CRF; the answer depends on the video. In this test, the x264 CRF that reaches VMAF 95 was about 20.5 for rush_hour and about 31.5 for blue_sky, a gap of nearly 11. The file size needed for VMAF 90 also differed by about 10x between blue_sky and riverbed with x264.

Why we ran this

You often hear things like "just use CRF 23" or "CRF 18 is visually indistinguishable." But CRF is not a quality score. It is a target-quality setting you give the encoder. Feed in the same number with different content and you can get different quality and different file sizes. We wanted to measure how big that difference is, and where the CRF that reaches "good enough" quality falls for each video.

We compared the encoders themselves in CRF, file size and VMAF compared. This article focuses less on which encoder wins and more on how the result changes when the content changes. If CRF is new to you, start with the rate control section of the curriculum.

Test setup

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 set to 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 per frame against the original → mean (vmaf_mean), 5th percentile (vmaf_p5), minimum (vmaf_min)
Scale4 clips × 3 encoders × 8 CRF values = 96 encodes
Measured on2026-11-09

VMAF is a video quality metric developed by Netflix. It compares the encoded video with the original frame by frame and scores each frame from 0 to 100. The closer to 100, the harder it is to tell the encode from the original, though the score is no substitute for human judgment. In this article, "mean" is the average of the 250 per-frame scores.

Encoder settings

EncoderPresetEight CRF valuesCommand (key options)
x264medium18, 22, 26, 30, 34, 38, 42, 46-c:v libx264 -preset medium -crf Q -threads 4
x265medium20, 24, 28, 32, 36, 40, 44, 48-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
SVT-AV1824, 30, 36, 42, 48, 54, 58, 62-c:v libsvtav1 -preset 8 -crf Q -svtav1-params lp=4

Input is the original y4m, output is mkv, no audio. We substituted each CRF value above for Q, one encode per value. We used SVT-AV1 preset 8 to keep encoding time down (the earlier article used preset 6). Easy clips saturate at VMAF 99 or higher at low CRF, so we extended the range up to high CRF values.

Test clips: source and license

All four clips are 1080p25 videos made by TUM / Taurus Media Technik (2001), downloaded from the Xiph.org derf collection (media.xiph.org/video/derf/y4m/). The accompanying ReadMe_1080p.txt states "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).

Results by clip

In each curve, the horizontal axis is file size (bitrate) and the vertical axis is VMAF. At the same height, the encoder further to the left produced the same quality at a smaller size. The tables list file size and speed measurements for every CRF.

blue_sky — blue sky and tree branches

405060708090100200k500k1M2M5M10MBitrate (bps, log scale)VMAFx264 (H.264) q=46: 415.2 kbps, VMAF 41.351x264 (H.264) q=42: 556.6 kbps, VMAF 59.49x264 (H.264) q=38: 788.4 kbps, VMAF 76.256x264 (H.264) q=34: 1,198.8 kbps, VMAF 89.847x264 (H.264) q=30: 1,916.7 kbps, VMAF 98.224x264 (H.264) q=26: 3,322 kbps, VMAF 99.937x264 (H.264) q=22: 6,348.8 kbps, VMAF 99.976x264 (H.264) q=18: 13,774.3 kbps, VMAF 99.982x265 (HEVC) q=48: 147.6 kbps, VMAF 40.577x265 (HEVC) q=44: 276.2 kbps, VMAF 58.874x265 (HEVC) q=40: 489.1 kbps, VMAF 75.054x265 (HEVC) q=36: 827.9 kbps, VMAF 87.441x265 (HEVC) q=32: 1,420.9 kbps, VMAF 95.756x265 (HEVC) q=28: 2,481.5 kbps, VMAF 99.428x265 (HEVC) q=24: 4,608.6 kbps, VMAF 99.973x265 (HEVC) q=20: 8,874.1 kbps, VMAF 99.98SVT-AV1 (AV1) q=62: 488.1 kbps, VMAF 85.277SVT-AV1 (AV1) q=58: 870.1 kbps, VMAF 94.105SVT-AV1 (AV1) q=54: 1,168.5 kbps, VMAF 97.528SVT-AV1 (AV1) q=48: 1,568 kbps, VMAF 99.402SVT-AV1 (AV1) q=42: 2,142.3 kbps, VMAF 99.925SVT-AV1 (AV1) q=36: 3,156.8 kbps, VMAF 99.971SVT-AV1 (AV1) q=30: 5,074.4 kbps, VMAF 99.978SVT-AV1 (AV1) q=24: 8,984.6 kbps, VMAF 99.983
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)
blue_sky — blue sky and tree branches — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1)248,984.6 kbps99.98100.0041.9974.2125.2
SVT-AV1 (AV1)305,074.4 kbps99.98100.0040.7373.8325.4
SVT-AV1 (AV1)363,156.8 kbps99.97100.0039.4779.2623.9
SVT-AV1 (AV1)422,142.3 kbps99.9299.7538.4076.6924.2
SVT-AV1 (AV1)481,568 kbps99.4096.6937.4475.0125.6
SVT-AV1 (AV1)541,168.5 kbps97.5392.9536.4674.2525.7
SVT-AV1 (AV1)58870.1 kbps94.1188.6435.3870.3827.3
SVT-AV1 (AV1)62488.1 kbps85.2878.6533.2369.4427.7
x264 (H.264)1813,774.3 kbps99.98100.0041.9517.4442.3
x264 (H.264)226,348.8 kbps99.98100.0040.2423.6129.8
x264 (H.264)263,322 kbps99.94100.0038.3030.6923.2
x264 (H.264)301,916.7 kbps98.2293.7836.1537.819.6
x264 (H.264)341,198.8 kbps89.8583.3433.7844.3917.2
x264 (H.264)38788.4 kbps76.2668.3031.304915.6
x264 (H.264)42556.6 kbps59.4949.5028.7852.3214.7
x264 (H.264)46415.2 kbps41.3534.2126.2852.4814.0
x265 (HEVC)208,874.1 kbps99.98100.0041.9113.6873.6
x265 (HEVC)244,608.6 kbps99.97100.0040.3219.2452.3
x265 (HEVC)282,481.5 kbps99.4396.3238.4524.8439.8
x265 (HEVC)321,420.9 kbps95.7688.5636.3629.2133.4
x265 (HEVC)36827.9 kbps87.4478.9334.1233.4428.7
x265 (HEVC)40489.1 kbps75.0566.2131.7436.8725.7
x265 (HEVC)44276.2 kbps58.8748.1629.2240.5723.5
x265 (HEVC)48147.6 kbps40.5831.2426.5942.8720.9
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

2030405060708090100200k500k1M2M5M10MBitrate (bps, log scale)VMAFx264 (H.264) q=46: 401 kbps, VMAF 24.762x264 (H.264) q=42: 582 kbps, VMAF 39.303x264 (H.264) q=38: 861.7 kbps, VMAF 57.078x264 (H.264) q=34: 1,293 kbps, VMAF 72.166x264 (H.264) q=30: 1,981.2 kbps, VMAF 84.209x264 (H.264) q=26: 3,142.9 kbps, VMAF 92.475x264 (H.264) q=22: 5,449.7 kbps, VMAF 97.507x264 (H.264) q=18: 12,757.4 kbps, VMAF 99.396x265 (HEVC) q=48: 183 kbps, VMAF 21.39x265 (HEVC) q=44: 264.1 kbps, VMAF 36.417x265 (HEVC) q=40: 443.3 kbps, VMAF 53.875x265 (HEVC) q=36: 731.7 kbps, VMAF 69.758x265 (HEVC) q=32: 1,164.4 kbps, VMAF 82.22x265 (HEVC) q=28: 1,873.7 kbps, VMAF 90.834x265 (HEVC) q=24: 3,176.6 kbps, VMAF 96.268x265 (HEVC) q=20: 6,375.6 kbps, VMAF 98.789SVT-AV1 (AV1) q=62: 272.4 kbps, VMAF 56.185SVT-AV1 (AV1) q=58: 495.2 kbps, VMAF 70.493SVT-AV1 (AV1) q=54: 703.5 kbps, VMAF 78.319SVT-AV1 (AV1) q=48: 1,060.8 kbps, VMAF 85.514SVT-AV1 (AV1) q=42: 1,569.5 kbps, VMAF 91.044SVT-AV1 (AV1) q=36: 2,369 kbps, VMAF 95.092SVT-AV1 (AV1) q=30: 3,661.6 kbps, VMAF 97.815SVT-AV1 (AV1) q=24: 5,791.9 kbps, VMAF 98.963
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)
pedestrian_area — pedestrian street — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1)245,791.9 kbps98.9696.3441.9669.7227.8
SVT-AV1 (AV1)303,661.6 kbps97.8194.8441.3072.4427.5
SVT-AV1 (AV1)362,369 kbps95.0992.0840.4373.4625.1
SVT-AV1 (AV1)421,569.5 kbps91.0487.9339.4574.5427.3
SVT-AV1 (AV1)481,060.8 kbps85.5180.5438.3374.2325.9
SVT-AV1 (AV1)54703.5 kbps78.3271.7237.0573.2527.0
SVT-AV1 (AV1)58495.2 kbps70.4962.0135.7875.7826.2
SVT-AV1 (AV1)62272.4 kbps56.1945.2933.5281.4624.3
x264 (H.264)1812,757.4 kbps99.4097.1542.2714.6852.3
x264 (H.264)225,449.7 kbps97.5194.4341.0520.3538.8
x264 (H.264)263,142.9 kbps92.4789.7039.5727.4231.2
x264 (H.264)301,981.2 kbps84.2181.3337.8533.926.5
x264 (H.264)341,293 kbps72.1769.6335.9440.1322.5
x264 (H.264)38861.7 kbps57.0854.2733.9443.8420.2
x264 (H.264)42582 kbps39.3036.5731.7046.4417.2
x264 (H.264)46401 kbps24.7621.5229.3548.116.1
x265 (HEVC)206,375.6 kbps98.7996.2342.0610.2896.6
x265 (HEVC)243,176.6 kbps96.2793.4540.8513.3174.4
x265 (HEVC)281,873.7 kbps90.8388.0939.3715.9461.8
x265 (HEVC)321,164.4 kbps82.2279.5337.6318.5453.1
x265 (HEVC)36731.7 kbps69.7666.7435.7021.4946.0
x265 (HEVC)40443.3 kbps53.8849.9933.6024.4839.4
x265 (HEVC)44264.1 kbps36.4232.5731.3728.4833.1
x265 (HEVC)48183 kbps21.3916.9229.2332.3728.4
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

20304050607080901001M2M5M10M20MBitrate (bps, log scale)VMAFx264 (H.264) q=46: 995.9 kbps, VMAF 22.155x264 (H.264) q=42: 1,889.2 kbps, VMAF 28.329x264 (H.264) q=38: 3,423.6 kbps, VMAF 43.118x264 (H.264) q=34: 5,702.7 kbps, VMAF 62.645x264 (H.264) q=30: 9,188.1 kbps, VMAF 81.34x264 (H.264) q=26: 14,654.1 kbps, VMAF 95.238x264 (H.264) q=22: 23,396.4 kbps, VMAF 99.945x264 (H.264) q=18: 38,282.7 kbps, VMAF 99.966x265 (HEVC) q=48: 591.4 kbps, VMAF 22.881x265 (HEVC) q=44: 868.8 kbps, VMAF 25.726x265 (HEVC) q=40: 1,799.1 kbps, VMAF 38.373x265 (HEVC) q=36: 3,424.3 kbps, VMAF 54.774x265 (HEVC) q=32: 5,880.9 kbps, VMAF 71.632x265 (HEVC) q=28: 9,535.6 kbps, VMAF 86.4x265 (HEVC) q=24: 15,197.8 kbps, VMAF 97.005x265 (HEVC) q=20: 24,234.5 kbps, VMAF 99.964SVT-AV1 (AV1) q=62: 890.7 kbps, VMAF 27.278SVT-AV1 (AV1) q=58: 1,952.4 kbps, VMAF 46.679SVT-AV1 (AV1) q=54: 3,030.7 kbps, VMAF 60.111SVT-AV1 (AV1) q=48: 4,898.8 kbps, VMAF 75.847SVT-AV1 (AV1) q=42: 7,552 kbps, VMAF 88.777SVT-AV1 (AV1) q=36: 11,422.7 kbps, VMAF 97.21SVT-AV1 (AV1) q=30: 17,251.5 kbps, VMAF 99.951SVT-AV1 (AV1) q=24: 26,527.3 kbps, VMAF 99.975
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)
riverbed — riverbed (fine ripples) — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1)2426,527.3 kbps99.97100.0040.1852.0339.1
SVT-AV1 (AV1)3017,251.5 kbps99.95100.0038.9053.1738.5
SVT-AV1 (AV1)3611,422.7 kbps97.2193.0737.3347.238.9
SVT-AV1 (AV1)427,552 kbps88.7882.4235.6153.5437.3
SVT-AV1 (AV1)484,898.8 kbps75.8567.4733.8355.2737.5
SVT-AV1 (AV1)543,030.7 kbps60.1150.7031.905638.0
SVT-AV1 (AV1)581,952.4 kbps46.6836.7530.3259.2636.2
SVT-AV1 (AV1)62890.7 kbps27.2816.3327.9162.2833.4
x264 (H.264)1838,282.7 kbps99.97100.0040.8711.5490.3
x264 (H.264)2223,396.4 kbps99.94100.0038.6912.5883.1
x264 (H.264)2614,654.1 kbps95.2493.4836.4914.2173.9
x264 (H.264)309,188.1 kbps81.3479.2834.2616.4764.2
x264 (H.264)345,702.7 kbps62.6559.8131.9819.5852.4
x264 (H.264)383,423.6 kbps43.1239.8929.5720.2141.3
x264 (H.264)421,889.2 kbps28.3325.5027.0120.9531.4
x264 (H.264)46995.9 kbps22.1619.3825.1621.325.8
x265 (HEVC)2024,234.5 kbps99.96100.0039.683.41287.5
x265 (HEVC)2415,197.8 kbps97.0093.7237.694.03243.3
x265 (HEVC)289,535.6 kbps86.4081.9435.594.82204.5
x265 (HEVC)325,880.9 kbps71.6366.2433.455.85167.8
x265 (HEVC)363,424.3 kbps54.7749.4531.287.28135.2
x265 (HEVC)401,799.1 kbps38.3733.2829.169.39104.5
x265 (HEVC)44868.8 kbps25.7321.5827.1514.0870.0
x265 (HEVC)48591.4 kbps22.8820.2225.9021.3345.9
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

2030405060708090100100k200k500k1M2M5M10MBitrate (bps, log scale)VMAFx264 (H.264) q=46: 248.2 kbps, VMAF 29.03x264 (H.264) q=42: 414.6 kbps, VMAF 41.991x264 (H.264) q=38: 685.6 kbps, VMAF 56.424x264 (H.264) q=34: 1,098.4 kbps, VMAF 69.832x264 (H.264) q=30: 1,778.7 kbps, VMAF 80.568x264 (H.264) q=26: 2,954.7 kbps, VMAF 88.423x264 (H.264) q=22: 5,294.4 kbps, VMAF 93.692x264 (H.264) q=18: 15,030.2 kbps, VMAF 97.166x265 (HEVC) q=48: 98.6 kbps, VMAF 23.49x265 (HEVC) q=44: 153.5 kbps, VMAF 36.582x265 (HEVC) q=40: 270.9 kbps, VMAF 51.041x265 (HEVC) q=36: 504.8 kbps, VMAF 65.264x265 (HEVC) q=32: 917.1 kbps, VMAF 76.914x265 (HEVC) q=28: 1,644.7 kbps, VMAF 85.76x265 (HEVC) q=24: 2,938.9 kbps, VMAF 91.635x265 (HEVC) q=20: 5,922.2 kbps, VMAF 95.442SVT-AV1 (AV1) q=62: 204.5 kbps, VMAF 53.406SVT-AV1 (AV1) q=58: 376.8 kbps, VMAF 63.708SVT-AV1 (AV1) q=54: 541.1 kbps, VMAF 69.493SVT-AV1 (AV1) q=48: 856.5 kbps, VMAF 76.452SVT-AV1 (AV1) q=42: 1,330.1 kbps, VMAF 82.941SVT-AV1 (AV1) q=36: 2,115.7 kbps, VMAF 88.318SVT-AV1 (AV1) q=30: 3,396 kbps, VMAF 92.748SVT-AV1 (AV1) q=24: 5,312.1 kbps, VMAF 95.437
x264 (H.264)x265 (HEVC)SVT-AV1 (AV1)
rush_hour — evening rush-hour traffic — file size vs VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1)245,312.1 kbps95.4492.8542.3867.3330.0
SVT-AV1 (AV1)303,396 kbps92.7590.0041.7571.6327.0
SVT-AV1 (AV1)362,115.7 kbps88.3285.1440.8677.2324.0
SVT-AV1 (AV1)421,330.1 kbps82.9478.3039.9273.6226.1
SVT-AV1 (AV1)48856.5 kbps76.4570.5138.8879.0424.7
SVT-AV1 (AV1)54541.1 kbps69.4963.7237.7778.1524.9
SVT-AV1 (AV1)58376.8 kbps63.7157.1736.8380.7824.1
SVT-AV1 (AV1)62204.5 kbps53.4146.0435.1184.0323.3
x264 (H.264)1815,030.2 kbps97.1795.8242.6413.7863.6
x264 (H.264)225,294.4 kbps93.6991.9141.5820.9540.4
x264 (H.264)262,954.7 kbps88.4286.3340.4827.7432.3
x264 (H.264)301,778.7 kbps80.5777.9439.1035.325.9
x264 (H.264)341,098.4 kbps69.8366.7337.4142.4222.0
x264 (H.264)38685.6 kbps56.4252.7535.4244.7917.9
x264 (H.264)42414.6 kbps41.9937.7333.1046.315.4
x264 (H.264)46248.2 kbps29.0324.9030.5947.2713.6
x265 (HEVC)205,922.2 kbps95.4494.0142.209.46104.2
x265 (HEVC)242,938.9 kbps91.6489.7241.2812.6377.9
x265 (HEVC)281,644.7 kbps85.7683.2840.0816.3960.3
x265 (HEVC)32917.1 kbps76.9173.6838.5421.146.5
x265 (HEVC)36504.8 kbps65.2661.7436.7225.5336.8
x265 (HEVC)40270.9 kbps51.0446.8834.6029.1330.3
x265 (HEVC)44153.5 kbps36.5832.4832.3432.0725.3
x265 (HEVC)4898.6 kbps23.4919.4130.1533.5523.0
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we saw

1. Same CRF, different results

The table below picks one CRF per encoder and puts the four clips side by side (file sizes are given in raw bytes).

Clipx264 CRF 26x265 CRF 28SVT-AV1 CRF 42
blue_sky4,152,541 B / VMAF 99.943,101,819 B / VMAF 99.432,677,922 B / VMAF 99.93
pedestrian_area3,928,651 B / VMAF 92.482,342,149 B / VMAF 90.831,961,906 B / VMAF 91.04
riverbed18,317,675 B / VMAF 95.2411,919,505 B / VMAF 86.409,440,053 B / VMAF 88.78
rush_hour3,693,405 B / VMAF 88.422,055,816 B / VMAF 85.761,662,641 B / VMAF 82.94

x264 CRF 26, x265 CRF 28 and SVT-AV1 CRF 42 landed in a similar file-size range in this test. A CRF number does not mean the same thing across encoders.

  • File size differs by about 5x or more. riverbed's file size was 4.96x rush_hour's with x264 (18,317,675 ÷ 3,693,405), 5.80x with x265 and 5.68x with SVT-AV1. All three encoders moved in the same direction.
  • The expectation that easy video gets smaller files at the same CRF did not hold in this test. At x264 CRF 26, blue_sky (4,152,541 B) was actually larger than pedestrian_area (3,928,651 B) and rush_hour (3,693,405 B). Its VMAF simply saturated at 99.94. At the same CRF, the easy video did not use less data; it came out at higher quality.
  • VMAF at the same CRF also varies widely. At x264 CRF 30, VMAF was 98.22 for blue_sky, 84.21 for pedestrian_area, 81.34 for riverbed and 80.57 for rush_hour. A single CRF cannot guarantee a given level of quality.
  • blue_sky had a wide saturated range. With x264, CRF 18 to 26 all scored VMAF 99.9 or higher, yet file size differed by about 4.1x, from 17,217,871 B to 4,152,541 B. In that range, lowering CRF only added file size without any gain in this test's score.

2. The CRF that reaches VMAF 95 and 90

We measured CRF at intervals of 4 to 6, so we estimated the CRF that reaches VMAF 95 and 90 by linear interpolation over CRF between two adjacent measured points. Points saturated at VMAF 99 or higher were not used for interpolation, and both endpoints of every interpolated segment are actual measurements. Values are given to one decimal place, and they are estimates, not measurements.

Clipx264 (95 / 90)x265 (95 / 90)SVT-AV1 preset 8 (95 / 90)
blue_sky31.5 / 33.932.4 / 34.857.0 / 59.9
pedestrian_area24.0 / 27.224.9 / 28.436.1 / 43.1
riverbed26.1 / 27.524.8 / 26.637.6 / 41.1
rush_hour20.5 / 24.820.5 / 25.125.0 / 33.7

Each cell reads 'CRF that reaches VMAF 95 / CRF that reaches VMAF 90'. Example: for x264 on pedestrian_area, 24.0 is interpolated between CRF 22 (VMAF 97.51) and 26 (92.48). For rush_hour with x265 and SVT-AV1, the lowest CRF we measured (20 and 24) scored VMAF 95.44, barely above 95, so the 95 value sits close to the edge of the tested range.

  • To reach VMAF 95 with x264, rush_hour needed a CRF near 20.5 and blue_sky one near 31.5, a gap of 11. If you take a CRF chosen on one clip and apply it to other videos, some will fall short of the target and others will end up with needlessly large files.
  • The biggest file does not need the lowest CRF. riverbed had the largest file size, yet its x264 VMAF 95 CRF (26.1) was higher than pedestrian_area's (24.0) and rush_hour's (20.5). File size (bits consumed) and "the CRF that reaches target quality" are separate axes. This data cannot establish why.
  • Each encoder has its own scale. SVT-AV1's VMAF 95 CRF ranged from 25.0 to 57.0, far higher than x264 (20.5 to 31.5) and x265 (20.5 to 32.4), with a wider spread across clips. As in the earlier article, you cannot carry a CRF value over when you switch encoders.
  • How much CRF rises when you lower the target from VMAF 95 to 90 also varied by clip. With x264 it was 2.4 for blue_sky and 1.4 for riverbed, while with SVT-AV1 it was 2.9 for blue_sky, 7.0 for pedestrian_area and 8.7 for rush_hour.

3. File size and encoder ranking at the same VMAF 90

We estimated the file size at the point that reaches VMAF 90 using log-scale interpolation (splitting the size ratio across the CRF interval). File size shrinks multiplicatively with CRF, so we judged this closer to reality than linear interpolation, but these are still estimates.

Clipx264x265SVT-AV1x265 ÷ x264SVT-AV1 ÷ x264
blue_sky1.51 MB1.22 MB0.83 MB0.810.55
pedestrian_area3.42 MB2.24 MB1.82 MB0.650.53
riverbed15.36 MB13.96 MB10.02 MB0.910.65
rush_hour4.40 MB3.13 MB3.17 MB0.710.72

MB = 1,000,000 B, for the video stream of 250 frames (10 seconds). Ratios are computed from the interpolated values, not the rounded numbers above, so the last digit may be off.

  • The file size needed for VMAF 90 differed hugely between clips. With x264, it went from 1.51 MB for blue_sky to 15.36 MB for riverbed, about 10.2x. With x265 it was about 11.4x and with SVT-AV1 about 12.1x. The cost of getting the same "quality" varies by an order of magnitude depending on the video.
  • On blue_sky, pedestrian_area and riverbed, the ranking was the same: SVT-AV1 < x265 < x264 (ascending file size). The savings varied by clip: SVT-AV1 came in at 53–65% of x264's size and x265 at 65–91%, and x265's gain was smallest on riverbed.
  • On rush_hour, x265 (3.13 MB) and SVT-AV1 (3.17 MB) were effectively tied. The difference is about 1%, which may be smaller than the estimation error, so we can't say the ranking flipped. The measured points show the same tendency, though: x265 CRF 28 (VMAF 85.76, 2,055,816 B) is smaller than the line connecting SVT-AV1 CRF 36 (VMAF 88.32, 2,644,578 B) and CRF 42 (VMAF 82.94, 1,662,641 B). On this clip, SVT-AV1 preset 8's advantage was not as large as on the others.
  • In short, how much an encoder wins by varied by clip more than whether it wins. At VMAF 90, the encoder ranking mostly held, and the one exception was effectively a tie.

Speed is for reference only

Because we ran the processes at IDLE priority, wall-clock time (rtime) fluctuates with whatever else the PC is doing. CPU time (utime) is more stable, so the tables list both. This is one PC and one run, so treat it as a rough sense of scale only.

  • More complex video ran slower. At x264 CRF 18, utime was 42.3 s for blue_sky and 90.3 s for riverbed. At x265 CRF 20 it was 73.6 s for blue_sky and 287.5 s for riverbed (73.4 s wall-clock, 3.4 fps).
  • SVT-AV1 preset 8 had wall-clock time (rtime) of about 3.0 to 5.3 s (about 47 to 84 fps) in every measurement. Even on riverbed it took 4.0 to 5.3 s, shorter than x265 medium on the same clip (11.7 to 73.4 s).
  • x264 and x265 got faster as CRF rose, while SVT-AV1 changed little with CRF.

Limitations

  • There are only four 10-second clips. They can hardly represent video "types." Even among sky footage, different clouds or camera movement could change the result, and animation, screen recordings and dark video are missing entirely. The CRF values above are values for these four clips, not recommended values per genre.
  • Interpolated values are estimates. They come from connecting two points 4 to 6 CRF apart, so they may differ from what you'd get by actually encoding at that CRF. This is especially true of SVT-AV1, whose points are spaced wider.
  • We only measured 8-bit yuv420p. 10-bit and HDR are not covered.
  • We picked just one preset per encoder. That is medium for x264 and x265 and preset 8 for SVT-AV1. Slower SVT-AV1 presets could change the results.
  • We measured with only one VMAF model, the default. Equal scores don't guarantee they look the same to the human eye. Even with a high mean score, some frames can be low, so the tables also list vmaf_p5 and vmaf_min (for example, riverbed x264 CRF 22 has a mean of 99.945 but a minimum of 86.33).
  • This is one PC and one run. We did not repeat measurements to estimate error, and with IDLE priority the speed figures are for reference only. File size is the video stream file size and does not reflect audio or playback compatibility.

Practical recommendations

  • Don't use one CRF value for every video; run two or three steps on each video first. In this data, the x264 CRF needed for the same target (VMAF 95) differed by nearly 11 between clips. Encode a short segment at CRF steps of about 4, then pick based on file size and quality.
  • Don't push CRF too low on videos whose quality saturates. For a video like blue_sky, where VMAF stays in the 99.9 range at low CRF, lowering CRF further only grew the file size substantially.
  • If you set your target with a metric like VMAF, let CRF be the outcome. If "I want 95" is your criterion, CRF is the value you find for each video. The tables in this article show how much results can vary, not values to copy as they are.
  • Don't carry a CRF value over when you change encoders. To check which codecs a device can play, use the codec support checker first.

You can download the full raw data as a CSV at the very bottom of the page. Running your own videos the same way gets you a "CRF scale for your video."

Raw data: crf-by-content-v1.csv