Table of contents

Course

Part 1

Basics

Core concepts of video and compression

🎬

Ch. 1

Video Basics

The groundwork you need before learning codecs: pixels, color spaces, subsampling, HDR

📐

Ch. 2

Principles of Compression

Entropy, rate-distortion theory, and how to measure quality as a number. The shared language of every codec design.

🧩

Ch. 3

Anatomy of a Hybrid Codec

Block partitioning → prediction → transform → quantization → entropy coding → filtering. The skeleton shared by every codec from AVC to AV2.

Part 2

Codec by codec

The traits and uses of each codec, one at a time

🖼️

Ch. 4

Image Codecs

From JPEG to AVIF: the ancestors of video codecs, and technology you still run into every day.

📼

Ch. 5

AVC / H.264

Released in 2003 and still the most widely adopted codec in the world. Let's dig into why it was so overwhelmingly successful.

📺

Ch. 6

HEVC / H.265

Top-tier quality, so why didn't it take over the market? A story of technology and of patent disputes.

🌐

Ch. 7

VP9 & AV1

The weapon of being royalty-free. From Google's experiment (VP9) to the fruit of an industry alliance (AV1).

🚀

Ch. 8

VVC & AV2 & EVC

The newest generation as of 2026. Compression efficiency keeps climbing, but complexity rises with it.

🎯

Ch. 9

Special-Purpose Codecs

Codecs designed not for everyone, but for one job: APV, LCEVC, ProRes, and screen content.

Part 4

Advanced

Deeper topics such as HDR, low latency, filters and encoding recipes

📏

Ch. 11

Measuring Video Quality in Practice

How to pick between PSNR, SSIM, and VMAF, measure without fooling yourself, and read the bad frames hiding behind an average. (Advanced)

🎧

Ch. 12

Audio Codecs

From sampling and perceptual coding to choosing between AAC, Opus, and FLAC, the loudness standard (LUFS) and loudnorm, and audio compatibility by container. (Advanced)

⚡

Ch. 13

Hardware Encoders

The structure and traits of NVENC, Quick Sync, AMF, VideoToolbox, and mobile SoC encoders, their pros and cons versus software encoders, how to check support, and ffmpeg options. (Advanced)

🌅

Ch. 14

HDR Workflow in Practice

Advanced. We take the PQ and HLG you learned in Chapter 1 and apply them to real files: metadata, 10-bit encoding options, SDR tone mapping, uploading, and the causes of the "washed-out colors" problem.

⚡

Ch. 15

Low-Latency and Real-Time Streaming

Advanced. Where latency comes from and how to reduce it: encoder settings, LL-HLS and LL-DASH (CMAF chunks), WebRTC, SRT and RIST, and the concepts behind OBS streaming settings.

📦

Ch. 16

Containers in Depth

Advanced. MP4 (ISOBMFF) boxes, faststart, fMP4, EBML in MKV/WebM, MPEG-TS, timestamps (PTS/DTS and timebase), reading structure with ffprobe, and what remuxing can and can't do.

🔧

Ch. 17

FFmpeg Filters in Practice

Hands-on. The syntax of -vf and -filter_complex, scale, zscale, fps, crop and pad, deinterlacing (yadif/bwdif), denoising and compression efficiency, burning in subtitles, audio filter basics, and common mistakes like color range and SAR.

🧭

Ch. 18

Encoding Recipes and How to Decide

In practice. How to decide in the order of destination → codec → rate control → preset, the differences between CRF, 2-pass, and CQ, recipes for archiving, platform upload, web embedding, and messenger sharing, and how to check your own result against this site's measured numbers.

🔬

Ch. 19

Diagnosing Video Quality Problems

In practice. How to tell blocking, banding, ringing, mosquito noise, flicker, and color bleeding apart from screenshots, pick the right fix for each cause (bitrate, AQ, 10-bit, dither, deblocking), and use ffmpeg to pull out suspect segments and check them with per-frame VMAF.

🖼️

Ch. 20

Optimizing Web Images and Animations

In practice. How to choose among JPEG, PNG, WebP, AVIF, and JPEG XL on the web, serve the right file with picture and srcset, replace GIFs with short videos, check browser support, and the cwebp, avifenc, and ffmpeg conversion commands.

📤

Ch. 21

Platform Uploads and Re-encoding

In practice. Why YouTube, social media, and messengers re-encode the videos you upload and how that works, how to build a source file that minimizes re-encoding loss (high quality, preserved resolution and frame rate, color metadata), how to check each platform's specs in its official help pages, and a pre-upload checklist.

⚖️

Ch. 22

Codec Patents, Licensing, and the Ecosystem

A codec is both a technology and a contract. This chapter covers who makes the standards, what a patent pool is, what 'royalty-free' does and does not promise, how the licenses of x264, x265, and SVT-AV1 differ, and in what order hardware support spreads. This is not legal advice.