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

How Much Bigger Do Noisy Videos Get? File Size and VMAF by Noise Strength for x264 and x265 (Low-Light Footage Simulated)

We added temporal synthetic noise with FFmpeg's noise filter (about alls=8 light, 20 medium, 40 strong) to four 10-second 1080p25 clips, encoded them with x264 and x265 at the medium preset at the same CRF, and compared file size with the noise-free version. At the lowest CRF, x264 files were about 1.56–5.90× larger with light noise, 5.48–24.77× with medium, and 7.92–35.21× with strong. For x265 the figures were about 1.37–2.90×, 5.73–28.59×, and 10.31–52.88×. The biggest jump was 58.36× for rush_hour with strong noise at x265 CRF 32. Conversely, at high CRF there were 11 cells where light or medium noise produced a smaller file than no noise.

The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)

Bottom line

At the same CRF, the stronger the noise, the more file size exploded. The biggest jump was 58.36× for rush_hour with strong noise at x265 CRF 32. At the lowest CRF (x264 22, x265 24), size relative to the noise-free file was about 1.56–5.90× (x264) and 1.37–2.90× (x265) for light noise (alls=8), 5.48–24.77× (x264) and 5.73–28.59× (x265) for medium (alls=20), and 7.92–35.21× (x264) and 10.31–52.88× (x265) for strong (alls=40). With strong noise, bitrate converged to a similar level regardless of the clip (x264 CRF 22 strong: 161.6–187.9 Mbps). In terms of content, riverbed, whose texture is already complex without noise, grew the least in 14 of the 18 light/medium/strong cells (for light noise, in only 3 of 6). On the other hand, at high CRF (x264 38, x265 40) there were 11 cells where light or medium noise actually gave a smaller file. VMAF is measured against the clean original from before the noise was added, so it drops structurally as noise gets stronger. The key metrics are the size multiplier and the bitrate; VMAF is secondary.

Why this matters

"Why is video shot at night so big?" is a common question in practice. In low light the camera raises sensor gain, which produces noise (grain) that differs from frame to frame, and encoders are known to treat that noise as "detail that has to be drawn" and spend bits on it. So we measured it directly: at the same CRF, how many times larger does a file get with a given amount of noise, and how much does that multiplier vary by type of video? Removing noise is covered in the hqdn3d pre-filter measurements, and the encoder-side handling of grain is covered in x264/x265 tune film and grain and SVT-AV1 film-grain synthesis. This article does the opposite: it adds noise at controlled strengths and measures the result.

A lower VMAF is not the encoder's fault

VMAF and PSNR were measured against the clean original from before the noise was added. A video with noise on top will differ from the clean original no matter how perfectly it is encoded, so the stronger the noise, the lower the score gets, structurally. That is a limitation of the measurement reference, not a failure of the encoder. So the key metrics in this article are "size multiplier versus no noise" and the actual bitrate, and VMAF is treated as secondary only. Also, the synthetic noise produced by a filter is not the same as real camera sensor noise (see Limitations).

Test method

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. Input is the original y4m, output is mkv (no audio)
LengthOnly the first 250 frames (10 seconds) of each clip
VMAFlibvmaf default model (vmaf_v0.6.1), measured per frame against the original from before the noise was added
Measured on2026-11-28 (4 clips × 8 settings × 3 quality values = 96 encodes)

VMAF is a quality metric from Netflix that compares the original and the encoded video frame by frame and scores it from 0 to 100. The "mean VMAF" in this article is vmaf_mean in the CSV, and "bottom 5%" is vmaf_p5. The noise filter is FFmpeg's noise generator. alls is the noise strength for all components, and allf=t means temporal noise that changes every frame. Because the noise is different in every frame, the encoder cannot reduce it by referencing earlier frames, which makes it hard to compress. We chose strengths of about 8 (light), 20 (medium), and 40 (strong). We did not measure which real shooting conditions these three values correspond to.

Encoder settings

Name (CSV preset column)EncoderQuality values (CRF), 3 stepsCommand (key options)
medium (no noise)x26422, 30, 38-c:v libx264 -preset medium -crf Q -threads 4
medium+n8 (light)x26422, 30, 38-vf noise=alls=8:allf=t -c:v libx264 -preset medium -crf Q -threads 4
medium+n20 (medium)x26422, 30, 38-vf noise=alls=20:allf=t -c:v libx264 -preset medium -crf Q -threads 4
medium+n40 (strong)x26422, 30, 38-vf noise=alls=40:allf=t -c:v libx264 -preset medium -crf Q -threads 4
medium (no noise)x26524, 32, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
medium+n8 (light)x26524, 32, 40-vf noise=alls=8:allf=t -c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
medium+n20 (medium)x26524, 32, 40-vf noise=alls=20:allf=t -c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
medium+n40 (strong)x26524, 32, 40-vf noise=alls=40:allf=t -c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error

Input and output paths are omitted. Each of the values above was substituted for Q one at a time. We set x265's CRF 2 higher than x264's to land in a similar VMAF range. Even so, the same CRF number does not mean the same quality, so we do not compare x264 and x265 file sizes directly; each is compared against its own no-noise baseline.

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 states "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).

Per-clip results (raw data)

In the curves, the horizontal axis is bitrate and the vertical axis is VMAF. No noise, light (+n8), medium (+n20), and strong (+n40) are drawn separately, so you can see the curve shift to the right (larger files) and sag downward (lower scores) as the noise gets stronger. The table lists file size, bitrate, VMAF, and bottom 5% for each CRF. Speed was measured at IDLE priority and fluctuates, so treat it as a rough reference only.

blue_sky — blue sky and tree branches

5060708090100500k1M2M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset medium q=38: 788.4 kbps, VMAF 76.256x264 (H.264) · preset medium q=30: 1,916.7 kbps, VMAF 98.224x264 (H.264) · preset medium q=22: 6,348.8 kbps, VMAF 99.976x264 (H.264) · preset medium+n8 q=38: 807.6 kbps, VMAF 72.703x264 (H.264) · preset medium+n8 q=30: 2,084.6 kbps, VMAF 97.399x264 (H.264) · preset medium+n8 q=22: 25,959.2 kbps, VMAF 99.965x264 (H.264) · preset medium+n20 q=38: 1,052 kbps, VMAF 67.186x264 (H.264) · preset medium+n20 q=30: 9,205 kbps, VMAF 92.574x264 (H.264) · preset medium+n20 q=22: 107,876.2 kbps, VMAF 98.459x264 (H.264) · preset medium+n40 q=38: 13,955.2 kbps, VMAF 60.97x264 (H.264) · preset medium+n40 q=30: 67,234.1 kbps, VMAF 78.993x264 (H.264) · preset medium+n40 q=22: 161,611.7 kbps, VMAF 82.17x265 (HEVC) · preset medium q=40: 489.1 kbps, VMAF 75.054x265 (HEVC) · preset medium q=32: 1,420.9 kbps, VMAF 95.756x265 (HEVC) · preset medium q=24: 4,608.6 kbps, VMAF 99.973x265 (HEVC) · preset medium+n8 q=40: 458.5 kbps, VMAF 72.126x265 (HEVC) · preset medium+n8 q=32: 1,526.3 kbps, VMAF 94.718x265 (HEVC) · preset medium+n8 q=24: 11,853.2 kbps, VMAF 99.962x265 (HEVC) · preset medium+n20 q=40: 512.2 kbps, VMAF 66.034x265 (HEVC) · preset medium+n20 q=32: 5,812.5 kbps, VMAF 89.261x265 (HEVC) · preset medium+n20 q=24: 73,926.1 kbps, VMAF 98.95x265 (HEVC) · preset medium+n40 q=40: 2,427.4 kbps, VMAF 57.64x265 (HEVC) · preset medium+n40 q=32: 46,303.4 kbps, VMAF 81.264x265 (HEVC) · preset medium+n40 q=24: 134,602.1 kbps, VMAF 84.107
x264 (H.264) · preset mediumx264 (H.264) · preset medium+n8x264 (H.264) · preset medium+n20x264 (H.264) · preset medium+n40x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+n8x265 (HEVC) · preset medium+n20x265 (HEVC) · preset medium+n40
blue_sky — blue sky and tree branches — bitrate vs. VMAF (no noise vs. light, medium, strong)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset medium226,348.8 kbps99.98100.0040.2423.1430.3
x264 (H.264) · preset medium+n82225,959.2 kbps99.97100.0037.0213.1356.2
x264 (H.264) · preset medium+n2022107,876.2 kbps98.4695.6127.419.04103.2
x264 (H.264) · preset medium+n4022161,611.7 kbps82.1779.7021.297.39129.9
x264 (H.264) · preset medium301,916.7 kbps98.2293.7836.1537.8819.8
x264 (H.264) · preset medium+n8302,084.6 kbps97.4092.9835.4435.5221.9
x264 (H.264) · preset medium+n20309,205 kbps92.5788.6332.8318.337.1
x264 (H.264) · preset medium+n403067,234.1 kbps78.9976.4722.6310.3787.0
x264 (H.264) · preset medium38788.4 kbps76.2668.3031.3049.3615.2
x264 (H.264) · preset medium+n838807.6 kbps72.7065.8430.5648.7716.5
x264 (H.264) · preset medium+n20381,052 kbps67.1962.5929.2445.9419.7
x264 (H.264) · preset medium+n403813,955.2 kbps60.9756.8928.8421.4737.6
x265 (HEVC) · preset medium244,608.6 kbps99.97100.0040.3219.4851.5
x265 (HEVC) · preset medium+n82411,853.2 kbps99.96100.0038.4910.2798.5
x265 (HEVC) · preset medium+n202473,926.1 kbps98.9596.2428.932.45404.3
x265 (HEVC) · preset medium+n4024134,602.1 kbps84.1181.5422.081.71577.8
x265 (HEVC) · preset medium321,420.9 kbps95.7688.5636.3629.4733.4
x265 (HEVC) · preset medium+n8321,526.3 kbps94.7287.6135.8627.6735.6
x265 (HEVC) · preset medium+n20325,812.5 kbps89.2683.2433.4815.8463.4
x265 (HEVC) · preset medium+n403246,303.4 kbps81.2678.4925.012.96333.6
x265 (HEVC) · preset medium40489.1 kbps75.0566.2131.7436.9425.7
x265 (HEVC) · preset medium+n840458.5 kbps72.1361.8431.2235.1526.5
x265 (HEVC) · preset medium+n2040512.2 kbps66.0358.9230.2135.1227.2
x265 (HEVC) · preset medium+n40402,427.4 kbps57.6451.5129.0523.6541.8
blue_sky — blue sky and tree branches — all measurements

pedestrian_area — pedestrian street

30405060708090100500k1M2M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset medium q=38: 861.7 kbps, VMAF 57.078x264 (H.264) · preset medium q=30: 1,981.2 kbps, VMAF 84.209x264 (H.264) · preset medium q=22: 5,449.7 kbps, VMAF 97.507x264 (H.264) · preset medium+n8 q=38: 849 kbps, VMAF 51.658x264 (H.264) · preset medium+n8 q=30: 2,108.2 kbps, VMAF 81.821x264 (H.264) · preset medium+n8 q=22: 29,484.8 kbps, VMAF 96.221x264 (H.264) · preset medium+n20 q=38: 990 kbps, VMAF 43.633x264 (H.264) · preset medium+n20 q=30: 10,349.8 kbps, VMAF 77.971x264 (H.264) · preset medium+n20 q=22: 132,115.1 kbps, VMAF 84.274x264 (H.264) · preset medium+n40 q=38: 22,447.4 kbps, VMAF 45.277x264 (H.264) · preset medium+n40 q=30: 82,660.4 kbps, VMAF 62.131x264 (H.264) · preset medium+n40 q=22: 187,858.5 kbps, VMAF 66.456x265 (HEVC) · preset medium q=40: 443.3 kbps, VMAF 53.875x265 (HEVC) · preset medium q=32: 1,164.4 kbps, VMAF 82.22x265 (HEVC) · preset medium q=24: 3,176.6 kbps, VMAF 96.268x265 (HEVC) · preset medium+n8 q=40: 415.8 kbps, VMAF 48.841x265 (HEVC) · preset medium+n8 q=32: 1,207.1 kbps, VMAF 78.93x265 (HEVC) · preset medium+n8 q=24: 8,944.4 kbps, VMAF 94.212x265 (HEVC) · preset medium+n20 q=40: 384.1 kbps, VMAF 43.246x265 (HEVC) · preset medium+n20 q=32: 4,656.9 kbps, VMAF 72.751x265 (HEVC) · preset medium+n20 q=24: 84,584.4 kbps, VMAF 85.006x265 (HEVC) · preset medium+n40 q=40: 1,769.6 kbps, VMAF 36.786x265 (HEVC) · preset medium+n40 q=32: 53,635.5 kbps, VMAF 62.273x265 (HEVC) · preset medium+n40 q=24: 155,582.9 kbps, VMAF 67.798
x264 (H.264) · preset mediumx264 (H.264) · preset medium+n8x264 (H.264) · preset medium+n20x264 (H.264) · preset medium+n40x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+n8x265 (HEVC) · preset medium+n20x265 (HEVC) · preset medium+n40
pedestrian_area — pedestrian street — bitrate vs. VMAF (no noise vs. light, medium, strong)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset medium225,449.7 kbps97.5194.4341.0520.2939.1
x264 (H.264) · preset medium+n82229,484.8 kbps96.2293.5837.7311.7374.5
x264 (H.264) · preset medium+n2022132,115.1 kbps84.2780.8127.127.97126.7
x264 (H.264) · preset medium+n4022187,858.5 kbps66.4662.7121.147147.0
x264 (H.264) · preset medium301,981.2 kbps84.2181.3337.8533.8326.5
x264 (H.264) · preset medium+n8302,108.2 kbps81.8279.4437.0828.2528.3
x264 (H.264) · preset medium+n203010,349.8 kbps77.9775.2735.1316.9355.6
x264 (H.264) · preset medium+n403082,660.4 kbps62.1358.6522.159.81106.3
x264 (H.264) · preset medium38861.7 kbps57.0854.2733.9443.9519.5
x264 (H.264) · preset medium+n838849 kbps51.6648.3632.8834.0120.8
x264 (H.264) · preset medium+n2038990 kbps43.6338.1331.2624.2324.1
x264 (H.264) · preset medium+n403822,447.4 kbps45.2842.8831.8218.8656.2
x265 (HEVC) · preset medium243,176.6 kbps96.2793.4540.8513.3674.2
x265 (HEVC) · preset medium+n8248,944.4 kbps94.2191.6739.168.15121.3
x265 (HEVC) · preset medium+n202484,584.4 kbps85.0182.3628.872.01491.4
x265 (HEVC) · preset medium+n4024155,582.9 kbps67.8064.4722.041.41701.0
x265 (HEVC) · preset medium321,164.4 kbps82.2279.5337.6318.7952.7
x265 (HEVC) · preset medium+n8321,207.1 kbps78.9376.3336.9318.1154.8
x265 (HEVC) · preset medium+n20324,656.9 kbps72.7569.9334.8911.8883.5
x265 (HEVC) · preset medium+n403253,635.5 kbps62.2760.0624.832.46402.1
x265 (HEVC) · preset medium40443.3 kbps53.8849.9933.6024.6939.3
x265 (HEVC) · preset medium+n840415.8 kbps48.8445.3532.8523.6540.5
x265 (HEVC) · preset medium+n2040384.1 kbps43.2539.5432.0123.940.2
x265 (HEVC) · preset medium+n40401,769.6 kbps36.7933.1231.6017.7656.4
pedestrian_area — pedestrian street — all measurements

riverbed — riverbed (fine ripples)

304050607080901002M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset medium q=38: 3,423.6 kbps, VMAF 43.118x264 (H.264) · preset medium q=30: 9,188.1 kbps, VMAF 81.34x264 (H.264) · preset medium q=22: 23,396.4 kbps, VMAF 99.945x264 (H.264) · preset medium+n8 q=38: 3,325.7 kbps, VMAF 41.766x264 (H.264) · preset medium+n8 q=30: 9,389.2 kbps, VMAF 79.43x264 (H.264) · preset medium+n8 q=22: 36,477.1 kbps, VMAF 99.939x264 (H.264) · preset medium+n20 q=38: 3,180.1 kbps, VMAF 37.617x264 (H.264) · preset medium+n20 q=30: 13,698 kbps, VMAF 72.652x264 (H.264) · preset medium+n20 q=22: 128,304.4 kbps, VMAF 91.03x264 (H.264) · preset medium+n40 q=38: 21,366.8 kbps, VMAF 40.19x264 (H.264) · preset medium+n40 q=30: 82,374.6 kbps, VMAF 66.083x264 (H.264) · preset medium+n40 q=22: 185,293.8 kbps, VMAF 72.798x265 (HEVC) · preset medium q=40: 1,799.1 kbps, VMAF 38.373x265 (HEVC) · preset medium q=32: 5,880.9 kbps, VMAF 71.632x265 (HEVC) · preset medium q=24: 15,197.8 kbps, VMAF 97.005x265 (HEVC) · preset medium+n8 q=40: 1,784.1 kbps, VMAF 37.752x265 (HEVC) · preset medium+n8 q=32: 6,103.8 kbps, VMAF 70.192x265 (HEVC) · preset medium+n8 q=24: 20,819 kbps, VMAF 95.59x265 (HEVC) · preset medium+n20 q=40: 1,619.1 kbps, VMAF 35.873x265 (HEVC) · preset medium+n20 q=32: 10,803.8 kbps, VMAF 66.015x265 (HEVC) · preset medium+n20 q=24: 87,010.9 kbps, VMAF 86.922x265 (HEVC) · preset medium+n40 q=40: 2,722.5 kbps, VMAF 32.413x265 (HEVC) · preset medium+n40 q=32: 55,756.1 kbps, VMAF 58.869x265 (HEVC) · preset medium+n40 q=24: 156,765.7 kbps, VMAF 71.498
x264 (H.264) · preset mediumx264 (H.264) · preset medium+n8x264 (H.264) · preset medium+n20x264 (H.264) · preset medium+n40x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+n8x265 (HEVC) · preset medium+n20x265 (HEVC) · preset medium+n40
riverbed — riverbed (fine ripples) — bitrate vs. VMAF (no noise vs. light, medium, strong)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset medium2223,396.4 kbps99.94100.0038.6912.4883.5
x264 (H.264) · preset medium+n82236,477.1 kbps99.94100.0036.9710.6597.1
x264 (H.264) · preset medium+n2022128,304.4 kbps91.0389.3727.067.94130.0
x264 (H.264) · preset medium+n4022185,293.8 kbps72.8071.0721.036.81148.8
x264 (H.264) · preset medium309,188.1 kbps81.3479.2834.2616.2164.6
x264 (H.264) · preset medium+n8309,389.2 kbps79.4377.3933.8015.6766.6
x264 (H.264) · preset medium+n203013,698 kbps72.6570.4332.2313.9575.3
x264 (H.264) · preset medium+n403082,374.6 kbps66.0864.3922.109.4109.8
x264 (H.264) · preset medium383,423.6 kbps43.1239.8929.5720.641.2
x264 (H.264) · preset medium+n8383,325.7 kbps41.7738.8329.1720.4342.9
x264 (H.264) · preset medium+n20383,180.1 kbps37.6234.7127.9920.3841.3
x264 (H.264) · preset medium+n403821,366.8 kbps40.1937.9228.7817.461.0
x265 (HEVC) · preset medium2415,197.8 kbps97.0093.7237.694.09239.7
x265 (HEVC) · preset medium+n82420,819 kbps95.5992.6936.613.88253.8
x265 (HEVC) · preset medium+n202487,010.9 kbps86.9284.4628.731.9520.7
x265 (HEVC) · preset medium+n4024156,765.7 kbps71.5069.3521.941.36725.2
x265 (HEVC) · preset medium325,880.9 kbps71.6366.2433.455.85167.6
x265 (HEVC) · preset medium+n8326,103.8 kbps70.1965.0733.016.02163.6
x265 (HEVC) · preset medium+n203210,803.8 kbps66.0261.5331.645.24187.8
x265 (HEVC) · preset medium+n403255,756.1 kbps58.8755.3224.352.34421.3
x265 (HEVC) · preset medium401,799.1 kbps38.3733.2829.169.51102.5
x265 (HEVC) · preset medium+n8401,784.1 kbps37.7533.1228.839.6102.8
x265 (HEVC) · preset medium+n20401,619.1 kbps35.8731.5428.379.9599.4
x265 (HEVC) · preset medium+n40402,722.5 kbps32.4128.5227.819109.5
riverbed — riverbed (fine ripples) — all measurements

rush_hour — evening rush-hour traffic

30405060708090100200k500k1M2M5M10M20M50MBitrate (bps, log scale)VMAFx264 (H.264) · preset medium q=38: 685.6 kbps, VMAF 56.424x264 (H.264) · preset medium q=30: 1,778.7 kbps, VMAF 80.568x264 (H.264) · preset medium q=22: 5,294.4 kbps, VMAF 93.692x264 (H.264) · preset medium+n8 q=38: 681.6 kbps, VMAF 53.435x264 (H.264) · preset medium+n8 q=30: 1,806.1 kbps, VMAF 78.894x264 (H.264) · preset medium+n8 q=22: 31,251.5 kbps, VMAF 93.161x264 (H.264) · preset medium+n20 q=38: 751 kbps, VMAF 47.003x264 (H.264) · preset medium+n20 q=30: 9,444.9 kbps, VMAF 76.662x264 (H.264) · preset medium+n20 q=22: 131,159 kbps, VMAF 84.503x264 (H.264) · preset medium+n40 q=38: 21,325.9 kbps, VMAF 47.981x264 (H.264) · preset medium+n40 q=30: 81,302.2 kbps, VMAF 64.65x264 (H.264) · preset medium+n40 q=22: 186,429.2 kbps, VMAF 69.151x265 (HEVC) · preset medium q=40: 270.9 kbps, VMAF 51.041x265 (HEVC) · preset medium q=32: 917.1 kbps, VMAF 76.914x265 (HEVC) · preset medium q=24: 2,938.9 kbps, VMAF 91.635x265 (HEVC) · preset medium+n8 q=40: 254.7 kbps, VMAF 48.717x265 (HEVC) · preset medium+n8 q=32: 932.2 kbps, VMAF 75.303x265 (HEVC) · preset medium+n8 q=24: 8,537.2 kbps, VMAF 90.456x265 (HEVC) · preset medium+n20 q=40: 231.3 kbps, VMAF 44.875x265 (HEVC) · preset medium+n20 q=32: 4,104.8 kbps, VMAF 69.978x265 (HEVC) · preset medium+n20 q=24: 84,013.3 kbps, VMAF 84.096x265 (HEVC) · preset medium+n40 q=40: 1,356 kbps, VMAF 38.717x265 (HEVC) · preset medium+n40 q=32: 53,520.3 kbps, VMAF 64.159x265 (HEVC) · preset medium+n40 q=24: 155,418.7 kbps, VMAF 70.079
x264 (H.264) · preset mediumx264 (H.264) · preset medium+n8x264 (H.264) · preset medium+n20x264 (H.264) · preset medium+n40x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+n8x265 (HEVC) · preset medium+n20x265 (HEVC) · preset medium+n40
rush_hour — evening rush-hour traffic — bitrate vs. VMAF (no noise vs. light, medium, strong)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x264 (H.264) · preset medium225,294.4 kbps93.6991.9141.5820.4241.5
x264 (H.264) · preset medium+n82231,251.5 kbps93.1691.5337.9411.9180.6
x264 (H.264) · preset medium+n2022131,159 kbps84.5083.5227.128.14126.3
x264 (H.264) · preset medium+n4022186,429.2 kbps69.1567.9321.097.03146.5
x264 (H.264) · preset medium301,778.7 kbps80.5777.9439.1035.1425.5
x264 (H.264) · preset medium+n8301,806.1 kbps78.8977.1138.2626.9327.5
x264 (H.264) · preset medium+n20309,444.9 kbps76.6673.3636.7718.9455.4
x264 (H.264) · preset medium+n403081,302.2 kbps64.6563.5622.169.81106.0
x264 (H.264) · preset medium38685.6 kbps56.4252.7535.4244.6618.1
x264 (H.264) · preset medium+n838681.6 kbps53.4451.0634.1230.0219.6
x264 (H.264) · preset medium+n2038751 kbps47.0045.3732.1423.2922.2
x264 (H.264) · preset medium+n403821,325.9 kbps47.9845.8833.3219.6254.2
x265 (HEVC) · preset medium242,938.9 kbps91.6489.7241.2812.2780.6
x265 (HEVC) · preset medium+n8248,537.2 kbps90.4688.7739.467.99123.4
x265 (HEVC) · preset medium+n202484,013.3 kbps84.1083.1128.882.01490.6
x265 (HEVC) · preset medium+n4024155,418.7 kbps70.0868.9521.971.41699.1
x265 (HEVC) · preset medium32917.1 kbps76.9173.6838.5420.3848.7
x265 (HEVC) · preset medium+n832932.2 kbps75.3072.2838.0120.0749.2
x265 (HEVC) · preset medium+n20324,104.8 kbps69.9866.7035.7713.1975.9
x265 (HEVC) · preset medium+n403253,520.3 kbps64.1662.8124.822.47399.8
x265 (HEVC) · preset medium40270.9 kbps51.0446.8834.6029.0630.7
x265 (HEVC) · preset medium+n840254.7 kbps48.7244.5534.0128.4131.0
x265 (HEVC) · preset medium+n2040231.3 kbps44.8841.1833.2828.3531.2
x265 (HEVC) · preset medium+n40401,356 kbps38.7234.9732.8823.4341.5
rush_hour — evening rush-hour traffic — all measurements

How to read it, and what we observed

1. How many times larger than no noise did files get at the same CRF?

Each cell in the tables below is "file size with noise ÷ file size without noise" for the same clip, same encoder, and same CRF (computed from size_bytes in the CSV). A value below 1 means the file with noise was actually smaller.

x264CRF 22CRF 30CRF 38
blue_sky light (n8)4.09×1.09×1.02×
blue_sky medium (n20)16.99×4.80×1.33×
blue_sky strong (n40)25.46×35.08×17.70×
pedestrian_area light5.41×1.06×0.99×
pedestrian_area medium24.24×5.22×1.15×
pedestrian_area strong34.47×41.72×26.05×
riverbed light1.56×1.02×0.97×
riverbed medium5.48×1.49×0.93×
riverbed strong7.92×8.97×6.24×
rush_hour light5.90×1.02×0.99×
rush_hour medium24.77×5.31×1.10×
rush_hour strong35.21×45.71×31.11×

x264 medium. size_bytes multiple relative to no noise at the same CRF. Rounded to two decimal places.

x265CRF 24CRF 32CRF 40
blue_sky light (n8)2.57×1.07×0.94×
blue_sky medium (n20)16.04×4.09×1.05×
blue_sky strong (n40)29.21×32.59×4.96×
pedestrian_area light2.82×1.04×0.94×
pedestrian_area medium26.63×4.00×0.87×
pedestrian_area strong48.98×46.06×3.99×
riverbed light1.37×1.04×0.99×
riverbed medium5.73×1.84×0.90×
riverbed strong10.31×9.48×1.51×
rush_hour light2.90×1.02×0.94×
rush_hour medium28.59×4.48×0.85×
rush_hour strong52.88×58.36×5.00×

x265 medium. size_bytes multiple relative to no noise at the same CRF. Rounded to two decimal places.

  • The multiplier grew sharply as noise strength went up. At the lowest CRF (x264 22, x265 24), light noise gave 1.56–5.90× for x264 and 1.37–2.90× for x265, medium gave 5.48–24.77× for x264 and 5.73–28.59× for x265, and strong gave 7.92–35.21× for x264 and 10.31–52.88× for x265. The largest value was 58.36× for rush_hour with strong noise at x265 CRF 32 (1,146,319 bytes → 66,900,407 bytes).
  • The biggest increase was at a middle CRF, not the lowest. With strong noise, x264 had its largest multiplier at CRF 30 for all four clips (for example rush_hour 45.71×, versus 35.21× at CRF 22). For x265, blue_sky (32.59×) and rush_hour (58.36×) peaked at CRF 32, while pedestrian_area (48.98×) and riverbed (10.31×) peaked at CRF 24. We suspect this is because noise-free files shrink quickly as CRF rises while noisy files shrink slowly, but this experiment did not confirm the cause.
  • In absolute terms, the files became very large. At x264 CRF 22, strong noise pushed all four clips past 200 MB (blue_sky 202.0 MB, pedestrian_area 234.8 MB, riverbed 231.6 MB, rush_hour 233.0 MB), for a 10-second video. The noise-free files at the same CRF were 6.6–29.2 MB. At x265 CRF 24 with strong noise, bitrates were 134.6–156.8 Mbps, and the largest, riverbed, was 196.0 MB.
  • With strong noise, bitrate converged to a similar level regardless of clip. The x264 CRF 22 bitrates (Mbps) are in the table below. The gap between clips, which was more than 4× without noise (5.3–23.4 Mbps), narrowed to 161.6–187.9 Mbps with strong noise. It looks as though noise takes up most of the bits and the influence of the original content shrinks.
x264 CRF 22 bitrate (Mbps)No noiseLight (n8)Medium (n20)Strong (n40)
blue_sky6.326.0107.9161.6
pedestrian_area5.429.5132.1187.9
riverbed23.436.5128.3185.3
rush_hour5.331.3131.2186.4

kbps from the CSV divided by 1,000 and rounded to one decimal place.

2. How did it differ by type of video?

  • riverbed grew the least in most cells. This is probably because its fine ripple texture was already complex, so it already carried a lot of bits without noise (x264 CRF 22 no noise: 23.4 Mbps, versus 5.3–6.3 Mbps for the other clips). It had the smallest multiplier in 14 of the 18 light/medium/strong cells, and with strong noise it was the smallest in all 6 cells (x264 6.24–8.97×, x265 1.51–10.31×).
  • For light noise, riverbed was not always the smallest. Of the 6 light-noise cells, riverbed was the smallest in 3 (x264 CRF 22 1.56×, x264 CRF 38 0.97×, x265 CRF 24 1.37×). At x264 CRF 30, rush_hour's 1.015× was smaller than riverbed's 1.022×, and at x265 CRF 32, rush_hour's 1.016× was smaller than riverbed's 1.038×. With light noise at x265 CRF 40, riverbed's 0.99× was the largest of the four clips (the other three were 0.94×). With medium noise at x265 CRF 40, too, riverbed's 0.90× was larger than pedestrian_area's 0.87× and rush_hour's 0.85×.
  • The expectation that a clean sky clip would react most strongly to noise did not match the data. With strong noise, blue_sky grew a lot at x264 (25.46–35.08× at CRF 22 and 30), but pedestrian_area (34.47–41.72×) and rush_hour (35.21–45.71×) grew more. At x265 CRF 24 and 32 with strong noise, pedestrian_area and rush_hour were also larger than blue_sky. At the lowest CRF with light noise, blue_sky's 4.09× (x264) and 2.57× (x265) were smaller than or similar to pedestrian_area and rush_hour.
  • Light noise had almost no effect at middle and high CRF. At CRF 30 (x264) and 32 (x265), the light-noise multiplier was 1.02–1.09× for x264 and 1.02–1.07× for x265. In other words, light noise showed up as a big size increase only at low CRF (high quality).

3. At high CRF, there are cells where noise actually reduced file size

At x264 CRF 38 and x265 CRF 40, there were 11 cells where the multiplier for light or medium noise was below 1. For x264 CRF 38 these were 3 light cells (pedestrian_area 0.99, riverbed 0.97, rush_hour 0.99) and 1 medium cell (riverbed 0.93). For x265 CRF 40 they were 4 light cells (0.94, 0.94, 0.99, 0.94) and 3 medium cells (pedestrian_area 0.87, riverbed 0.90, rush_hour 0.85). It seems odd for the file to shrink after adding noise, but at the same CRF the encoder adjusts quantization according to frame complexity, so with noise present it may have quantized more coarsely in this range. This experiment did not confirm the cause, and VMAF also went down in these cells. Mean VMAF in the 11 cells was 0.6–10.6 points lower than with no noise. So you cannot read this as "the file got smaller, so it's a win."

4. How did VMAF move? (secondary metric)

The table below shows how many points mean VMAF dropped relative to no noise at the lowest CRF. As the warning above says, this is a score against the original from before the noise was added, so you should not read this drop as "quality loss by the encoder."

Mean VMAF drop (points)x264 CRF 22 light / medium / strongx265 CRF 24 light / medium / strong
blue_sky0.0 / 1.5 / 17.80.0 / 1.0 / 15.9
pedestrian_area1.3 / 13.2 / 31.12.1 / 11.3 / 28.5
riverbed0.0 / 8.9 / 27.11.4 / 10.1 / 25.5
rush_hour0.5 / 9.2 / 24.51.2 / 7.5 / 21.6

Difference in vmaf_mean from the CSV (no noise − with noise), rounded to one decimal place. 0.0 means less than 0.05.

  • The score drop was small for light noise (0.0–2.1 points) and large for strong noise (15.9–31.1 points). Notably, file size grew 1.37–5.90× even with light noise, yet the score barely changed. Looking at the score alone, it is easy to miss light noise.
  • The bottom 5% VMAF moved in the same direction. For example, pedestrian_area at x264 CRF 22 fell from 94.43 with no noise to 62.71 with strong noise. All values are in the vmaf_p5 column of the raw data.
  • We do not recommend choosing encoder settings by the score of a noisy video. The score itself is affected by the noise.

5. Decoding and encoding time

Strong-noise files were also a heavier load to decode and play back. Four-thread decoding CPU time (dec_utime_s) with strong noise at the lowest CRF was 4.6–9.3× the no-noise value for x264 (riverbed 4.57×, blue_sky 9.32×) and 5.6–12.0× for x265 (riverbed 5.59×, pedestrian_area 11.99×). Encoding CPU time (utime) at x265 CRF 24 with strong noise was also 3.0–11.2× the no-noise value (riverbed 3.03×, blue_sky 11.23×). However, encoding speed was measured at IDLE priority and fluctuates, so it is for reference only, and decoding time is CPU time, so it may differ with hardware decoding.

Limitations

  • Synthetic noise is not the same as real sensor noise. The noise from the noise filter is independent in every frame and is added at the same strength regardless of brightness. Noise in real low-light video differs in character depending on the sensor, the brightness, in-camera noise reduction, and compression history, and it is generally known to appear more in dark areas. So you should not carry these multipliers over directly as "low-light footage will be N× larger." Strong noise (alls=40) is a fairly harsh value.
  • VMAF compares against the original from before the noise was added. The score falling as noise gets stronger is a limitation of the measurement reference, not the encoder's fault. This data cannot support comparing scores between noisy videos or judging quality by eye.
  • There are only four 10-second clips. Differences by type of video (such as riverbed growing less) are limited to these clips. Other videos may behave differently.
  • 8-bit yuv420p, 4 threads per job, a single preset (medium), one PC, one measurement run. Speed is for reference only because of IDLE priority. There are only three noise strengths and three CRF points, so we did not interpolate intermediate values. We measured only x264 and x265, not AV1. Because x265's CRF was set 2 higher than x264's to land in a similar VMAF range, you should not put the two codecs' multipliers on the same line and declare a winner.

Practical recommendations

  • Applying a low CRF to a noisy source can make the file dozens of times larger. In this data, the lowest CRF with strong noise gave 7.92–35.21× for x264 and 10.31–52.88× for x265. Before encoding, run a short test segment first to see how much noise the source has and check the bitrate. Start with the CRF Recommender for an initial value, and compare against CRF by content type.
  • Light noise is costly only at low CRF. Around CRF 30 (x264) and 32 (x265), the light-noise multiplier was 1.02–1.09×, and at low CRF (high-quality archiving) it was 1.37–5.90×. The noise cost shows up in a big way only when you want to keep the same video at high quality.
  • If file size is a burden because of noise, you can reduce the noise before encoding, but don't judge by the score alone. The size and score changes from denoising pre-filters were measured the same way in the hqdn3d pre-filter measurements. Having the encoder imitate grain is covered in SVT-AV1 film-grain synthesis.
  • Look at it alongside the file size it costs to gain 1 VMAF point. For the relationship between score and size, see the size cost of one VMAF point, and for how encoding time differs by video complexity, see encode time by content complexity.
  • Check the playback load too. With strong noise, decoding CPU time grew by 4.6–12.0×. If the video has to play on low-end devices, you need to consider this load as well as file size.

You can download the full raw data from the CSV at the bottom of the page. You can recompute the size multiples from size_bytes, bitrate from kbps, scores from vmaf_mean and vmaf_p5, and decoding time from dec_utime_s in the CSV.

Raw data: synthetic-noise-strength-size-penalty-v1.csv