On this synthetic screen source, 4:2:0 alone held chroma PSNR near 36 dB even when lossless, while 4:4:4 kept coloured text sharp and was also smaller at every CRF. VMAF barely moved, because it ignores colour.
What chroma subsampling throws away
Most H.264 video stores brightness (luma) for every pixel but colour (chroma) for only one pixel in four. That is 4:2:0, the yuv420p pixel format. 4:4:4 (yuv444p) keeps colour for every pixel. On camera footage the loss is hard to see, because natural colour changes slowly. Screen content is different: one-pixel coloured strokes, red text on blue buttons and syntax-highlighted code all put sharp colour edges exactly where 4:2:0 averages them away.
The diagram above shows the idea in simplified form. Real scalers filter chroma rather than producing hard blocks, so actual edges bleed and blur. The rest of this guide measures how much on one synthetic screen recording. For bitrate and resolution choices with screen text in general, see compressing a screen recording with readable text. For how CRF itself trades size and quality, see the CRF and bitrate test.
Test source and exact commands
I built the source as one 1280x1400 RGB image in Python with Pillow: a blue title bar, a dark code editor with coloured 12 and 14 px text, a light checklist, coloured chips such as "red on blue 13px", a chart with one-pixel lines, a spreadsheet with coloured cells and coloured log lines. You can download the source image.
FFmpeg turned it into an 8-second, 30 fps, 1280x720 clip. The view holds still for 2 seconds, scrolls 680 pixels, then holds still again, so the encoder sees both static and moving text. Both pixel formats went through the same BT.709 limited-range conversion with accurate rounding and full chroma interpolation:
ffmpeg -hide_banner -y -loop 1 -framerate 30 -t 8 -i screen-source.png -vf "crop=1280:720:0:'min(max(0,(t-2)*170),680)',scale=out_color_matrix=bt709:out_range=tv:flags=bicubic+accurate_rnd+full_chroma_int,format=yuv444p" -c:v libx264 -preset medium -crf 23 -colorspace bt709 -color_primaries bt709 -color_trc bt709 -color_range tv -threads 4 -an -movflags +faststart chroma-444-crf23.mp4The 4:2:0 versions differ only in format=yuv420p. I encoded both formats at CRF 18, 23 and 28, losslessly with -qp 0, and with two-pass ABR at 334 kbps, the bitrate of the 4:2:0 CRF 23 file. Each output was decoded, scaled to yuv444p and compared with the source converted the same way, using FFmpeg's psnr, ssim and libvmaf filters. A separate RGB PSNR compares the decoded video converted back to RGB with the original image. FFmpeg 8.1.1, x264 preset medium, four threads.
Results at the same CRF
| Encode | Bytes | Luma PSNR (dB) | Chroma PSNR U / V (dB) | SSIM (all planes) | RGB PSNR (dB) | VMAF |
|---|---|---|---|---|---|---|
| 4:2:0 lossless | 1,397,672 | inf | 36.50 / 35.76 | 0.9746 | 32.84 | 98.70 |
| 4:4:4 lossless | 373,707 | inf | inf / inf | 1.0000 | 56.34 | 98.70 |
| 4:2:0 CRF 18 | 407,846 | 53.67 | 36.35 / 35.63 | 0.9724 | 32.63 | 98.46 |
| 4:4:4 CRF 18 | 287,423 | 53.53 | 50.26 / 50.41 | 0.9977 | 45.45 | 98.47 |
| 4:2:0 CRF 23 | 334,028 | 48.94 | 36.10 / 35.41 | 0.9689 | 32.29 | 98.26 |
| 4:4:4 CRF 23 | 227,069 | 48.94 | 46.00 / 45.93 | 0.9943 | 41.36 | 98.14 |
| 4:2:0 CRF 28 | 244,785 | 43.88 | 35.62 / 34.94 | 0.9623 | 31.54 | 97.38 |
| 4:4:4 CRF 28 | 186,335 | 43.84 | 42.67 / 42.36 | 0.9885 | 37.61 | 97.26 |
Three findings. First, the 4:2:0 ceiling: even the lossless 4:2:0 encode only reached about 36 dB chroma PSNR and 32.8 dB RGB PSNR. That loss comes from subsampling before the encoder sees a pixel, so no CRF or bitrate setting can recover it. Second, luma was the same for both formats at each CRF, so the difference is entirely in colour. Third, and not what I expected, 4:4:4 was smaller than 4:2:0 at every CRF on this source, by 24% to 32%.
Note that x264 reports the lossless 4:2:0 file as the High 4:4:4 Predictive profile, because lossless coding requires it. The CRF 4:2:0 files are the High profile; every 4:4:4 file is High 4:4:4 Predictive (checked with ffprobe).
Results at a near-matched file size
Two-pass encoding at the same 334 kbps target did not land on the same size. The 4:4:4 file undershot, so it is 13% smaller than the 4:2:0 file, not equal:
| Two-pass 334 kbps | Bytes | Luma PSNR | Chroma PSNR U / V | SSIM | RGB PSNR | VMAF |
|---|---|---|---|---|---|---|
| 4:2:0 | 349,557 | 47.89 | 35.99 / 35.31 | 0.9674 | 32.14 | 98.11 |
| 4:4:4 | 302,549 | 50.21 | 47.40 / 47.56 | 0.9961 | 42.84 | 98.28 |
Even with fewer bytes, 4:4:4 scored higher on every metric, with about 11 dB more chroma PSNR and RGB PSNR. Download the two files to compare them yourself: 4:2:0 two-pass (349,557 bytes) and 4:4:4 two-pass (302,549 bytes). Your player may not decode the 4:4:4 file; see the limits below.
VMAF deserves a warning. It scored the lossless 4:2:0 file 98.70, the same as the lossless 4:4:4 file, because VMAF reads luma only. It also scored identical luma below 100, so it is not an "is it identical" check either. If you judge screen recordings by VMAF alone, you will never see the problem this guide is about. Use chroma PSNR, RGB PSNR or your own eyes for colour.
What the crops show
These figures are 3x nearest-neighbour enlargements of frame 30 (t = 1 s, before the scroll), converted back to RGB. They are real decoded frames, not mock-ups.

In both 4:2:0 rows, red on blue and magenta on green lose their edges. The letters look darker and thicker because their colour is shared with the background. The lossless 4:2:0 row looks almost the same as the 334 kbps row, which matches the numbers: subsampling, not compression, causes most of the damage. The 4:4:4 row at fewer bytes is close to the source.

Coloured code on a dark background shows the same pattern, but less strongly, because there light text against dark is mostly a brightness edge, which luma keeps.
Is the size difference a scaler artefact?
A smaller 4:4:4 file was surprising, so I tested whether the downsampling filter caused it. Bicubic filtering can add ringing to chroma at hard colour edges, giving the encoder more to code. I re-encoded the 4:2:0 CRF 23 version with three other scaler filters, measured against the same bicubic-converted reference:
| 4:2:0 CRF 23 scaler | Bytes | Chroma PSNR U / V (dB) |
|---|---|---|
| bicubic (main test) | 334,028 | 36.10 / 35.41 |
| area | 310,081 | 36.20 / 35.51 |
| bilinear | 314,992 | 35.77 / 35.11 |
| neighbor | 382,966 | 35.07 / 34.53 |
The filter moved the 4:2:0 size between 7% smaller and 15% larger than bicubic, but every 4:2:0 file was still larger than the 227,069-byte 4:4:4 file at the same CRF. My best guess is that blending flat colours at sharp edges gives the encoder more detail to code than the full-resolution flat colours do. I did not prove that. Camera footage or screen captures with gradients and photos may well show 4:2:0 as the smaller format.
When to use 4:4:4, and what was not tested
On this evidence, 4:4:4 is worth trying for recordings dominated by coloured UI text, code, charts or thin coloured lines, especially masters and files you will edit again. 4:2:0 remains the safe choice for anything that must play everywhere, and for camera footage, where these results do not apply.
What this test does not cover:
- Playback support was not tested. The only check was that ffprobe reports
yuv444pand the High 4:4:4 Predictive profile. I make no claim about which browsers, phones, TVs, editors or upload services decode or keep 4:4:4 H.264. Many delivery pipelines convert to 4:2:0, so test your own target before relying on it. - One synthetic image, scrolled. Real screen captures include anti-aliased ClearType text, photos and gradients.
- One encoder (x264 preset medium) and one conversion path. Recorder apps that capture 4:2:0 directly have already lost the colour detail before you can choose.
- Metrics compare against a BT.709 limited-range conversion of the source, so the RGB PSNR of the lossless 4:4:4 file is 56.3 dB, not infinite. That is the rounding of that conversion.
To repeat the test on your own recording, start from a lossless or RGB source if you have one. A capture that is already 4:2:0 cannot show the difference. Encode both formats at the same CRF, then compare chroma PSNR against the 4:4:4 version of the source:
ffmpeg -i encoded.mp4 -i source.mov -lavfi "[0:v]format=yuv444p[d];[1:v]format=yuv444p[r];[d][r]psnr" -f null -Read the u: and v: values in the last line, not only y: or the average. Then look at the frames that matter to you, such as small coloured labels, at 200% or more. If the 4:2:0 file looks fine there, the extra compatibility risk of 4:4:4 is not worth it for that recording.
Every command, ffprobe result, metric line, byte count and SHA-256 hash is in the results JSON.
Common questions
Does 4:4:4 always make bigger files than 4:2:0?
Not on this source. With flat-colour synthetic screen content, 4:4:4 was 24 to 32 percent smaller at the same CRF. With camera footage the result may differ, and it was not tested here.
Can a higher bitrate fix blurry coloured text in 4:2:0?
Not in this test. Even the lossless 4:2:0 encode reached only about 36 dB chroma PSNR, the same as 334 kbps. The colour detail is removed before encoding.
Why does VMAF barely change between 4:2:0 and 4:4:4?
VMAF scores luma only. Both formats keep full luma resolution, so VMAF stayed near 98 for both and cannot detect chroma loss.
Will a 4:4:4 H.264 file play in my browser or on my phone?
This guide did not test that. It only confirmed the pixel format and profile with ffprobe. Test the exact file on your target devices and services.
How do I check whether a file is 4:2:0 or 4:4:4?
Run ffprobe -v error -select_streams v:0 -show_entries stream=pix_fmt,profile -of csv=p=0 input.mp4 and read the pix_fmt value, such as yuv420p or yuv444p.
Sources & further reading
Written for ToolWillow with original explanations and examples. Consult current product documentation for controls that vary by version.



