HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Why Snow and Confetti Ruin YouTube Video Quality

Tom Scott3 HN recommenders · recommended in 3 months, 2018-2024
YouTube
10.4M views · 10 years ago · explainer · evergreen

Tom Scott explains why confetti and snow wreck video quality, using interframe compression and bitrate. He demonstrates it live by changing the quality on screen.

Used as the clearest short demonstration of why noisy, high-motion content is hard for video compression.

Information theory & signal processingAudio & video engineering#videocompression#bitrate#interframe#youtubequality#tomscott

10 comments from Hacker News

@Rebuff50072024 · in “Tom Scott: After ten years, it's time to stop making videos [video]”

To this day when I have buffering problems with online videos I immediately think about his explainer-demo with confetti [1]. Love his work! [1] ▶ this video

Strongly recommendsView on HN
@ReactiveJelly2023 · in “Technical Overview of AV1 Spec”

Yeah. And that's why TV stores really like slow-motion shots or static landscapes to show off the TV. Any motion will cause "HDTV blur" as the encoder struggles to describe complex motion with the limited number of bits it's allowed to use. Stuff like static, film grain, particles like snow or rain, those all suck up bits from the same encoding budget. "Why Snow and Confetti Ruin YouTube Video Quality" by Tom Scott probably explains it nicer than I can ▶ this video This could be a problem for video game streaming, and it could affect the artistic decisions a game studio makes - Drawing a billion tiny particles on a local GPU will look crisp and cool, but asking a hardware encoder to encode those for consumer Internet (or phone Internet) might be too much. I think streamers have run into this problem already.

CitesView on HN
@jerf2023 · in “MP3 vs. AAC vs. FLAC vs. CD”

Some of it is people ask the wrong questions. On a loudness-war-wrecked pop song I may not be able to tell 128Kbps from the original, but on specific content I have been able to tell. I'm not even claiming golden ears or anything; some specific audio content is the audio equivalent of visual confetti [1], and anyone can hear the difference, because the codec isn't even close. And let me underline, I mean, anyone . No special claims being made here. But all in all, that content is relatively rare, and generally transient even in the music they appear in. [1]: ▶ this video

CitesView on HN
@jerf2023 · in “Apple Vision Pro – Why It May Be Lousy for Watching Movies on a Plane”

It may be easier to think about high-quality swathes of pixels, because obviously any one pixel can't be wrong in isolation, and even to the extent it is, who cares. However, if you look at a swathe of pixels, say a 16x16 chunk, you can reasonably talk about with what fidelity that set of pixels represents the original signal, whatever that original signal was. You get into the whole perceptual coding thing which tells us that determining the human-perceived accuracy of a chunk of pixels is more than just adding up the differences, but you can take that as a suitable first approximation for thought. High-quality pixels have minimal deviation from the source material. Low-quality pixels have significant deviation. Tom Scott has a good video where turns up and down the quality live so you can see it in a single video: ▶ this video The video's resolution never changes, and you could say the video's bit rate never changes (it probably does because adaptive coding saves YouTube a fortune, but conceptually you could say it doesn't), but the quality of the pixels sure does.

RecommendsView on HN
@woobilicious2022 · in “YouTubeDrive: Store files as YouTube videos”

YouTube's 1080p60 is already at a decimation ratio of about 200:1, then you have to consider how efficient P and B frames are with motion/differences. if your data looks like noise you're gonna be completely screwed since the P and B frames will absolutely destroy the quality. There's a bunch of other things too, like YUV420p and TV colour range: 16-235, so you only get 7.7bits / pixel. If anything you would want to encode your data in some way that abuses the P and B frames, and the macro block size of 16x16. Coding theory for the data output at your end is only one side of the coin, the VP9 codec stupidly good compression is a completely different game to wrangle. And I kinda doubt you'll get much better than your estimate of 1% from the original scheme. ▶ this video

CitesView on HN
@anyfoo2022 · in “YouTubeDrive: Store files as YouTube videos”

That's the thing though, "looks like" breaks down pretty quickly with things that aren't real images. It even breaks down pretty quickly with things that are real, but maybe not so common, images: ▶ this video So one question would be: Does your image generation approach preserve a higher information density than big enough pixels?

CitesView on HN
@rocgf2020 · in “How Video Works”

I do not know the answer, but I would absolutely shocked if it was streamed as a regular video. To the best of my knowledge, there are many, many optimizations which go into video. This is a pretty good high-level video I came across - ▶ this video

RecommendsView on HN
@eru2020 · in “AT&T’s current 5G is slower than 4G in nearly every city tested by PCMag”

Quite a few. Though to be honest, 4k is currently good enough for me, resolution wise. But: even the highest bitrates you get on eg YouTube ain't good enough to show certain scenes nicely. Especially when snow is involved. That's because the video compression algorithms we have don't cope well with that. See ▶ this video So there's a clear and simple use case for more bandwidth, even if we don't increase resolution.

CitesView on HN
@saltminer2019 · in “New 2019 MacBook Air features a slower SSD than 2018 model”

For 4k video, H.265/VP9 have better quality at the same file size, or equivalent quality at a smaller file size. Bandwidth usage matters for keeping people on the website and viewing Google's ads, so Google wants to ensure a smooth streaming experience. And since YT compresses so heavily, uploading in 4k increase the quality at lower resolutions (it seems weird but a 4k video uploaded to YT and streamed at 1080p will look better than a 1080p video uploaded to YT and streamed at 1080p). And as xnyan said, high motion video really destroys video quality on YT, this video really shows how bad it can get: ▶ this video

CitesView on HN
@jdietrich2018 · in “Google and LG creates VR AMOLED 120 Hz at 5500 x 3000”

You can make educated guesses about the future, which is how Oculus's Asynchronous Spacewarp works. Rendering a whole frame is slow, but warping a pre-rendered frame is fast. If the next frame is taking too long to render, you can warp the last frame to roughly match the perspective that corresponds with the current head tracking data. You get some artefacts, but they're not as noticeable as the judder caused by a missed frame. Prediction can also be used to estimate the head-tracking data at the time the frame is drawn to the display, rather than at the time the frame starts to render. Similar techniques are used in video compression - encoding the exact value of every pixel is expensive, but you can trade bandwidth for processing by encoding transformations of a previous frame. A modern compressed video consists mainly of these interpolated frames, with only a minority of frames containing a full image. This interpolation can use data from both past and future frames (B frames) but can also use just the data in previous frames (P frames). This works extremely well most of the time, but there are some edge cases: ▶ this video link

CitesView on HN
Hold music used to sound better. Here's why.3:36

Hold music used to sound better. Here's why.

Tom Scott
2.9M views • 8 years ago
3D Gaussian Splatting! - Computerphile17:40

3D Gaussian Splatting! - Computerphile

Computerphile
273K views • 2 years ago
Smoother animation ≠ Better animation [read pinned comment]13:05

Smoother animation ≠ Better animation [read pinned comment]

Noodle
16.1M views • 5 years ago
Why CG Sucks (Except It Doesn't)7:40

Why CG Sucks (Except It Doesn't)

RocketJump Film School
11.3M views • 11 years ago
My Video Went Viral. Here's Why23:43

My Video Went Viral. Here's Why

Veritasium
5.6M views • 7 years ago
VIDEO ROOM 1000 COMPLETE MIX -- All 1000 videos seen in sequential order!2:51

VIDEO ROOM 1000 COMPLETE MIX -- All 1000 videos seen in sequential order!

ontologist
2.4M views • 16 years ago
Why Sony's Beta Videotape System Failed--and failed hard (Part 1)16:29

Why Sony's Beta Videotape System Failed--and failed hard (Part 1)

Technology Connections
1.5M views • 9 years ago
Comparing Beta & VHS on Quality: Was Beta Really Better?9:51

Comparing Beta & VHS on Quality: Was Beta Really Better?

Technology Connections
710K views • 9 years ago
Onslaught - Bad Apple 64 - C64 Demo4:01

Onslaught - Bad Apple 64 - C64 Demo

RetroDemoScene
71K views • 12 years ago
Computer Color is Broken4:14

Computer Color is Broken

minutephysics
4.3M views • 11 years ago
GradIEEEnt half decent: The hidden power of imprecise lines55:02

GradIEEEnt half decent: The hidden power of imprecise lines

suckerpinch
391K views • 3 years ago
Why Web Filters Don't Work: Penistone and the Scunthorpe Problem3:37

Why Web Filters Don't Work: Penistone and the Scunthorpe Problem

Tom Scott
3.6M views • 10 years ago
Samplerates: The Higher the Better, Right?29:22

Samplerates: The Higher the Better, Right?

FabFilter
571K views • 6 years ago
string theory lied to us and now science communication is hard52:11

string theory lied to us and now science communication is hard

Angela Collier
1.5M views • 3 years ago
Weird Kids' Videos and Gaming the Algorithm14:24

Weird Kids' Videos and Gaming the Algorithm

Folding Ideas
1.3M views • 8 years ago
【東方】Bad Apple!! PV【影絵】3:40

【東方】Bad Apple!! PV【影絵】

kasidid2
142.9M views • 17 years ago
D/A and A/D | Digital Show and Tell (Monty Montgomery @ xiph.org)23:53

D/A and A/D | Digital Show and Tell (Monty Montgomery @ xiph.org)

FL Studio
647K views • 13 years ago
Clickbait is Unreasonably Effective19:25

Clickbait is Unreasonably Effective

Veritasium
8.3M views • 5 years ago
AI Learns Noise Filtering For Photorealistic Videos | Two Minute Papers #2154:17

AI Learns Noise Filtering For Photorealistic Videos | Two Minute Papers #215

Two Minute Papers
65K views • 8 years ago
Reveal Invisible Motion With This Clever Video Trick14:20

Reveal Invisible Motion With This Clever Video Trick

Steve Mould
2.8M views • 6 years ago