scripod.com

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

Lex Fridman Podcast

Shownote

Jean-Baptiste Kempf is lead developer of VLC and president of VideoLAN. Kieran Kunhya is a longtime FFmpeg contributor, codec engineer, and the person behind the now-infamous FFmpeg account on X. Thank you for listening Check out our sponsors: https://lex...

Highlights

This episode features a deep technical and philosophical conversation with Jean-Baptiste Kempf, lead developer of VLC and president of VideoLAN, and Kieran Kunhya, longtime FFmpeg contributor and codec engineer. It explores the engineering, ethics, and human dimensions behind two of the most influential open-source multimedia projects in history.
00:00
FFmpeg is the backbone of many video-audio platforms
09:39
LMNT electrolytes are essential for maintaining health during fasting and travel
10:48
People often search for 'Cone Player' to download VLC, underscoring how the logo has eclipsed the brand name in public recognition
18:43
Codecs mimic human perception—using YUV instead of RGB and discarding imperceptible details to achieve high compression without visible quality loss
33:08
Modern codecs like AV1, AV2, and VVC are collections of tools designed to adapt to different content types such as screen share, video, and animation
47:27
VLC's core library was relicensed from GPL to LGPL to allow proprietary applications to use it without open-sourcing their entire codebase
59:13
Linus' harsh tone is unusual even in the open-source community
1:01:01
Refusing millions was a moral choice to protect VLC's open-source integrity
1:15:17
Google used AI to create security reports on FFmpeg and announced issues publicly before they could be fixed
1:40:15
Individuals with self-belief and a vision can change the world in fields like building trains, cars, or rockets
1:41:08
FFmpeg and VLC coexist like a binary star system where they depend on each other
1:45:42
FFmpeg allowed single-player decoding without bloated codec packs
1:49:02
Kostya Shishkov reverse engineered large binary blobs including GoToMeeting's proprietary codec for VLC
2:05:27
Handwritten assembly matrices accelerate format conversions across CPU generations
2:09:53
FFmpeg uses 100,000 lines of handwritten assembly across all codecs—more than many entire applications—and achieves up to 62x speedups over C
2:33:10
Rewriting existing codebases in Rust is usually a bad idea because it's much easier to write code than read it
2:43:10
Open source maintainer burnout is exacerbated by corporate neglect, resource shortages, and high-profile crises like the xz fiasco
2:48:25
The speaker received death threats after deciding not to maintain the PowerPC port of VLC in 2009–2010 but now sees it as a pivotal lesson in resilience.
3:04:30
AV1 can save 40–60% more bandwidth than H.264 at the same visual quality
3:09:20
B-frames can depend on both past and future frames, enabling highly efficient compression.
3:22:23
Crashing VLC can lead to security risks because it integrates open-source and third-party code
3:39:31
Kyber achieves seven-millisecond glass-to-glass latency and targets four milliseconds for real-time robotic control
3:50:20
High patent costs for HEVC and VVC drove YouTube and Netflix to co-found the royalty-free AV1 and AV2 through the Alliance for Open Media
4:00:09
VLC doesn’t censor video content because it’s offline and doesn’t communicate with servers
4:04:28
They funded the development of the FFV1 codec and GPU encoding in FFmpeg
4:17:06
FFmpeg runs on NASA’s Mars rover

Chapters

Introduction
00:00
Sponsors, Comments, and Reflections
03:00
Weirdest things VLC opens
10:48
How video playback works
15:12
Video codecs and containers
24:33
FFmpeg explained
35:20
Linus Torvalds
56:20
Turning down millions to keep VLC ad-free
1:00:59
FFmpeg & Google drama
1:15:17
FFmpeg developers
1:34:31
VLC and FFmpeg
1:41:08
History of FFmpeg
1:45:42
Reverse engineering codecs
1:48:59
FFmpeg testing
2:02:14
Assembly code (handwritten)
2:06:21
Rust programming language
2:30:39
FFmpeg and Libav fork
2:39:55
Open source burnout
2:48:17
x264 and internet video
2:56:04
Video compression basics
3:09:20
CIA and fake VLC
3:16:17
Ultra low latency streaming
3:26:52
AV2 codec and video patents
3:44:20
VLC backdoors
3:54:12
Video archiving
4:04:27
Future of FFmpeg and VLC
4:11:04

Transcript

Lex Fridman: The following is a conversation all about FFMPEG and VLC with Jean-Baptiste Kempf and Kieran Kunhya. FFMPEG is an open source software system that is the invisible backbone behind YouTube, Netflix, Chrome, VLC, Discord, and basically every pla...