Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet
with Jean-Baptiste Kempf and Kieran Kunhya
7 May 2026
28 min read
2h 20m
TL;DR
FFmpeg and VLC are volunteer-built open-source projects that form the backbone of all video on the internet, yet most people don't know they exist. Video compression requires balancing human perception with mathematical complexity—codecs achieve 100-1000x compression by exploiting spatial and temporal redundancy while matching how human eyes and ears actually work. The real genius is not the final codec, but the philosophical commitment to handling broken files, supporting any format, and maintaining zero tolerance for corporate backdoors.
Jean-Baptiste Kempf is president of VideoLAN and a key figure behind VLC, the legendary open-source media player downloaded over 6 billion times. Kieran Kunhya is a longtime codec engineer and FFmpeg contributor, known for the viral FFmpeg Twitter/X account that celebrates low-level software engineering. Together they represent the volunteer engineering community behind FFmpeg and VLC—the invisible infrastructure powering video across YouTube, Netflix, Chrome, and virtually every platform on the internet.
Takeaways
1
Video codecs exploit human perception limits Modern video compression doesn't just remove redundancy—it strategically degrades signals in ways humans cannot perceive. Converting RGB to YUV and scaling chroma separately can halve file size without visible quality loss. Each codec generation achieves 30% better compression but requires orders of magnitude more CPU power to encode, reflecting a deliberate trade-off between compute cost and compression efficiency.
2
Robustness through defensive architecture VLC's legendary reliability stems from its origins in UDP-based streaming where packets get lost. The entire codebase is designed to recover from broken files, incorrect metadata, and malformed streams—treating every input as potentially corrupted. This philosophy, baked in from day one, is why VLC can play formats that other players reject, and why it became the de facto recovery tool for damaged media.
3
Open-source infrastructure powers trillion-dollar platforms FFmpeg and VLC, built entirely by volunteers, form the backbone of video delivery for Netflix, YouTube, Chrome, Discord, and most internet platforms. A grandmother's home videos and corporate services use identical technology stacks. This represents a remarkable feat of invisible engineering: billions of people consume video daily without knowing the software that makes it possible is maintained by a small community that refuses corporate compromises or backdoors.