Why dark video is a terrible mess — Transcript
Full transcript
- 0:00The dark doesn't look very good these days.
- 0:02And I'm really sorry if you're one of the lucky ones who's never noticed this,
- 0:07because now I point it out,
- 0:09now I artificially increase the brightness on the dark parts in this video
- 0:12so you can see what the shadows behind me actually look like...
- 0:17now you'll notice.
- 0:19In movie trailers,
- 0:20in dark scenes in even prestige television,
- 0:22in YouTube videos where there are nice, calm gradient backgrounds:
- 0:27you see this dreadful colour banding.
- 0:31There are three reasons for it.
- 0:32And the first is that there aren't enough colours.
- 0:37...all right, I'll turn the lights on.
- 0:42In most modern digital video,
- 0:44there is a grand total of about 16.7 million possible colours.
- 0:49And that number comes from how your screen works.
- 0:51When you watch a video, your phone, computer or TV
- 0:54takes that compressed digital signal that's being sent to you,
- 0:56and it converts it into instructions.
- 0:58Those instructions go to the screen,
- 1:00which changes the brightness of each of the millions of
- 1:02red, green and blue lights that make up your screen,
- 1:04up to 60 times a second, perfectly.
- 1:07It's incredible technology that we just take for granted.
- 1:10But those little lights can't be adjusted to any brightness.
- 1:14The simplest digital signal would just tell the screen
- 1:16whether to turn each light on or off.
- 1:18Each instruction would take a single bit, a single one or zero.
- 1:21So for each pixel, each combination of red green and blue,
- 1:24that gives you eight possible colours:
- 1:26two times two times two.
- 1:28Which doesn't look great.
- 1:30So, okay, let's add another bit for each colour.
- 1:33Two bits gives us four options for each light: off, dark, sorta-bright, and completely on.
- 1:37Now we've got four times four times four, 64 colours.
- 1:41Still doesn't look great.
- 1:42For a modern screen, you need eight bits for each pixel,
- 1:45so you've got 256 shades each of red, green, and blue,
- 1:48which gives you those 16 million colours that you're used to.
- 1:51That ought to be enough, right?
- 1:53It seemed to be, when the standards were written.
- 1:55And to be fair,
- 1:56every bit you add means more data to transmit and more expensive equipment.
- 2:00It seemed like a pretty good compromise at the time.
- 2:02Professionals, like people working in digital cinema,
- 2:04they go further, they might use ten bits for each pixel,
- 2:07giving them about a billion total possible colours instead.
- 2:10And you may well have a fancy screen that can show those more precise billion colours,
- 2:14but the picture quality is determined by the weakest link in the chain.
- 2:18A ludicrously expensive HDR monitor isn't going to fix the colour banding
- 2:22on that regular YouTube video.
- 2:24Anyway, it was decided that 256 shades each of red, green, and blue,
- 2:28combined however you like, that should be enough for most people.
- 2:30And for almost everything, it is.
- 2:33But at full resolution, this video is 1,920 pixels wide.
- 2:37And there are only 256 shades of green.
- 2:40So if I have a green gradient across the whole video,
- 2:42even if you use every single shade of pure green that's possible on this format,
- 2:46then you're still going to have a colour band every seven or eight pixels.
- 2:49And if everything's much darker than that..
- 2:52suddenly you only might have half a dozen different shades of green
- 2:55available across the whole picture.
- 2:57Even if you’re using a bit of red and blue in there as well,
- 3:00there just aren’t that many available dark colours.
- 3:03But if you've got plain, bright background,
- 3:06why doesn't that have colour-banding all over it?
- 3:08Well, the second reason is how human eyesight works.
- 3:11There is colour banding all over this video. Right now.
- 3:15If we take a sample of the bright gradient behind me and massively increase the contrast,
- 3:20you can see it's there… but normally, it's invisible.
- 3:23And that’s because while the absolute difference between two bands is still the same,
- 3:27the relative difference is tiny.
- 3:29It's the same reason that this chart looks a lot closer than this chart.
- 3:33Going from 201 to 202 feels like a tiny change
- 3:36but going from 1 to 2 is a doubling.
- 3:38Even though in both cases,
- 3:40the absolute change is the same: one,
- 3:42we perceive one as being bigger than the other.
- 3:46But even if you don't have enough colours,
- 3:48you can break up gradients another way, you can use dithering.
- 3:51Instead of going from one colour to another at a line,
- 3:54you can steadily transition from one to the other,
- 3:56you can make the boundary fuzzy,
- 3:57so that from a distance the colours appear to blend.
- 4:00And if you’re filming a real-life scene, then that’ll happen in-camera,
- 4:03the natural light and the noise in the signal and the sensor will do that for you.
- 4:07And it actually works really well, it more or less solves the problem...
- 4:10but it won't look like that here.
- 4:13And that brings me to the third reason: compression.
- 4:16A raw HD video, uncompressed,
- 4:18needs somewhere around a gigabit per second of data.
- 4:22Even if you have an internet connection that can somehow support streaming all that,
- 4:26it's incredibly wasteful and expensive to use all that data.
- 4:29So every streaming service, YouTube, Netflix, everyone,
- 4:32uses lossy compression:
- 4:34a program called an ‘encoder’ takes a massive high-quality video file,
- 4:37and then throws away fine detail to save data.
- 4:41The more the video is compressed, the worse it looks,
- 4:43but it’ll work on slower and slower connections,
- 4:45and it’ll be cheaper and cheaper to run your streaming service.
- 4:49But at some point,
- 4:51the viewers are going to notice that the picture doesn't look great.
- 4:54But the encoder, the compression software, is written by very clever people:
- 4:58and it works out which bits of the scene
- 5:00the viewer is probably going to be interested in,
- 5:02and puts most of its effort into making that part look good.
- 5:05And that’s usually a bright, sharp part of the scene,
- 5:08something well lit and in focus,
- 5:10and probably the bits that are moving.
- 5:12Now there are exceptions,
- 5:14where there's some slow, menacing threat out of focus in the background,
- 5:17but for almost every scene, if it’s dark, or out of focus,
- 5:21chances are the director and the viewer doesn't care about it.
- 5:23So the encoder doesn’t care about it either:
- 5:25if there are only fifty kilobits,
- 5:27fifty thousand ones and zeros available to describe each frame of video,
- 5:30then the encoder will make sure that most of those
- 5:33are spent on where the viewer's likely to be looking.
- 5:37All that dithering, all the fancy stuff in the background?
- 5:39Too expensive.
- 5:40Smear it out into just big blocks of solid colour, no-one'll notice.
- 5:44And we won't.
- 5:46Unless it's also very dark.
- 5:48At which point,
- 5:50there will be something nasty lurking in the shadows.
About this transcript
This page contains the full transcript of Why dark video is a terrible mess by Tom Scott, generated from the public captions YouTube serves with the video. The transcript has 1,134 words across 125 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.