Video Compression Is Magical

preview_player
Показать описание
I'm a big nerd about all things video, not just MAKING videos lol. Really hyped to talk about h.264, video encoding, mp4's and the magic behind how it all works

MAIN POST

ADDITIONAL SOURCES

S/O Ph4se0n3 for the awesome edit 🙏
Рекомендации по теме
Комментарии
Автор

You chose a great shirt to have in a video about compression...

EamonnMooney
Автор

You forget Google developed it's own video codec for YouTube. I'm being served this video in the VP9 codec.

Apoque
Автор

Just to clarify, the reason why RGB were chosen is because they are the primary colors of light for humans because they are the colors that the cones in our eyes are sensitive to (in other words, nature choose RGB, we merely discovered it). The CYMK pallet was chosen for pigments is because pigments are subtractive and therefore should be the complements of RGB (cyan is the complement of red, yellow for green and magenta for blue, and K is for black because combining colored pigments doesn't result in the best black). The primary colors we learn in elementary school, namely Red Blue and Yellow, are for pigments NOT light and are suboptimal from before we, as a species, understood RGB.

jon
Автор

Important distinction that most people might misinterpret, you don’t choose between additional and subtractive color models.

Pigments absorb wavelengths, using all colors absorbs all wavelengths and therefore is black.

Additive is the result of broadcasting or emitting. We picked RBG because those are the frequencies our eyes detect*. Every other color is the result of our brains doing math over groups of photoreceptors in your eye. So having a yellow pixel would be a waste as your eye doesn’t see yellow, it sees a tickle of green and red and maths it to yellow.

Wavelengths, brains, and language is a trippy triangle.

*assuming no chroma deficiencies.

Cohors
Автор

This is some of the best content I've ever seen on your channel. The topic is amazing, and the explanation is superb.

sdserranog
Автор

Things like h264 video encoding are why I'll always believe software optimization is as important as hardware. If we didn't have this level of compression, we would only just barely now in modern day be able to MAYBE download a high quality video off the internet in a "reasonable" time period.

Sammysapphira
Автор

Best video explanation of this subject that I've run into. Great balance between technical terms and simplification. Thanks to Sid for the article and to you for elaborating and saving us the reading part. Cheers!

Idantim
Автор

Once the video gets to a certain number of views, Youtube will re-encode it into AV1. (Currently for me it is encoded in VP9). AV1 is a codec that is better than H264 and H265 and also does not require licensing costs for implementers. It is cool that an Open standard is being adopted an a wide scale.

portablejim_au
Автор

i know this is primarily a web dev channel but this is by far my favorite topic you’ve covered so far

cc.forbes
Автор

Terrific content once again! Simply thank you for creating the best dev content on youtube covering the industry with excellent and thought-provoking insights. Hard to skip even one upload ❤

joellappalainen
Автор

0:25 Not true, youtube has been phasing it out for years. It is mostly VP9 now, with AV1 rolling out more and more over time.
In fact this video is getting served to me in AV1 right now.

TheBackyardChemist
Автор

You 100% got me with that 8 year old sub call out. I had to pause the video and go look at the original article because I didn't think you'd even been on youtube that long, only to come back, unpause and have you explain the joke :P

jodysteele
Автор

You nailed it, thanks for that well break down on that article (great article).

Also i think av1 is interesting too, i love to see it on future video's

dev.sharif
Автор

I love deep dives into nerdy topics, please do more vids like this

ronanru
Автор

Watching a H264 video in a video with H264

michaelplaczek
Автор

I love how the YT timeline shows massive scrubbing activity at 21:50... where he talks about scrubbing in a YT video

JustCallMeBen
Автор

The first time I discovered "motion compensation" is in GIF, where every next frame you have only pixels that are changed from the previous frame.

ivansky
Автор

13:13 it's not ordered by "Changed the most" it's the Fourier representation. the data in approximated using Waves and by cutting off the high order parts of the approximation (data from the edge) we lose detail without sacrificing the Most significant shapes/colors -> it looks like a blurry version of the previous image.

emil.steiner
Автор

YouTube doesn't serve H.264 at all wdym?

TheBluffStudios
Автор

great video, wouldn't have found that article without you. good shit. i guess that's also why yt-dlp or ffmpeg have so much trouble cutting up video or downloading sections and you have to reencode shit all the time to get clips

coscorrodrift