World's Smallest H.264 Encoder
Single-C-file all-I-frame baseline H.264 encoder walkthrough that writes SPS/PPS and slice headers — a minimal way to learn bitstream construction.
Link
Related resources
- Quick Dive into MP4 — Hands-On Box Parser TutorialGuided tutorial building an MP4 box parser in Go, walking through ISOBMFF structure box by box.
- Vcodex — An Overview of H.264 Advanced Video CodingIain Richardson's explainer series on H.264 structure: NAL units, slices, macroblock syntax and what the standard actually specifies.
- Kostya's Boring Codec World — FFhistory: Early Reverse EngineersActive codec reverse-engineering blog documenting the history of FFmpeg's early codec implementations and obscure format internals.
- FFmpeg at Meta: Media Processing at Scale (2026)March 2026 engineering post on Meta's FFmpeg fleet architecture, upstream engagement and hardware encoder integration across its media pipe…
- WebCodecs Fundamentals — projects and patterns catalogDocumentation site cataloging WebCodecs-based projects and implementation patterns for in-browser encoding, decoding, muxing and "FFmpeg fo…
- ubitux (Clément Bœsch) — FFmpeg Post IndexFFmpeg developer's blog index collecting deep technical posts, including the canonical high-quality GIF palettegen/paletteuse guide and FFm…
- WebCodecs Fundamentals — Muxing and DemuxingIndependent tutorial site teaching WebCodecs pipelines from first principles, including container muxing/demuxing and library comparisons.