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

How Big Is a Lossless (CRF 0) Archive? x264, x265 and SVT-AV1 Near-Lossless File Size and Encode Time Tested

We encoded four 10-second 1080p25 clips with x264 CRF 0 (lossless) and CRF 4, 8 and 12, x265 CRF 0–12, and SVT-AV1 CRF 1–18. x264 medium CRF 0 produced files 12.2–46.5x larger than CRF 23 (typical viewing quality) and 30–41% of the uncompressed YUV size. Changing the preset barely helped lossless size: slower was only 0.1–0.4% smaller than medium, while ultrafast was 13–22% larger but used 1/13 to 1/17 of the encoding CPU time.

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 test, x264 CRF 0 turned a 10-second 1080p clip into 234,776,904–316,193,849 B (about 188–253 Mbps). That is 12.2–46.5x the size at CRF 23 (typical viewing quality) and 30.2–40.7% of the uncompressed YUV (777,600,000 B). Moving the preset from medium to slower shrank lossless files by only 0.1–0.4% while CPU time rose 2.0–2.7x, and the fast ultrafast preset made files 13–22% larger but ran much faster. On the other hand, raising CRF from just 0 to 4 cut file size to 0.69–0.76x while the mean VMAF dropped by only 0.001–0.003 points.

Why we wanted to know

When you want to keep a master or an original "without any loss," the first setting that comes to mind is x264's -crf 0. But how big is a lossless file, exactly? How many times larger than the CRF 23 you normally use? And does a slower preset shrink it? These questions are rarely answered with numbers. The earlier high-quality CRF range test only covered x264 CRF 6 and up, so this article focuses on the CRF 0 point and the values just above it (4, 8, 12), and on how much the preset (ultrafast, medium, slower) changes file size and time.

This is not a codec ranking, and not all three codecs are lossless

x264 CRF 0 is known to be a lossless mode for 8-bit 4:2:0. x265 CRF 0 and SVT-AV1 CRF 1 may not be, so this article calls those two 'near-lossless' and separates them in the tables. Do not read file sizes of non-lossless and lossless files as a ranking. For a comparison of codecs at equal quality, see the CRF sweep test.

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 set to IDLE (wall-clock time rtime fluctuates with other jobs; CPU time utime is more stable)
Input formatyuv420p 8-bit, 1920x1080, 25 fps. Input is the original y4m, output is mkv (no audio)
LengthOnly the first 250 frames (10 seconds) of each clip
Quality metricslibvmaf default model (vmaf_v0.6.1), measured per frame against the original. Mean (vmaf_mean), 5th percentile (vmaf_p5), minimum (vmaf_min), and luma PSNR (psnr_y)
Test date2026-11-19 (4 clips × 6 settings × 4 steps = 96 encodes)

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 5th percentile (p5) is the score at the worst 5% point among the 250 frames. PSNR expresses the pixel-value error against the original in dB; higher means smaller error. For a truly lossless encode the error is 0, so PSNR is theoretically infinite, yet in this data the psnr_y of every x264 CRF 0 result is recorded as 60.0. Since the same value appears for all 4 clips and all 3 presets, it looks like a cap on the recorded value, but the data alone cannot confirm that.

Encoder settings

EncoderPresetFour quality valuesCommand (key options)
x264ultrafastCRF 0, 4, 8, 12-c:v libx264 -preset ultrafast -crf Q -threads 4
x264mediumCRF 0, 4, 8, 12-c:v libx264 -preset medium -crf Q -threads 4
x264slowerCRF 0, 4, 8, 12-c:v libx264 -preset slower -crf Q -threads 4
x265mediumCRF 0, 4, 8, 12-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
x265slowCRF 0, 4, 8, 12-c:v libx265 -preset slow -crf Q -x265-params pools=4:log-level=error
SVT-AV18CRF 1, 6, 12, 18-c:v libsvtav1 -preset 8 -crf Q -svtav1-params lp=4

Input and output paths are omitted, and the values in the table were substituted for Q one at a time. SVT-AV1 was measured starting from CRF 1, not CRF 0.

Test clip sources and licenses

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

Results by clip

In each curve the x-axis is file size (bitrate) and the y-axis is VMAF. All settings for the same clip are on one chart. In the lossless and near-lossless range VMAF sits almost at 100, so the curve flattens out horizontally on the right. The tables list file size, VMAF, PSNR and the speed measurements. Speed fluctuates because of the IDLE priority, so treat it as a rough guide only.

blue_sky — blue sky and tree branches

9010020M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=12: 78,899.1 kbps, VMAF 99.984x264 (H.264) · preset ultrafast q=8: 118,469.7 kbps, VMAF 99.986x264 (H.264) · preset ultrafast q=4: 162,972.9 kbps, VMAF 99.988x264 (H.264) · preset ultrafast q=0: 228,308.1 kbps, VMAF 99.988x264 (H.264) · preset medium q=12: 48,952.6 kbps, VMAF 99.986x264 (H.264) · preset medium q=8: 85,748 kbps, VMAF 99.987x264 (H.264) · preset medium q=4: 129,043.6 kbps, VMAF 99.987x264 (H.264) · preset medium q=0: 187,821.5 kbps, VMAF 99.988x264 (H.264) · preset slower q=12: 50,486.6 kbps, VMAF 99.986x264 (H.264) · preset slower q=8: 87,642.6 kbps, VMAF 99.987x264 (H.264) · preset slower q=4: 131,865.2 kbps, VMAF 99.988x264 (H.264) · preset slower q=0: 187,342.3 kbps, VMAF 99.988x265 (HEVC) · preset medium q=12: 37,856.2 kbps, VMAF 99.986x265 (HEVC) · preset medium q=8: 67,684.9 kbps, VMAF 99.987x265 (HEVC) · preset medium q=4: 105,078.2 kbps, VMAF 99.988x265 (HEVC) · preset medium q=0: 147,492.8 kbps, VMAF 99.988x265 (HEVC) · preset slow q=12: 45,803.6 kbps, VMAF 99.987x265 (HEVC) · preset slow q=8: 79,502.3 kbps, VMAF 99.988x265 (HEVC) · preset slow q=4: 118,120.5 kbps, VMAF 99.988x265 (HEVC) · preset slow q=0: 160,602.1 kbps, VMAF 99.988SVT-AV1 (AV1) q=18: 14,473.7 kbps, VMAF 99.985SVT-AV1 (AV1) q=12: 26,160.8 kbps, VMAF 99.985SVT-AV1 (AV1) q=6: 57,522.7 kbps, VMAF 99.986SVT-AV1 (AV1) q=1: 146,915.3 kbps, VMAF 99.988
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1)
blue_sky — blue sky and tree branches — file size vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 81146,915.3 kbps99.99100.0054.7517.39117.4
SVT-AV1 (AV1) · preset 8657,522.7 kbps99.99100.0047.5852.9133.8
SVT-AV1 (AV1) · preset 81226,160.8 kbps99.98100.0044.8263.0528.0
SVT-AV1 (AV1) · preset 81814,473.7 kbps99.98100.0043.0969.8324.9
x264 (H.264) · preset ultrafast0228,308.1 kbps99.99100.0060.00183.285.2
x264 (H.264) · preset ultrafast4162,972.9 kbps99.99100.0053.15201.785.4
x264 (H.264) · preset ultrafast8118,469.7 kbps99.99100.0050.13215.74.8
x264 (H.264) · preset ultrafast1278,899.1 kbps99.98100.0047.07239.464.4
x264 (H.264) · preset medium0187,821.5 kbps99.99100.0060.0014.6467.4
x264 (H.264) · preset medium4129,043.6 kbps99.99100.0052.6810.3590.0
x264 (H.264) · preset medium885,748 kbps99.99100.0048.9011.2978.3
x264 (H.264) · preset medium1248,952.6 kbps99.99100.0045.6012.8365.0
x264 (H.264) · preset slower0187,342.3 kbps99.99100.0060.007.25134.8
x264 (H.264) · preset slower4131,865.2 kbps99.99100.0053.172.96316.0
x264 (H.264) · preset slower887,642.6 kbps99.99100.0049.223.39269.3
x264 (H.264) · preset slower1250,486.6 kbps99.99100.0045.843.97217.2
x265 (HEVC) · preset medium0147,492.8 kbps99.99100.0055.362.21444.9
x265 (HEVC) · preset medium4105,078.2 kbps99.99100.0051.812.58380.9
x265 (HEVC) · preset medium867,684.9 kbps99.99100.0048.563.33296.0
x265 (HEVC) · preset medium1237,856.2 kbps99.99100.0045.735.08195.1
x265 (HEVC) · preset slow0160,602.1 kbps99.99100.0057.181.35725.4
x265 (HEVC) · preset slow4118,120.5 kbps99.99100.0053.801.56627.7
x265 (HEVC) · preset slow879,502.3 kbps99.99100.0050.121.85530.8
x265 (HEVC) · preset slow1245,803.6 kbps99.99100.0046.892.56385.2
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

9010010M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=12: 83,440.7 kbps, VMAF 99.985x264 (H.264) · preset ultrafast q=8: 132,005.1 kbps, VMAF 99.987x264 (H.264) · preset ultrafast q=4: 183,187.2 kbps, VMAF 99.989x264 (H.264) · preset ultrafast q=0: 241,339.1 kbps, VMAF 99.99x264 (H.264) · preset medium q=12: 55,176.7 kbps, VMAF 99.974x264 (H.264) · preset medium q=8: 97,828.2 kbps, VMAF 99.986x264 (H.264) · preset medium q=4: 147,731.5 kbps, VMAF 99.987x264 (H.264) · preset medium q=0: 205,683.8 kbps, VMAF 99.99x264 (H.264) · preset slower q=12: 55,988.9 kbps, VMAF 99.982x264 (H.264) · preset slower q=8: 97,784.1 kbps, VMAF 99.986x264 (H.264) · preset slower q=4: 148,972.3 kbps, VMAF 99.988x264 (H.264) · preset slower q=0: 204,807 kbps, VMAF 99.99x265 (HEVC) · preset medium q=12: 40,340.4 kbps, VMAF 99.964x265 (HEVC) · preset medium q=8: 75,034 kbps, VMAF 99.986x265 (HEVC) · preset medium q=4: 118,933.8 kbps, VMAF 99.988x265 (HEVC) · preset medium q=0: 171,389.6 kbps, VMAF 99.989x265 (HEVC) · preset slow q=12: 50,081.4 kbps, VMAF 99.985x265 (HEVC) · preset slow q=8: 87,346.5 kbps, VMAF 99.987x265 (HEVC) · preset slow q=4: 129,978.9 kbps, VMAF 99.988x265 (HEVC) · preset slow q=0: 184,233 kbps, VMAF 99.989SVT-AV1 (AV1) q=18: 10,010.6 kbps, VMAF 99.544SVT-AV1 (AV1) q=12: 24,785.9 kbps, VMAF 99.908SVT-AV1 (AV1) q=6: 69,777.9 kbps, VMAF 99.985SVT-AV1 (AV1) q=1: 177,035.9 kbps, VMAF 99.99
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1)
pedestrian_area — pedestrian street — file size vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 81177,035.9 kbps99.99100.0054.8513.7155.0
SVT-AV1 (AV1) · preset 8669,777.9 kbps99.98100.0047.9744.5440.5
SVT-AV1 (AV1) · preset 81224,785.9 kbps99.9199.3044.0755.2933.3
SVT-AV1 (AV1) · preset 81810,010.6 kbps99.5497.5742.5666.7928.8
x264 (H.264) · preset ultrafast0241,339.1 kbps99.99100.0060.00166.225.8
x264 (H.264) · preset ultrafast4183,187.2 kbps99.99100.0052.99173.976.2
x264 (H.264) · preset ultrafast8132,005.1 kbps99.99100.0050.10190.695.7
x264 (H.264) · preset ultrafast1283,440.7 kbps99.98100.0046.87210.615.1
x264 (H.264) · preset medium0205,683.8 kbps99.99100.0060.0011.1688.2
x264 (H.264) · preset medium4147,731.5 kbps99.99100.0053.198.49112.8
x264 (H.264) · preset medium897,828.2 kbps99.99100.0049.649.5198.9
x264 (H.264) · preset medium1255,176.7 kbps99.97100.0046.0510.8582.5
x264 (H.264) · preset slower0204,807 kbps99.99100.0060.004.87197.2
x264 (H.264) · preset slower4148,972.3 kbps99.99100.0053.672.17443.2
x264 (H.264) · preset slower897,784.1 kbps99.99100.0049.892.59372.9
x264 (H.264) · preset slower1255,988.9 kbps99.98100.0046.253.16293.6
x265 (HEVC) · preset medium0171,389.6 kbps99.99100.0055.501.83537.4
x265 (HEVC) · preset medium4118,933.8 kbps99.99100.0051.832.12462.9
x265 (HEVC) · preset medium875,034 kbps99.99100.0048.662.63374.3
x265 (HEVC) · preset medium1240,340.4 kbps99.9699.7845.653.95250.4
x265 (HEVC) · preset slow0184,233 kbps99.99100.0057.641.14858.6
x265 (HEVC) · preset slow4129,978.9 kbps99.99100.0053.421.28770.2
x265 (HEVC) · preset slow887,346.5 kbps99.99100.0050.151.43683.9
x265 (HEVC) · preset slow1250,081.4 kbps99.98100.0046.811.89518.9
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (small ripples)

9010050MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=12: 98,011.4 kbps, VMAF 99.984x264 (H.264) · preset ultrafast q=8: 142,262.1 kbps, VMAF 99.986x264 (H.264) · preset ultrafast q=4: 199,708 kbps, VMAF 99.989x264 (H.264) · preset ultrafast q=0: 285,715.8 kbps, VMAF 99.99x264 (H.264) · preset medium q=12: 84,390.6 kbps, VMAF 99.98x264 (H.264) · preset medium q=8: 125,775 kbps, VMAF 99.985x264 (H.264) · preset medium q=4: 176,794.3 kbps, VMAF 99.987x264 (H.264) · preset medium q=0: 252,955.1 kbps, VMAF 99.99x264 (H.264) · preset slower q=12: 82,805.5 kbps, VMAF 99.982x264 (H.264) · preset slower q=8: 123,492.1 kbps, VMAF 99.985x264 (H.264) · preset slower q=4: 175,622.1 kbps, VMAF 99.987x264 (H.264) · preset slower q=0: 252,776.6 kbps, VMAF 99.99x265 (HEVC) · preset medium q=12: 68,224.4 kbps, VMAF 99.981x265 (HEVC) · preset medium q=8: 102,867.9 kbps, VMAF 99.985x265 (HEVC) · preset medium q=4: 146,329.3 kbps, VMAF 99.987x265 (HEVC) · preset medium q=0: 203,988.1 kbps, VMAF 99.989x265 (HEVC) · preset slow q=12: 78,488.3 kbps, VMAF 99.984x265 (HEVC) · preset slow q=8: 119,919.8 kbps, VMAF 99.987x265 (HEVC) · preset slow q=4: 162,551.4 kbps, VMAF 99.988x265 (HEVC) · preset slow q=0: 223,307.3 kbps, VMAF 99.989SVT-AV1 (AV1) q=18: 36,835.6 kbps, VMAF 99.98SVT-AV1 (AV1) q=12: 61,993 kbps, VMAF 99.984SVT-AV1 (AV1) q=6: 114,555.5 kbps, VMAF 99.987SVT-AV1 (AV1) q=1: 254,393.2 kbps, VMAF 99.99
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1)
riverbed — riverbed (small ripples) — file size vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 81254,393.2 kbps99.99100.0056.1711.81169.7
SVT-AV1 (AV1) · preset 86114,555.5 kbps99.99100.0048.1535.1651.8
SVT-AV1 (AV1) · preset 81261,993 kbps99.98100.0043.6742.3943.6
SVT-AV1 (AV1) · preset 81836,835.6 kbps99.98100.0041.2752.0538.3
x264 (H.264) · preset ultrafast0285,715.8 kbps99.99100.0060.00149.796.2
x264 (H.264) · preset ultrafast4199,708 kbps99.99100.0050.09162.556.6
x264 (H.264) · preset ultrafast8142,262.1 kbps99.99100.0046.37176.36.1
x264 (H.264) · preset ultrafast1298,011.4 kbps99.98100.0043.32192.165.9
x264 (H.264) · preset medium0252,955.1 kbps99.99100.0060.0011.4684.7
x264 (H.264) · preset medium4176,794.3 kbps99.99100.0051.768.96114.8
x264 (H.264) · preset medium8125,775 kbps99.98100.0048.519.73105.0
x264 (H.264) · preset medium1284,390.6 kbps99.98100.0045.1610.5897.5
x264 (H.264) · preset slower0252,776.6 kbps99.99100.0060.004.17231.8
x264 (H.264) · preset slower4175,622.1 kbps99.99100.0051.951.91503.0
x264 (H.264) · preset slower8123,492.1 kbps99.98100.0048.482.17446.2
x264 (H.264) · preset slower1282,805.5 kbps99.98100.0044.982.49388.2
x265 (HEVC) · preset medium0203,988.1 kbps99.99100.0053.941.52643.7
x265 (HEVC) · preset medium4146,329.3 kbps99.99100.0050.631.67584.5
x265 (HEVC) · preset medium8102,867.9 kbps99.98100.0047.511.9514.2
x265 (HEVC) · preset medium1268,224.4 kbps99.98100.0044.392.36413.4
x265 (HEVC) · preset slow0223,307.3 kbps99.99100.0056.260.961020.2
x265 (HEVC) · preset slow4162,551.4 kbps99.99100.0052.080.951023.3
x265 (HEVC) · preset slow8119,919.8 kbps99.99100.0049.131971.9
x265 (HEVC) · preset slow1278,488.3 kbps99.98100.0045.641.16842.3
riverbed — riverbed (small ripples) — all measurements

rush_hour — rush-hour traffic

9010010M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset ultrafast q=12: 91,793.6 kbps, VMAF 99.965x264 (H.264) · preset ultrafast q=8: 139,564.3 kbps, VMAF 99.986x264 (H.264) · preset ultrafast q=4: 195,014.9 kbps, VMAF 99.989x264 (H.264) · preset ultrafast q=0: 244,558.3 kbps, VMAF 99.99x264 (H.264) · preset medium q=12: 63,880.5 kbps, VMAF 99.804x264 (H.264) · preset medium q=8: 107,244 kbps, VMAF 99.986x264 (H.264) · preset medium q=4: 159,209.2 kbps, VMAF 99.987x264 (H.264) · preset medium q=0: 209,618.1 kbps, VMAF 99.99x264 (H.264) · preset slower q=12: 63,991.9 kbps, VMAF 99.915x264 (H.264) · preset slower q=8: 106,821.3 kbps, VMAF 99.986x264 (H.264) · preset slower q=4: 161,701.1 kbps, VMAF 99.988x264 (H.264) · preset slower q=0: 208,973.9 kbps, VMAF 99.99x265 (HEVC) · preset medium q=12: 41,227.9 kbps, VMAF 99.361x265 (HEVC) · preset medium q=8: 75,840.6 kbps, VMAF 99.978x265 (HEVC) · preset medium q=4: 120,248.1 kbps, VMAF 99.988x265 (HEVC) · preset medium q=0: 174,823.7 kbps, VMAF 99.989x265 (HEVC) · preset slow q=12: 49,612.3 kbps, VMAF 99.868x265 (HEVC) · preset slow q=8: 87,508.5 kbps, VMAF 99.987x265 (HEVC) · preset slow q=4: 131,394.6 kbps, VMAF 99.988x265 (HEVC) · preset slow q=0: 190,941.9 kbps, VMAF 99.99SVT-AV1 (AV1) q=18: 8,704.1 kbps, VMAF 96.937SVT-AV1 (AV1) q=12: 23,646.5 kbps, VMAF 98.902SVT-AV1 (AV1) q=6: 72,894.3 kbps, VMAF 99.972SVT-AV1 (AV1) q=1: 187,467.5 kbps, VMAF 99.99
x264 (H.264) · preset ultrafastx264 (H.264) · preset mediumx264 (H.264) · preset slowerx265 (HEVC) · preset mediumx265 (HEVC) · preset slowSVT-AV1 (AV1)
rush_hour — rush-hour traffic — file size vs. VMAF
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
SVT-AV1 (AV1) · preset 81187,467.5 kbps99.99100.0055.9114.32147.9
SVT-AV1 (AV1) · preset 8672,894.3 kbps99.9799.9448.0442.9141.3
SVT-AV1 (AV1) · preset 81223,646.5 kbps98.9097.1244.1256.3434.0
SVT-AV1 (AV1) · preset 8188,704.1 kbps96.9494.4342.9165.8228.7
x264 (H.264) · preset ultrafast0244,558.3 kbps99.99100.0060.00164.585.8
x264 (H.264) · preset ultrafast4195,014.9 kbps99.99100.0053.57160.676.6
x264 (H.264) · preset ultrafast8139,564.3 kbps99.99100.0050.36181.036.0
x264 (H.264) · preset ultrafast1291,793.6 kbps99.9799.7847.52202.435.4
x264 (H.264) · preset medium0209,618.1 kbps99.99100.0060.0010.1297.3
x264 (H.264) · preset medium4159,209.2 kbps99.99100.0053.497.72123.7
x264 (H.264) · preset medium8107,244 kbps99.99100.0050.008.63110.9
x264 (H.264) · preset medium1263,880.5 kbps99.8099.2546.6510.2293.4
x264 (H.264) · preset slower0208,973.9 kbps99.99100.0060.004.27226.0
x264 (H.264) · preset slower4161,701.1 kbps99.99100.0054.081.82522.1
x264 (H.264) · preset slower8106,821.3 kbps99.99100.0050.232.17443.3
x264 (H.264) · preset slower1263,991.9 kbps99.9299.5746.802.67355.3
x265 (HEVC) · preset medium0174,823.7 kbps99.99100.0055.241.64601.4
x265 (HEVC) · preset medium4120,248.1 kbps99.99100.0051.641.62566.4
x265 (HEVC) · preset medium875,840.6 kbps99.9899.9348.552.33419.7
x265 (HEVC) · preset medium1241,227.9 kbps99.3698.5745.593.52279.5
x265 (HEVC) · preset slow0190,941.9 kbps99.99100.0057.470.91014.6
x265 (HEVC) · preset slow4131,394.6 kbps99.99100.0053.091.05878.6
x265 (HEVC) · preset slow887,508.5 kbps99.99100.0049.971.28766.2
x265 (HEVC) · preset slow1249,612.3 kbps99.8799.4346.711.65592.8
rush_hour — rush-hour traffic — all measurements

How to read it, and what we observed

1. Is x264 CRF 0 really lossless?

  • In the x264 CRF 0 rows, psnr_y was 60.0 and vmaf_min was 97.428 for all three presets and all four clips. Identical values across different clips suggest these numbers are a measurement ceiling rather than a loss that depends on the content. We did not compare against the original bit for bit (for example with hashes), so 'lossless' here is a judgment that combines the known fact that x264 CRF 0 is a lossless mode in 8-bit with this indirect evidence.
  • Mean VMAF was 99.988 (blue_sky) or 99.990 (the other three), not 100. The same vmaf_min of 97.428 also appeared for all four clips at SVT-AV1 CRF 1, which suggests this metric has a ceiling that keeps it below 100 even for identical video. We could not confirm the reason from the data.
  • x265 CRF 0 and SVT-AV1 CRF 1 had finite psnr_y. x265 medium CRF 0 was 53.937–55.501 dB, x265 slow CRF 0 was 56.262–57.641 dB, and SVT-AV1 CRF 1 was 54.748–56.171 dB. Because these fall short of 60.0, this article classifies them as near-lossless.

2. How many times larger is lossless than viewing-quality CRF 23? (x264 medium)

The baseline is the value from GB per hour at default CRF (measured 2026-11-17), where the same clips were encoded with x264 medium CRF 23. The uncompressed YUV size is calculated as 1920×1080×1.5 bytes×250 frames = 777,600,000 B (yuv420p 8-bit is 1.5 bytes per pixel). Bitrate is the CSV's kbps converted to Mbps.

ClipCRF 0 size (medium)Bitratevs. raw YUVCRF 23 sizeCRF 0 ÷ CRF 23
blue_sky234,776,904 B187.8 Mbps30.2%6,682,829 B35.1x
pedestrian_area257,104,705 B205.7 Mbps33.1%5,847,338 B44.0x
riverbed316,193,849 B253.0 Mbps40.7%25,978,162 B12.2x
rush_hour262,022,635 B209.6 Mbps33.7%5,635,284 B46.5x

Multiples and ratios are rounded to one decimal place. Raw YUV is 777,600,000 B (622.08 Mbps as a bitrate).

  • Lossless sizes were close to each other across clips, at 234–316 MB, while CRF 23 sizes varied widely, from 5.6 to 26 MB. So the multiple is large for easy footage (rush_hour 46.5x, pedestrian_area 44.0x, blue_sky 35.1x) and smallest, at 12.2x, for riverbed, which is already large at CRF 23. In other words, lossless takes up roughly the same size whether the footage is easy or hard.
  • Even lossless came to about one third of raw YUV (30–41%). That is roughly 2.5–3.3x compression versus uncompressed.

Scaled to one hour of video (equal to 360 of these 10-second clips, assuming scenes of the same character throughout, with 1 GB = 1 billion bytes), the numbers are below. They are rough estimates that rest on this assumption.

ClipRaw YUVx264 medium CRF 0x264 medium CRF 23
blue_sky279.9 GB84.5 GB2.4 GB
pedestrian_area279.9 GB92.6 GB2.1 GB
riverbed279.9 GB113.8 GB9.4 GB
rush_hour279.9 GB94.3 GB2.0 GB

10-second size × 360. To run your own numbers, use the video bitrate and file size calculator.

3. What if you raise CRF just a little from 0? (x264 medium)

ClipCRF 4CRF 8CRF 12CRF 12 mean VMAF / p5CRF 0 ÷ CRF 12
blue_sky (size vs. CRF 0)0.69x0.46x0.26x99.986 / 100.03.8x
pedestrian_area0.72x0.48x0.27x99.974 / 100.03.7x
riverbed0.70x0.50x0.33x99.980 / 100.03.0x
rush_hour0.76x0.51x0.30x99.804 / 99.2553.3x

x264 medium, ratio of size_bytes (rounded to two decimals). 'CRF 0 ÷ CRF 12' is the CRF 0 size relative to the CRF 12 size.

ClipCRF 4 ÷ CRF 23CRF 8 ÷ CRF 23CRF 12 ÷ CRF 23
blue_sky24.1x16.0x9.2x
pedestrian_area31.6x20.9x11.8x
riverbed8.5x6.1x4.1x
rush_hour35.3x23.8x14.2x

The x264 medium size at each CRF divided by the CRF 23 size of the same clip (default-crf-gb-per-hour-v1). Rounded to one decimal place.

  • From CRF 0 to 4, mean VMAF fell by only 0.001–0.003 points. The mean for x264 medium CRF 4 is 99.987 for all four clips, and for CRF 0 it is 99.988–99.990. File size dropped 24–31% in that step.
  • From CRF 0 to 8, the 5th percentile (p5) was 100.0 for all four clips. Within this article's range, p5 stayed at 99 or higher up to CRF 12 (rush_hour was lowest at 99.255). This fits with the earlier high-quality CRF range test, where rush_hour's sufficient point for x264 was CRF 10. We did not measure any value above CRF 12, so all we can say about the upper boundary of the 'point where going lower is pointless' is that it is CRF 12 or higher.
  • PSNR kept falling. For x264 medium, CRF 0 (60.0) → 4 (51.755–53.488 dB) → 8 (48.512–49.998 dB) → 12 (45.165–46.646 dB). Pixel error grows even while VMAF stays flat. This data cannot tell us whether that difference is visible, or whether it accumulates in re-editing.
  • vmaf_min also dropped, from 97.428 at CRF 0 to 95.109–96.914 at CRF 12 (medium; 95.755 for rush_hour). This is a difference in a small number of frames that mean and p5 do not capture.

4. How much does the preset change lossless size and time? (x264)

Clipultrafast CRF 0medium CRF 0slower CRF 0ultrafast ÷ mediumslower ÷ medium
blue_sky285,385,131 B234,776,904 B234,177,927 B1.22x0.997x
pedestrian_area301,673,881 B257,104,705 B256,008,798 B1.17x0.996x
riverbed357,144,697 B316,193,849 B315,970,750 B1.13x0.999x
rush_hour305,697,829 B262,022,635 B261,217,336 B1.17x0.997x

Ratio of size_bytes, rounded to two decimals (three decimals for slower ÷ medium).

Clipultrafast CPU timemedium CPU timeslower CPU timemedium ÷ ultrafastslower ÷ medium
blue_sky5.2 s67.4 s134.8 s13.0x2.0x
pedestrian_area5.8 s88.2 s197.2 s15.3x2.2x
riverbed6.2 s84.7 s231.8 s13.6x2.7x
rush_hour5.8 s97.3 s226.0 s16.8x2.3x

CPU time is the CSV's utime_s (CPU seconds spent encoding the 10-second clip). Measured once under IDLE priority, so use it as a rough guide. Processing speed fps_rt, based on wall-clock time (rtime), was 149.79–183.28 for ultrafast, 10.12–14.64 for medium and 4.17–7.25 for slower.

  • Moving the preset up to slower shrank lossless files by only 0.1–0.4%. CPU time, on the other hand, was 2.0–2.7x that of medium. For lossless, the slower preset barely paid for itself.
  • ultrafast made files 13–22% larger but used only 1/13 to 1/17 of medium's CPU time. If you only need to capture quickly on location, this is the size penalty in numbers. The easier the footage (blue_sky), the bigger ultrafast's size penalty, and riverbed had the smallest.
  • The common expectation that 'preset differences are larger at lossless' did not hold in this data. The ultrafast ÷ medium size ratio was 1.13–1.22x at CRF 0, but 1.13–1.26x at CRF 4, 1.13–1.38x at CRF 8, and 1.16–1.61x at CRF 12, so the gap actually widened as CRF went up (table below).
Clip (ultrafast ÷ medium size)CRF 0CRF 4CRF 8CRF 12
blue_sky1.221.261.381.61
pedestrian_area1.171.241.351.51
riverbed1.131.131.131.16
rush_hour1.171.221.301.44

x264, ratio of size_bytes. Even at the same CRF, the quality (VMAF) gap between the two presets can widen as CRF rises (for example, rush_hour at CRF 12 is 99.965 for ultrafast and 99.804 for medium), so this is not a size ratio at equal quality. For equal-quality comparisons, see the x264 preset speed test.

At the same CRF, slower and medium were also close in size at CRF 4, 8 and 12. The slower ÷ medium ratio was 1.02–1.03x for blue_sky and 0.98–0.99x for riverbed, and across clips it stayed within −1.9% to +3.1% (at CRF 0 it was −0.4% to −0.1%). So in this range the preset barely changed the file size at a given CRF and mostly changed the time.

5. Near-lossless x265 and SVT-AV1 (not a codec comparison)

Clipx265 medium CRF 0x265 slow CRF 0SVT-AV1 CRF 1SVT-AV1 CRF 6
blue_sky184,366,024 B / 55.4 dB200,752,647 B / 57.2 dB183,644,075 B / 54.7 dB71,903,392 B / 47.6 dB
pedestrian_area214,237,044 B / 55.5 dB230,291,255 B / 57.6 dB221,294,876 B / 54.9 dB87,222,366 B / 48.0 dB
riverbed254,985,106 B / 53.9 dB279,134,144 B / 56.3 dB317,991,541 B / 56.2 dB143,194,372 B / 48.2 dB
rush_hour218,529,658 B / 55.2 dB238,677,329 B / 57.5 dB234,334,331 B / 55.9 dB91,117,836 B / 48.0 dB

Size / psnr_y (dB). At these values x265 and SVT-AV1 have finite PSNR, so they are not lossless. Do not compare a row's size with x264 CRF 0 and read it as a codec ranking.

  • For x265 at CRF 0, slow produced files 7.5–9.5% larger than medium. PSNR was also 1.8–2.3 dB higher (slow 56.262–57.641, medium 53.937–55.501), so the file was closer to the original. This should be read not as 'the slower preset is bigger' but as 'the same CRF 0 is a different point on each preset.' CPU time for slow was 1.6–1.7x that of medium (by utime).
  • For SVT-AV1, going from CRF 1 to 6 cut file size by 39–45% (blue_sky 39.2%, pedestrian_area 39.4%, riverbed 45.0%, rush_hour 38.9%) while mean VMAF fell by only 0.002–0.018 points. CPU time at CRF 1 was 3.3–3.8x that at CRF 6 (utime). For x265 medium, CRF 0→4 also brought size to 0.69–0.72x (for example, 131,347,726 B for blue_sky), and the change in mean VMAF was 0.002 points or less (99.988–99.989 → 99.987–99.988).
  • At SVT-AV1 CRF 12 and 18, VMAF barely changed on easy footage, but complex footage behaved differently. At CRF 18, blue_sky was 18,092,148 B with VMAF 99.985, but pedestrian_area was 12,513,245 B with 99.544, and rush_hour was 10,880,114 B with a mean of 96.937 (p5 94.432). This range is not near-lossless.

Limitations

  • There are only four 10-second clips. They differ in character (scenery, city, ripples), but animation, screen recordings, dark footage and noisy film footage are missing. Noisy sources are expected to produce larger lossless files, but this data did not check that.
  • 'Lossless' was judged from indirect evidence. We did not do a bit-for-bit comparison with the original, and psnr_y 60.0 looks like a cap value. We also could not confirm why VMAF is 99.988–99.990 rather than 100.
  • The one-hour scaling is a rough estimate. It is simply the 10-second size multiplied by 360, and real footage varies a lot from scene to scene. Audio size is not included.
  • Only four CRF steps were measured. We did not measure above x264 CRF 12 in this article. The boundary of 'the point where VMAF hits its limit and going lower is pointless' should be read together with the 7-point measurement in the earlier article.
  • Only 8-bit yuv420p was measured. 10-bit, HDR, and dedicated archival codecs such as ProRes and FFV1 are not covered. We also did not measure generation loss from repeated editing and re-encoding.
  • One PC, one run. We did not repeat runs to estimate error, and wall-clock time fluctuates because of the IDLE priority. Speeds are for reference only. The CRF 23 sizes used as the baseline were measured on a different day (2026-11-17), and their CPU times are from a different date than this run.

Practical recommendations

  • The price of 'archive it lossless' is about 85–114 GB per hour of 1080p video (x264 medium, scaled). That is 12–47x the size at CRF 23 for viewing, so work out storage and backup costs first. A notable feature in this data is that lossless size did not depend much on the footage.
  • If you truly need lossless, there is almost no reason to move x264 CRF 0 to the slower preset. In this data it shrank files by only 0.1–0.4% while CPU time rose 2.0–2.7x. If you are short on time, the numbers support choosing ultrafast: 13–22% more space in exchange for 1/13 to 1/17 of the CPU time.
  • If what you want is 'an archive that looks identical,' consider CRF 4–12 instead of CRF 0. In this test, x264 medium CRF 4 differed from CRF 0 by only 0.001–0.003 points of mean VMAF at 0.69–0.76x the size, and CRF 12 came to 0.26–0.33x. However, VMAF is insensitive above 99 and PSNR keeps falling, so for sources that will be re-edited or color graded, do not trust this article's numbers as-is; verify with your own footage.
  • Do not call x265 CRF 0 or SVT-AV1 CRF 1 'lossless.' PSNR was finite at 53.9–57.6 dB. For work that requires true lossless, it is safer to use a setting that guarantees it.
  • For how file size changes at higher CRF values, see [file size and VMAF per CRF step](/en/lab/crf-step-size-rule-v1); for differences between types of footage, see [CRF by content type](/en/lab/crf-by-content-v1); and for the CRF that fits a target quality, use the [CRF recommender](/en/tools/crf-recommender).

The full raw data can be downloaded as a CSV at the bottom of the page. You can recompute the multiples and ratios in the tables yourself from the CSV's size_bytes, utime_s, vmaf_mean and psnr_y.

Raw data: lossless-crf0-archive-cost-v1.csv