Please enable JavaScript.
Coggle requires JavaScript to display documents.
Video File / Container, Stream, Video Codec, Compression, Draw on the…
Video File / Container
Audio Data
Audio Coding Format
Video Data
Video Coding Format
Synchronization Information, Subtitles, Metadata
Stream
Video Stream
Audio Stream
What is a Stream
A "stream" is just a fancy word for "a succession of data elements made available over time"
Each stream is encoded by different by
Codec
Coded
Decoded
Data Elements / Packets
Frames
A frame is one of the many still images which compose the complete moving picture
Pieces of Data
Contains bits of Data
Video Codec
Electronic Circuit / Software that compress / Decompress digital Video
Uncompressed to compressed and Vice-Versa
Video Compression Context
Codec
Encoder
Compress
Decoder
Decompress
Compression
Lossy
Lacks in some Information while compressing
Insufficient Data
Decompressing
No a perfect Video
Draw on the Screen
SDL - Simple Direct Layer
YUV
Analog Format
SDL has many methods for drawing images to the screen, and it has one in particular that is meant for displaying movies on the screen - what it calls a YUV overlay
Storing Raw image data like RGB
Y - Luma
U and V Color Components
More Complicated than RGB because some of the color information is discarded
SDL's YUV overlay takes in a raw array of YUV data and displays it
Y, U, and V components are in separate arrays. FFmpeg can convert images to YUV420P, with the added bonus that many video streams are in that format already, or are easily converted to that format.
YCbCr
Digital Format
Swift
Bridging Header
Objective C Wrapper
CPP