This page intentionally left blank. ⬇️, ➡️, or spacebar 🛰 to start slidedeck.
Video is made up of streams, wrapped in a container, and some of those streams are encoded with a codec
What is inside the video file can be thought of in terms of streams:
The extent and availability of the above is contingent on the parameters of the container in use.
How is color organized, translated, conveyed, and presented?
❤️ 💚 💙
Red, Green, Blue, like most modern computer monitors.
U and V are red-difference and blue-difference
Sometimes people say YUV when they actually mean something else:
Cb and Cr are blue-difference and red-difference
Co and Cg re orange-difference and green-difference
Let's look at the SMPTE color bars:
What does this do? Yeah, it checks your colors and makes sure they look good! But how does it do that?
Top part: Different colors (white, primary, and secondary colors) set at 75% saturation (Why 75%? Because 100% would be too much and may cause clipping).
Middle row: "Reverse bars"
Bottom left: Subcarrier frequency at -/ phase, white, subcarrier frequency at +Q phase
Bottom right: "PLUGE" element.
Most of this isn't really useful anymore, not useful digitally, although the bottom-left is especially not-useful.
Reverse bars?
Subcarrier frequency?
PLUGE?
A thing we do because human eyes can't really see color that well. Chroma subsampling is "the practice of encoding images by implementing less resolution for chroma information than for luma information."
Some common ones for preservation (because we want the best):
Remember that in video, chroma is in both the Cb and Cr channels so each get subsampled.
What do these numbers mean?
x:y:z
x = width (horizontal) of sample size
y = number of chroma samples in the first row
z = number of chroma samples in the second row
⬛️ = checked pixel
⬜️ = ignored pixel
4:4:4 is full chroma and not subsampling at all because everything is being sampled.
⬛️ ⬛️ ⬛️ ⬛️
⬛️ ⬛️ ⬛️ ⬛️
4:2:2 is checking every other pixel horizontally and vertically
⬛️ ⬜️ ⬛️ ⬜️
⬛️ ⬜️ ⬛️ ⬜️
4:2:0 is checking every other pixel horizontally but not vertically
⬛️ ⬜️ ⬛️ ⬜️
⬜️ ⬜️ ⬜️ ⬜️
This is, of course, a simplification. Some algorithms (JPG?) don't just sample the first pixel, but sample both together and take the average results. So it's smarter than as basically outlined above.
Good news, there are only three systems:
Bad news, they are completely incompatible with each other.
National Television Standards Committee
Developed in the USA in 1954.
Phase Alternating Line
Developed in 1967 by the United Kingdom & Germany.
Séquentiel couleur à mémoire ("Sequential colour with memory")
Developed in France in 1967.
SECAM uses the same bandwidth and resolution (720x576) as PAL but transmits color differently.
By Jedi787plus - https://en.wikipedia.org/wiki/File:Vector_Video_Standards4.svg, GFDL, https://commons.wikimedia.org/w/index.php?curid=37694717
But of course it's even more complicated than that.
Pixel bit depth refers to color depth for each pixel, the amount of color information stored (as bits) in each and every pixel on screen.
For perspective, 1-bit will have just two colors. Each pixel will have to answer a yes/no question for "Am I like this color?" and there is only one color to ask about. 2-bit allows for four colors.
8 bit = 256 colors
10 bit = 1024 colors
16 bit = 4,096 colors
32 bit = 4,294,967,296 colors
256 colors isn't very much. But video comes in as three components -- YCbCr or RGB, so it is running the bit depth over one pixel three times.
So when it's per channel, it means 8bit is 256x256x256
10bit is 1024x1024x1024.
Both of these numbers equate to way more colors than humans are capable of perceiving.
Wait -- pixels can be different SIZES?
That's right, just when you think you were started to understand how video works...
How fast do things go?
Practice: Beyonce game
Interlacing is for optimizing perceived motion in lossy video.
"Interlacing issues can be seen during movement, where squiggly lines appear in places of motion. The concept of interlacing involves each frame containing 50% of the line information required for a full picture, and having even and odd frames play back half of the information quickly enough would result in a full-looking image. This was done because it was faster to send video signals, like in the case of television, when this kind of technique is used. Now it just lingers around making everything look like garbage." -- Format-ion: Video playback errors in Beyoncé’s latest music video
When interlacing, every other line is skipped. Which gets skipped depends on if the Scan Order is set to TFF or BFF.
TFF = Top Field First (TFF)
BFF = Bottom Field First (BFF)
MBAFF Macroblock-Level Adaptive Frame/Field PAFF Picture Adaptive Frame Field
Timecodes assign a number to each frame.
BCD: Binary Coded Decimal (HH:MM:SS:FF)
BITC: Burnt-In Time Code
LTC: Linear Timecode
VITC: Vertical Interval Time Code
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |