Uploaded May 2023 | Updated November 2026, 14 hours ago
This video was made as part of a fourth-year undergraduate course covering an overview of Data Compression.
0:00 Introduction
0:22 gzip and DEFLATE
8:32 The .gz format
25:44 gzip Header
33:30 gzip Blocks
35:31 gzip Footer
43:56 DEFLATE
50:28 Block Types
51:32 Block Type 0
56:55 DEFLATE and LZSS
1:06:46 Literal/Length and Distance Symbols
1:20:03 LZSS Encoding
1:27:56 Computing Prefix Codes
1:29:59 Block Type 1
1:35:52 Block Type 2
1:45:10 Code Length Encoding
2:03:21 Block Type 2 Header
2:13:15 Complete Block Type 2 Example
2:27:23 What to Optimize
All slides and diagrams are original content (developed between 2019 and 2023).
As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).
If you or someone you know is interested in studying DEFLATE bitstreams, you might want to take a look at this tool (which is mentioned in the video): github.com/billbird/gzstat
You also might want to look at the RFC documents describing gzip and DEFLATE: rfc-editor.org/rfc/rfc1951.txt, rfc-editor.org/rfc/rfc1952.txt
This video was made as part of a fourth-year undergraduate course covering an overview of Data Compression.
0:00 Introduction
0:22 gzip and DEFLATE
8:32 The .gz format
25:44 gzip Header
33:30 gzip Blocks
35:31 gzip Footer
43:56 DEFLATE
50:28 Block Types
51:32 Block Type 0
56:55 DEFLATE and LZSS
1:06:46 Literal/Length and Distance Symbols
1:20:03 LZSS Encoding
1:27:56 Computing Prefix Codes
1:29:59 Block Type 1
1:35:52 Block Type 2
1:45:10 Code Length Encoding
2:03:21 Block Type 2 Header
2:13:15 Complete Block Type 2 Example
2:27:23 What to Optimize
All slides and diagrams are original content (developed between 2019 and 2023).
As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).
If you or someone you know is interested in studying DEFLATE bitstreams, you might want to take a look at this tool (which is mentioned in the video): github.com/billbird/gzstat
You also might want to look at the RFC documents describing gzip and DEFLATE: rfc-editor.org/rfc/rfc1951.txt, rfc-editor.org/rfc/rfc1952.txt










