Lex Fridman Podcast

Podbit · Lex Fridman Podcast

#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Explore episode May 6, 2026
Technology
Why Hand-Written Assembly Beats C by 62x

#496 – FFmpeg: The Incredible Technology Behind Video on th… · May 6, 2026 Technology

Compilers cannot auto-vectorize anywhere close to what an expert human can do by hand. The dav1d AV1 decoder proves it: 80% assembly, 62x faster than C on pixel conversion functions, running on 3 billion devices. Moore's Law is over — squeezing hardware through hand-crafted assembly is how you get more without buying more.

Where this was said

Reverse engineering codecs

At 1:50:40 · chapter starts 1:48:59

Kostya's GoToMeeting reverse engineering, stepping through millions of CPU instructions, dumping memory from VMs, needing bit-exact output — and why a 1MB blob takes a month.

Technology
Reverse Engineering a Codec From a Binary Blob

#496 – FFmpeg: The Incredible Technology Behind Video on th… · May 6, 2026 Technology

Reverse engineering a codec means opening a binary with no documentation, stepping through millions of CPU instructions in a debugger, dumping memory from a virtual machine, and slowly inferring — frame by frame — what the compression algorithm is doing. A 1MB blob takes roughly a month. Kostya did 20–30MB blobs regularly, for fun.

Similar podbits