Appendix: Digital Video Formats
A digital video format is a handful of choices: how many lines and pixels make a picture, how many pictures a second, whether each picture is sent whole or in two halves, how color is written down, and how many bits each number gets. This appendix explains each choice, what it costs, and what it looks like. You need none of it to use the modules in this guide; it is the background to the formats they name.
Pictures, lines and pixels
A picture is sent as a raster: line by line from the top, each line pixel by pixel from the left. A format’s name gives the number of picture lines, how the lines are sent, and the picture rate. 1080p60 is 1080 lines, sent progressive (every line of every picture), 60 pictures a second. 1080i60 is 1080 lines sent interlaced: see Frame rates, fields and 1000/1001.
| Format | Picture (active) | Raster (total) | Pictures a second | Pixel clock |
|---|---|---|---|---|
480i |
720 × 480 |
858 × 525 |
29.97 frames, 59.94 fields |
13.5 MHz |
576i |
720 × 576 |
864 × 625 |
25 frames, 50 fields |
13.5 MHz |
720p50, 720p60 |
1280 × 720 |
1980 × 750, 1650 × 750 |
50, 60 |
74.25 MHz |
1080i50, 1080i60 |
1920 × 1080 |
2640 × 1125, 2200 × 1125 |
25, 30 frames (50, 60 fields) |
74.25 MHz |
1080p24 |
1920 × 1080 |
2750 × 1125 |
24 |
74.25 MHz |
1080p25, 1080p30 |
1920 × 1080 |
2640 × 1125, 2200 × 1125 |
25, 30 |
74.25 MHz |
1080p50, 1080p60 |
1920 × 1080 |
2640 × 1125, 2200 × 1125 |
50, 60 |
148.5 MHz |
HD pixels are square: 1920 × 1080 is 16:9. Standard-definition pixels are not: 720 × 480 fills a 4:3 or a 16:9 screen, and the display stretches it.
Blanking and the pixel clock
Every line is longer than its picture, and every frame has more lines than its picture. The extra is blanking: time with no picture.
-
Horizontal blanking sits between lines: the front porch after the picture, the sync pulse, then the back porch before the next line’s picture. At 1080p60 that is 88 + 44 + 148 = 280 clocks.
-
Vertical blanking sits between frames: 45 lines at 1080, with the vertical sync pulse among them.
Blanking began as the time a picture tube needed to bring its beam back to the left, and to the top. Digital links keep it: SDI carries audio and other data in it, and HDMI carries audio in it.
The pixel clock counts every position of the raster, blanking included:
pixel clock = pixels a line (total) × lines (total) × frames a second
For 1080p60: 2200 × 1125 × 60 = 148.5 MHz. A line lasts 14.8 µs, so lines run at 67.5 kHz.
The 1080 formats share one clock for each speed. 1080p24, 25 and 30 all run at 74.25 MHz: the slower rates make each line longer (2750 and 2640 clocks instead of 2200) and keep the clock. 1080p50 and 60 run at twice that, 148.5 MHz.
Sync marks where lines and frames begin. Over a single cable it rides on the video, or travels alone as a reference: bi-level sync (one pulse below black) for standard definition, tri-level sync (a step below and a step above) for HD. The Video Sync chapter covers sync in a case.
Frame rates, fields and 1000/1001
-
Progressive (p). Every picture has every line. 1080p60 shows 60 whole pictures a second.
-
Interlaced (i). Each frame is sent as two fields: first the odd lines, then the even ones. 1080i60 shows 60 fields a second, which make 30 frames. Motion updates 60 times a second, at half the vertical detail each time. Names vary: 1080i60, 1080i30 and 1080i/59.94 can all mean the same format.
-
The rates come in families: 24 for film; 25 and 50 where the mains runs at 50 Hz; 30 and 60 where it runs at 60 Hz.
-
1000/1001. When color came to North American television, its rates were slowed by 1000/1001 to make room for the color signal, and digital formats kept the habit: 59.94 instead of 60, 29.97 instead of 30, 23.976 instead of 24. The pixel clocks slow the same way (148.35 and 74.176 MHz). 59.94 and 60 are different formats: a 59.94 picture on a 60 system slips one frame every 16.7 seconds.
Detail and bandwidth
The finest detail a picture can hold changes on every pixel: black, white, black, white. One black and one white pixel make one cycle, so this detail is a signal at half the pixel clock.
-
An analog path, the cables and circuits a picture crosses as a voltage, has a bandwidth: the highest frequency it passes. Detail above it reaches the far end softened.
-
1080p60 needs twice the bandwidth of 1080p30 to stay as sharp: its pixels go by twice as fast.
-
The figure marks a 40 MHz path as an example. It carries every detail of 720p, 1080i and 1080p30, and softens the finest detail of 1080p50 and 60.
RGB and Y’CbCr
A pixel’s color is three numbers, written one of two ways.
-
R, G and B: red, green and blue. Computers and displays work this way.
-
Y', Cb and Cr. Y', luma, is the brightness: the black-and-white picture. Cb is how much bluer the pixel is than its brightness, and Cr how much redder. Together, Cb and Cr are the chroma, or color. For a gray, both are zero.
The two hold the same picture, and each converts to the other. Luma is a weighted sum of R, G and B. The weights follow the eye, which sees green as brightest and blue as darkest, and each standard has its own:
| Standard | R | G | B |
|---|---|---|---|
Rec. 601, standard definition |
0.299 |
0.587 |
0.114 |
Rec. 709, HD |
0.2126 |
0.7152 |
0.0722 |
Rec. 2020, UHD |
0.2627 |
0.6780 |
0.0593 |
For Rec. 709: Cb = (B − Y') / 1.8556 and Cr = (R − Y') / 1.5748. Convert with the wrong weights and colors shift: reds and greens a little off, grays unchanged.
The prime in Y' marks a gamma-coded value: video signals are not proportional to light, but follow a curve that spends more of the range on dark tones, as the eye does. R, G and B are gamma-coded too, strictly R', G' and B'; this guide drops the primes.
Why split brightness from color? The eye sees fine detail in brightness far better than in color. With Y’CbCr, color can be kept at less detail than brightness and the picture still looks sharp: that is chroma subsampling.
Chroma subsampling: 4:4:4, 4:2:2, 4:2:0 and 4:1:1
Chroma subsampling keeps luma for every pixel and shares each color sample among several pixels. The name counts samples in a block four pixels wide and two lines tall:
-
The first number, 4, is the block’s width: four luma samples in each line.
-
The second is the number of color samples in the first line.
-
The third is the number of new color samples in the second line. 0 means the second line reuses the first line’s.
| Format | Color | 8 bits | 10 bits | Data | Used for |
|---|---|---|---|---|---|
4:4:4 |
every pixel its own |
24 |
30 |
100 % |
Computer RGB, HDMI, graphics, masters |
4:2:2 |
each pair in a line shares one |
16 |
20 |
67 % |
Studio video, SDI, ProRes 422 |
4:2:0 |
each square of four shares one |
12 |
15 |
50 % |
Blu-ray, streaming, most camera files |
4:1:1 |
each four in a line share one |
12 |
15 |
50 % |
DV (NTSC) |
The 8-bit and 10-bit columns give bits a pixel. RGB is always 4:4:4: subsampling needs color apart from brightness.
What it looks like:
-
Brightness stays sharp. Every pixel keeps its own luma, so black-and-white detail, text on a gray, and the brightness of every edge come through unchanged.
-
Color spreads. A sharp change of color is shared over its sample’s block: a one-pixel colored line loses its color to its neighbor, and a red edge on blue tints the pixel beside it. 4:2:2 and 4:1:1 spread color sideways only; 4:2:0 spreads it up and down too.
-
Keys on color (chroma keys) follow the coarser color, so their edges step at the block size.
-
Each output pixel’s R, G and B are rebuilt from its own luma and its block’s color. So in 4:2:2, R, G and B still change on every pixel: what is at half detail is how they differ from each other.
The figures draw each color sample in the middle of its block, and average the pixels it covers. Real converters filter instead of averaging, and the standards place the sample: in 4:2:2, on the first pixel of each pair.
Bit depth
Each sample is a whole number: a code value. The bit depth sets how many codes there are, and so how fine the steps between levels are.
| Bits | Levels | A step on a 1 V signal |
|---|---|---|
8 |
256 |
about 3.9 mV |
10 |
1024 |
about 1 mV |
12 |
4096 |
about 0.24 mV |
-
Too few steps show as bands across smooth gradients: skies, fades, vignettes.
-
8 bits is enough to watch: its bands are faint. It is the usual depth for delivery and for computer RGB.
-
10 bits is the usual depth for production. The extra steps leave room to brighten, grade or key a picture without opening the gaps between levels into bands.
Full and limited range
-
Full range gives the picture every code: 0 is black, 255 is white. Computer RGB works this way.
-
Limited range (also called video or legal range) keeps codes below black and above white free: luma runs from 16 to 235 at 8 bits, and 64 to 940 at 10 bits. Cb and Cr center on 128 (512 at 10 bits) and run from 16 to 240 (64 to 960). The spare codes let filters and edits overshoot without clipping.
-
A mismatch is easy to see. Limited read as full gives gray blacks and dull whites; full read as limited crushes the shadows and clips the highlights. On HDMI, the source and the display must agree on which one is sent.
Data rates
Everything above multiplies into a data rate:
data rate = bits a pixel × pixels a second
| 1080p60 | Bits a pixel | Picture only | With blanking |
|---|---|---|---|
4:4:4, 8 bits |
24 |
3.0 Gb/s |
3.56 Gb/s |
4:4:4, 10 bits |
30 |
3.7 Gb/s |
4.46 Gb/s |
4:2:2, 10 bits |
20 |
2.5 Gb/s |
2.97 Gb/s |
4:2:0, 8 bits |
12 |
1.5 Gb/s |
1.78 Gb/s |
"Picture only" counts the 124 million active pixels a second; "with blanking" counts the full 148.5 MHz raster, which is what a link carries.
-
SDI carries 10-bit 4:2:2 Y’CbCr. HD-SDI runs at 1.485 Gb/s (74.25 MHz × 20 bits: 1080i, 720p and 1080p to 30); 3G-SDI at 2.97 Gb/s carries 1080p50 and 60.
-
HDMI carries the pixel clock itself, usually 8-bit RGB 4:4:4. Deeper color raises its clock: × 1.25 for 10 bits.
-
Memory for one 1080 frame of 8-bit 4:4:4 is 1920 × 1080 × 3 bytes, about 6.2 MB. A frame store writes every frame and reads it back, so it moves twice that, every frame.
-
Compression (H.264, HEVC, ProRes) starts from these numbers and divides them, usually after 4:2:0 or 4:2:2 has halved them first.
In this system
-
The Digital Video In is designed for sources from 480i and 576i up to 1080p60, and gives full-range R, G and B, with Y made by the Rec. 601 weights for standard definition and Rec. 709 for HD.
-
Between the Digital Video In and the Digital Video Out, the picture is analog: 1 V signals through patch cables and modules. The finest detail it carries is set by that analog path, as in Detail and bandwidth.
-
The Video Framestore Card (the Digital Video In’s TBC upgrade) is a frame store, and memory sets what it keeps. Up to 1080p30 and 720p60 it is designed to store full color, 4:4:4, bit for bit. At 1080p50 and 60, full color would need more memory traffic than the card has, so it stores 4:2:2: every pixel keeps its brightness, and pairs share color, as in Chroma subsampling: 4:4:4, 4:2:2, 4:2:0 and 4:1:1. Its color detail then reaches 37 MHz, about what an analog path of 40 MHz carries, so the difference may not be visible once the picture has crossed your modules. The Standard module’s bypass card has no store and passes full color in every format.
-
2:2:2, under study. LZX is studying a second choice for 1080p50 and 60: one full R, G and B value for each pair of pixels, which is 4:4:4 at half the pixel clock. It takes the same memory as 4:2:2. It keeps each pair’s exact color, with no color spreading past an edge, and gives up luma detail between 37 and 74 MHz, the band an analog path of 40 MHz softens anyway. The card’s firmware does not do this today.
Terms
| Term | Meaning |
|---|---|
Raster |
The whole grid a format scans, blanking included |
Active picture |
The part of the raster that holds the picture |
Blanking |
Time in each line (horizontal) and each frame (vertical) with no picture |
Pixel clock |
The rate at which raster positions go by: 74.25 MHz at 1080p30, 148.5 MHz at 1080p60 |
Progressive, p |
Every picture has every line |
Interlaced, i |
Each frame is two fields: the odd lines, then the even lines |
Luma, Y' |
Brightness: the black-and-white picture |
Chroma, Cb and Cr |
Color: how much bluer (Cb) and redder (Cr) a pixel is than its brightness |
4:4:4, 4:2:2, 4:2:0, 4:1:1 |
How many pixels share each color sample: none, pairs, squares of four, rows of four |
Bit depth |
The bits in each code value: 8 bits give 256 levels, 10 bits 1024 |
Full and limited range |
Whether the picture uses every code value, or leaves room below black and above white |
Bandwidth |
The highest frequency an analog path passes |