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)
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.
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
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
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
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) · preset 8 | 1 | 146,915.3 kbps | 99.99 | 100.00 | 54.75 | 17.39 | 117.4 |
| SVT-AV1 (AV1) · preset 8 | 6 | 57,522.7 kbps | 99.99 | 100.00 | 47.58 | 52.91 | 33.8 |
| SVT-AV1 (AV1) · preset 8 | 12 | 26,160.8 kbps | 99.98 | 100.00 | 44.82 | 63.05 | 28.0 |
| SVT-AV1 (AV1) · preset 8 | 18 | 14,473.7 kbps | 99.98 | 100.00 | 43.09 | 69.83 | 24.9 |
| x264 (H.264) · preset ultrafast | 0 | 228,308.1 kbps | 99.99 | 100.00 | 60.00 | 183.28 | 5.2 |
| x264 (H.264) · preset ultrafast | 4 | 162,972.9 kbps | 99.99 | 100.00 | 53.15 | 201.78 | 5.4 |
| x264 (H.264) · preset ultrafast | 8 | 118,469.7 kbps | 99.99 | 100.00 | 50.13 | 215.7 | 4.8 |
| x264 (H.264) · preset ultrafast | 12 | 78,899.1 kbps | 99.98 | 100.00 | 47.07 | 239.46 | 4.4 |
| x264 (H.264) · preset medium | 0 | 187,821.5 kbps | 99.99 | 100.00 | 60.00 | 14.64 | 67.4 |
| x264 (H.264) · preset medium | 4 | 129,043.6 kbps | 99.99 | 100.00 | 52.68 | 10.35 | 90.0 |
| x264 (H.264) · preset medium | 8 | 85,748 kbps | 99.99 | 100.00 | 48.90 | 11.29 | 78.3 |
| x264 (H.264) · preset medium | 12 | 48,952.6 kbps | 99.99 | 100.00 | 45.60 | 12.83 | 65.0 |
| x264 (H.264) · preset slower | 0 | 187,342.3 kbps | 99.99 | 100.00 | 60.00 | 7.25 | 134.8 |
| x264 (H.264) · preset slower | 4 | 131,865.2 kbps | 99.99 | 100.00 | 53.17 | 2.96 | 316.0 |
| x264 (H.264) · preset slower | 8 | 87,642.6 kbps | 99.99 | 100.00 | 49.22 | 3.39 | 269.3 |
| x264 (H.264) · preset slower | 12 | 50,486.6 kbps | 99.99 | 100.00 | 45.84 | 3.97 | 217.2 |
| x265 (HEVC) · preset medium | 0 | 147,492.8 kbps | 99.99 | 100.00 | 55.36 | 2.21 | 444.9 |
| x265 (HEVC) · preset medium | 4 | 105,078.2 kbps | 99.99 | 100.00 | 51.81 | 2.58 | 380.9 |
| x265 (HEVC) · preset medium | 8 | 67,684.9 kbps | 99.99 | 100.00 | 48.56 | 3.33 | 296.0 |
| x265 (HEVC) · preset medium | 12 | 37,856.2 kbps | 99.99 | 100.00 | 45.73 | 5.08 | 195.1 |
| x265 (HEVC) · preset slow | 0 | 160,602.1 kbps | 99.99 | 100.00 | 57.18 | 1.35 | 725.4 |
| x265 (HEVC) · preset slow | 4 | 118,120.5 kbps | 99.99 | 100.00 | 53.80 | 1.56 | 627.7 |
| x265 (HEVC) · preset slow | 8 | 79,502.3 kbps | 99.99 | 100.00 | 50.12 | 1.85 | 530.8 |
| x265 (HEVC) · preset slow | 12 | 45,803.6 kbps | 99.99 | 100.00 | 46.89 | 2.56 | 385.2 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) · preset 8 | 1 | 177,035.9 kbps | 99.99 | 100.00 | 54.85 | 13.7 | 155.0 |
| SVT-AV1 (AV1) · preset 8 | 6 | 69,777.9 kbps | 99.98 | 100.00 | 47.97 | 44.54 | 40.5 |
| SVT-AV1 (AV1) · preset 8 | 12 | 24,785.9 kbps | 99.91 | 99.30 | 44.07 | 55.29 | 33.3 |
| SVT-AV1 (AV1) · preset 8 | 18 | 10,010.6 kbps | 99.54 | 97.57 | 42.56 | 66.79 | 28.8 |
| x264 (H.264) · preset ultrafast | 0 | 241,339.1 kbps | 99.99 | 100.00 | 60.00 | 166.22 | 5.8 |
| x264 (H.264) · preset ultrafast | 4 | 183,187.2 kbps | 99.99 | 100.00 | 52.99 | 173.97 | 6.2 |
| x264 (H.264) · preset ultrafast | 8 | 132,005.1 kbps | 99.99 | 100.00 | 50.10 | 190.69 | 5.7 |
| x264 (H.264) · preset ultrafast | 12 | 83,440.7 kbps | 99.98 | 100.00 | 46.87 | 210.61 | 5.1 |
| x264 (H.264) · preset medium | 0 | 205,683.8 kbps | 99.99 | 100.00 | 60.00 | 11.16 | 88.2 |
| x264 (H.264) · preset medium | 4 | 147,731.5 kbps | 99.99 | 100.00 | 53.19 | 8.49 | 112.8 |
| x264 (H.264) · preset medium | 8 | 97,828.2 kbps | 99.99 | 100.00 | 49.64 | 9.51 | 98.9 |
| x264 (H.264) · preset medium | 12 | 55,176.7 kbps | 99.97 | 100.00 | 46.05 | 10.85 | 82.5 |
| x264 (H.264) · preset slower | 0 | 204,807 kbps | 99.99 | 100.00 | 60.00 | 4.87 | 197.2 |
| x264 (H.264) · preset slower | 4 | 148,972.3 kbps | 99.99 | 100.00 | 53.67 | 2.17 | 443.2 |
| x264 (H.264) · preset slower | 8 | 97,784.1 kbps | 99.99 | 100.00 | 49.89 | 2.59 | 372.9 |
| x264 (H.264) · preset slower | 12 | 55,988.9 kbps | 99.98 | 100.00 | 46.25 | 3.16 | 293.6 |
| x265 (HEVC) · preset medium | 0 | 171,389.6 kbps | 99.99 | 100.00 | 55.50 | 1.83 | 537.4 |
| x265 (HEVC) · preset medium | 4 | 118,933.8 kbps | 99.99 | 100.00 | 51.83 | 2.12 | 462.9 |
| x265 (HEVC) · preset medium | 8 | 75,034 kbps | 99.99 | 100.00 | 48.66 | 2.63 | 374.3 |
| x265 (HEVC) · preset medium | 12 | 40,340.4 kbps | 99.96 | 99.78 | 45.65 | 3.95 | 250.4 |
| x265 (HEVC) · preset slow | 0 | 184,233 kbps | 99.99 | 100.00 | 57.64 | 1.14 | 858.6 |
| x265 (HEVC) · preset slow | 4 | 129,978.9 kbps | 99.99 | 100.00 | 53.42 | 1.28 | 770.2 |
| x265 (HEVC) · preset slow | 8 | 87,346.5 kbps | 99.99 | 100.00 | 50.15 | 1.43 | 683.9 |
| x265 (HEVC) · preset slow | 12 | 50,081.4 kbps | 99.98 | 100.00 | 46.81 | 1.89 | 518.9 |
riverbed — riverbed (small ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) · preset 8 | 1 | 254,393.2 kbps | 99.99 | 100.00 | 56.17 | 11.81 | 169.7 |
| SVT-AV1 (AV1) · preset 8 | 6 | 114,555.5 kbps | 99.99 | 100.00 | 48.15 | 35.16 | 51.8 |
| SVT-AV1 (AV1) · preset 8 | 12 | 61,993 kbps | 99.98 | 100.00 | 43.67 | 42.39 | 43.6 |
| SVT-AV1 (AV1) · preset 8 | 18 | 36,835.6 kbps | 99.98 | 100.00 | 41.27 | 52.05 | 38.3 |
| x264 (H.264) · preset ultrafast | 0 | 285,715.8 kbps | 99.99 | 100.00 | 60.00 | 149.79 | 6.2 |
| x264 (H.264) · preset ultrafast | 4 | 199,708 kbps | 99.99 | 100.00 | 50.09 | 162.55 | 6.6 |
| x264 (H.264) · preset ultrafast | 8 | 142,262.1 kbps | 99.99 | 100.00 | 46.37 | 176.3 | 6.1 |
| x264 (H.264) · preset ultrafast | 12 | 98,011.4 kbps | 99.98 | 100.00 | 43.32 | 192.16 | 5.9 |
| x264 (H.264) · preset medium | 0 | 252,955.1 kbps | 99.99 | 100.00 | 60.00 | 11.46 | 84.7 |
| x264 (H.264) · preset medium | 4 | 176,794.3 kbps | 99.99 | 100.00 | 51.76 | 8.96 | 114.8 |
| x264 (H.264) · preset medium | 8 | 125,775 kbps | 99.98 | 100.00 | 48.51 | 9.73 | 105.0 |
| x264 (H.264) · preset medium | 12 | 84,390.6 kbps | 99.98 | 100.00 | 45.16 | 10.58 | 97.5 |
| x264 (H.264) · preset slower | 0 | 252,776.6 kbps | 99.99 | 100.00 | 60.00 | 4.17 | 231.8 |
| x264 (H.264) · preset slower | 4 | 175,622.1 kbps | 99.99 | 100.00 | 51.95 | 1.91 | 503.0 |
| x264 (H.264) · preset slower | 8 | 123,492.1 kbps | 99.98 | 100.00 | 48.48 | 2.17 | 446.2 |
| x264 (H.264) · preset slower | 12 | 82,805.5 kbps | 99.98 | 100.00 | 44.98 | 2.49 | 388.2 |
| x265 (HEVC) · preset medium | 0 | 203,988.1 kbps | 99.99 | 100.00 | 53.94 | 1.52 | 643.7 |
| x265 (HEVC) · preset medium | 4 | 146,329.3 kbps | 99.99 | 100.00 | 50.63 | 1.67 | 584.5 |
| x265 (HEVC) · preset medium | 8 | 102,867.9 kbps | 99.98 | 100.00 | 47.51 | 1.9 | 514.2 |
| x265 (HEVC) · preset medium | 12 | 68,224.4 kbps | 99.98 | 100.00 | 44.39 | 2.36 | 413.4 |
| x265 (HEVC) · preset slow | 0 | 223,307.3 kbps | 99.99 | 100.00 | 56.26 | 0.96 | 1020.2 |
| x265 (HEVC) · preset slow | 4 | 162,551.4 kbps | 99.99 | 100.00 | 52.08 | 0.95 | 1023.3 |
| x265 (HEVC) · preset slow | 8 | 119,919.8 kbps | 99.99 | 100.00 | 49.13 | 1 | 971.9 |
| x265 (HEVC) · preset slow | 12 | 78,488.3 kbps | 99.98 | 100.00 | 45.64 | 1.16 | 842.3 |
rush_hour — rush-hour traffic
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) · preset 8 | 1 | 187,467.5 kbps | 99.99 | 100.00 | 55.91 | 14.32 | 147.9 |
| SVT-AV1 (AV1) · preset 8 | 6 | 72,894.3 kbps | 99.97 | 99.94 | 48.04 | 42.91 | 41.3 |
| SVT-AV1 (AV1) · preset 8 | 12 | 23,646.5 kbps | 98.90 | 97.12 | 44.12 | 56.34 | 34.0 |
| SVT-AV1 (AV1) · preset 8 | 18 | 8,704.1 kbps | 96.94 | 94.43 | 42.91 | 65.82 | 28.7 |
| x264 (H.264) · preset ultrafast | 0 | 244,558.3 kbps | 99.99 | 100.00 | 60.00 | 164.58 | 5.8 |
| x264 (H.264) · preset ultrafast | 4 | 195,014.9 kbps | 99.99 | 100.00 | 53.57 | 160.67 | 6.6 |
| x264 (H.264) · preset ultrafast | 8 | 139,564.3 kbps | 99.99 | 100.00 | 50.36 | 181.03 | 6.0 |
| x264 (H.264) · preset ultrafast | 12 | 91,793.6 kbps | 99.97 | 99.78 | 47.52 | 202.43 | 5.4 |
| x264 (H.264) · preset medium | 0 | 209,618.1 kbps | 99.99 | 100.00 | 60.00 | 10.12 | 97.3 |
| x264 (H.264) · preset medium | 4 | 159,209.2 kbps | 99.99 | 100.00 | 53.49 | 7.72 | 123.7 |
| x264 (H.264) · preset medium | 8 | 107,244 kbps | 99.99 | 100.00 | 50.00 | 8.63 | 110.9 |
| x264 (H.264) · preset medium | 12 | 63,880.5 kbps | 99.80 | 99.25 | 46.65 | 10.22 | 93.4 |
| x264 (H.264) · preset slower | 0 | 208,973.9 kbps | 99.99 | 100.00 | 60.00 | 4.27 | 226.0 |
| x264 (H.264) · preset slower | 4 | 161,701.1 kbps | 99.99 | 100.00 | 54.08 | 1.82 | 522.1 |
| x264 (H.264) · preset slower | 8 | 106,821.3 kbps | 99.99 | 100.00 | 50.23 | 2.17 | 443.3 |
| x264 (H.264) · preset slower | 12 | 63,991.9 kbps | 99.92 | 99.57 | 46.80 | 2.67 | 355.3 |
| x265 (HEVC) · preset medium | 0 | 174,823.7 kbps | 99.99 | 100.00 | 55.24 | 1.64 | 601.4 |
| x265 (HEVC) · preset medium | 4 | 120,248.1 kbps | 99.99 | 100.00 | 51.64 | 1.62 | 566.4 |
| x265 (HEVC) · preset medium | 8 | 75,840.6 kbps | 99.98 | 99.93 | 48.55 | 2.33 | 419.7 |
| x265 (HEVC) · preset medium | 12 | 41,227.9 kbps | 99.36 | 98.57 | 45.59 | 3.52 | 279.5 |
| x265 (HEVC) · preset slow | 0 | 190,941.9 kbps | 99.99 | 100.00 | 57.47 | 0.9 | 1014.6 |
| x265 (HEVC) · preset slow | 4 | 131,394.6 kbps | 99.99 | 100.00 | 53.09 | 1.05 | 878.6 |
| x265 (HEVC) · preset slow | 8 | 87,508.5 kbps | 99.99 | 100.00 | 49.97 | 1.28 | 766.2 |
| x265 (HEVC) · preset slow | 12 | 49,612.3 kbps | 99.87 | 99.43 | 46.71 | 1.65 | 592.8 |
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.
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.
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)
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.
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)
Ratio of size_bytes, rounded to two decimals (three decimals for slower ÷ medium).
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).
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)
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