Chroma subsampling halves color resolution before compression even starts. How J:a:b notation works, why 4:2:0 dominates, and when it hurts text and UI.
In the last lesson we separated brightness from color. Now let's actually trim the color side. This is chroma subsampling, and it's the first loss in the video pipeline. It happens before the codec has touched anything.
The notation is J:a:b. It's a very old notation and not intuitive, so let's understand it properly just once.
Going from 4:4:4 to 4:2:0 makes the data exactly half. The codec hasn't even started yet. And still, for most live-action footage, there's almost no visible difference. This is the most dramatic example of 'removing psychovisual redundancy.'
It works well for live-action video, but on content with sharp color edges it shows up immediately. Typical examples are red text, subtitles, game UIs, and presentation screen sharing. Because chroma is smeared by half both horizontally and vertically, color bleeding appears along the edges of letters.
This is why the video conferencing, cloud gaming, and remote desktop industries keep pushing for screen content coding (SCC) and 4:4:4 profiles. Also, doing chroma key compositing with a 4:2:0 source makes the edges messy. So the shooting and editing stages stay at 4:2:2 or higher, and the video is only brought down to 4:2:0 for final delivery. This is also exactly why APV, covered in Chapter 9, centers on 4:2:2.
In 4:2:0, where the reduced chroma samples sit on the luma grid also differs by standard. The MPEG-2/H.264/HEVC family uses left (MPEG-2) siting, and the JPEG/MPEG-1 family uses center siting. Get it wrong and the colors shift by half a pixel.
If you ignore siting in a resize/transcode chain, the color drifts a little further to one side with each repeat. You won't see it once, but it accumulates in UGC pipelines where a video is transcoded many times.
A technique that reduces data by lowering the resolution of the chroma components.
Chroma at 1/2 both horizontally and vertically. The de facto standard for delivery video.
Chroma at 1/2 horizontally only. The standard for editing and broadcast (reappears with ProRes/APV in Chapter 9).
Where the reduced chroma samples correspond to on the luma grid.
A set of coding tools for synthetic video such as text and UI. Pairs with 4:4:4.
Which content is 4:2:0 especially bad for?
What is the average number of bits per pixel for 8-bit 4:2:0 video?