How does file, music and video compression work | JPEG, MP3, H.264 codecs

Ever wondered how Netflix streams movies, how MP3s are so small, or why your camera can record hours of video onto a tiny SD card? The answer is compression, a way of shrinking data so it takes up less space, costs less to send over the internet, and loads faster.

In this video, we break down: 
00:00 - The basics of compression and why is compress
01:27 - A simple analogy to compression
02:03 - What a codec is (H.264, MP3, ZIP, etc.)
02:25 - Lossless vs Lossy compression (Dictionary-based compression)
04:21 - How H.264/AVC video compression work Hardware vs Software compression (camera chips vs Handbrake) + I-frame, P-frame, B-frames, GOP
06:18 - Minimizing compression
06:44 - Predictive compression
07:09 - Software vs Hardware compression
08:25 - Compression ratio, artificats and it matters