Television Engineer

Case File: Why the Football Looks Like Wet Paint

Viewers say that the football looks like wet paint when the ball moves, while the news looks fine. The bitrate alone does not tell whether it is enough: the same bitrate is generous for a small picture and starved for a big one. For every channel work out the pixels per second, the raw uncompressed rate (twelve bits per pixel), the bits per pixel after compression, the compression ratio, the storage of one hour and of the hours recorded, which channels are starved below the minimum bits per pixel (exactly the minimum is fine) and which has the most bits per pixel. Run it on channel lists that you cannot see. The channels are generated for you alone.

50 min

Sabi Logistics · Screen 1

Why the Football Looks Like Wet Paint

The football channel is the one that the advertisers pay most for, and viewers write that it looks like wet paint

Ayo Head of platform ·

Ayo. The football channel is the one the advertisers pay most for, and the viewers say that when the ball moves it looks like “wet paint”: smeared and blocky. The news on the same platform looks fine. The encoder people say that the channel has “plenty of bitrate”: 5 megabits.

I have the channel list: each channel’s picture size, frames per second and video bitrate, and how many hours a day each is recorded. Please work out the raw rate (uncompressed), the bits per pixel after compression, the compression ratio, the storage of each, the total storage, and which channels are starved (below 0.04 bits per pixel). Which channel has the most bits per pixel?

The brief

What you need to know first.

  • Pixels per second. width x height x fps. A 1080p picture at 50 frames is 1920 x 1080 x 50 = 103.7 million pixels every second; a 540p picture at 25 frames is only 13 million.
  • The raw rate. Uncompressed 4:2:0 video (8 bits) takes 12 bits for every pixel: raw_mbps = pixels per second x 12 / 1,000,000. 1080p50 raw is about 1,244 Mbit/s.
  • Bits per pixel. bpp = bitrate_kbps x 1000 / pixels per second. This is the honest measure of whether a bitrate is generous: 5 Mbit/s on 1080p50 is only 0.048 bits per pixel, while on 540p25 it is 0.38. The compression_ratio is raw over the compressed Mbit/s.
  • Storage and the verdict. gb_per_hour = bitrate_kbps x 1000 x 3600 / 8 / 1e9; the total is the sum of that x the hours recorded. A channel is starved when bpp < min_bpp (tolerance 1e-12: exactly the minimum is fine). starved is the sorted names; best_bpp is the name with the highest bpp (a tie goes to the name that sorts first; None for none).
  • Fill in analyse(req) returning {"rows", "total_gb", "starved", "best_bpp"} (3 decimals), then result and starved. The checks run analyse on lists that you cannot see: a stream at exactly the minimum bpp (1000 kbit/s on 1000 x 1000 x 10 pixels is 0.1), one kilobit below it, two equal streams, and an empty list.

The lab gives you the data for this case, invented and generated for you alone.

Preparing your data…

On the bench

The lab checked the arithmetic with a script. These are the measurements and tests that show the same thing at a real headend.

You want toDo thisWhat you see
measure the real bitrate and picture format of a channelOpen the stream in a media analyser such as MediaInfo or ffprobe and read the video bitrate, size and frame ratethe real bitrate, size and frame rate, to work out the bits per pixel
compare quality at different bitratesEncode a clip of fast sport at two bitrates and compare them with a quality metric such as VMAF and by eye on a real screenthe bitrate at which the motion stops smearing
check what a recording costsRecord an hour of the channel and read the file sizethe real gigabytes for each hour, to compare with the calculation

Never uplink to a satellite or transmit on a radio frequency without a licence, and never work on a dish, a transmitter or a mains supply unless you are trained and permitted.

🔒 The debrief unlocks when you close the case. Finish the lab above.

Write the video bitrate note

Write the note for the head of platform: how pixels per second, the raw rate, the bits per pixel, the compression ratio and the storage are calculated, which channels are starved and the bits per pixel of each (the football against the news), why the football looks like wet paint although the bitrate sounds high (a big picture at a high frame rate with fast motion), and what to do (statistical multiplexing, a better codec, encoder settings, sport at 720p50, measuring quality with VMAF and eyes, a bpp table, storage with proxies).

0 words

🧪 Want to practise this on your own computer? See how to set up your lab →

📝

Knowledge Check

1 of 4

A picture of 1000 x 1000 pixels at 10 frames a second has 1000 kbit/s of video. What is its bits per pixel?

Report a problem

About: /lessons/case-the-wet-paint