
Hosted by Lex Fridman
Written by a model from the transcript; not yet reviewed.
Lex Fridman sits down with Jean-Baptiste Kempf, president of Videoland and the driving force behind VLC, and Kieran Cunha, a codec engineer and FFmpeg contributor who runs the project's famous Twitter account. They trace the full pipeline from file to pixels: demuxing, entropy decoding, inverse transforms, and the tradeoffs between encoding and decoding. Video compression achieves 100 to 200 times reduction by exploiting the limits of human perception rather than preserving every bit.
Kempf recounts VLC's origin as a 1995 student satellite-streaming project at École Centrale Paris, his refusal of tens of millions to keep it ad-free, and the painful process of tracking down 350 contributors to relicense the codebase. Cunha details the 240,000 lines of handwritten SIMD assembly in DaV1d, the AV1 decoder, which achieves 62x speedups over C for specific functions, and argues that the end of Moore's law makes low-level optimization more critical than ever. The episode also covers the Google security AI debacle, reverse engineering proprietary codecs, the CIA's use of a modified VLC found in Vault 7, and Kempf's new project Kyber targeting 4-millisecond latency for remote robot control. FFmpeg, they note, runs on the Mars 2020 rover.
The Stupid Files Competitionstory
At a Videoland conference, they held a competition to create the weirdest, most horrible file and see if VLC could play it. An MKV file with changing resolution, aspect ratio, and rotation per frame worked. Another used animated subtitles as the entire video content.
Relicensing VLC's 350 Contributorsstory
Kempf had to contact more than 350 people to relicense VLC from GPL to LGPL. He tracked down a factory worker whose deceased son had written code, explaining open source meaning to a grieving father. He was nearly in tears.
Google's AI Security Debacledebate
Google used AI to generate security reports on FFmpeg's volunteer maintainers, announcing findings publicly before fixes could be made, with a standard 90-day deadline. The vulnerability was on an obscure 1990s game codec. Kieran argues the security community needs to stop crying wolf.
DaV1d's 240,000 Lines of Assemblydata
DaV1d, the AV1 decoder, contains 30,000 lines of C but 240,000 lines of handwritten assembly. It can decode 720p on one or two cores. The motto was 'every cycle matters' because 30% of Netflix and 50% of YouTube now use AV1.
Psychovisual Rate Distortion in x264insight
Industry and academia were obsessed with PSNR for twenty years, which led to blurring. x264 developers, mostly anime fans, introduced psychovisual rate distortion and adaptive quantization that prioritized how the image looks to a human eye over mathematical metrics.
CIA's Modified VLC in Vault 7story
WikiLeaks revealed the CIA had a custom version of VLC with a DLL that read the user's document folder, encrypted it, and sent it. The exploit worked because users watching a movie for two hours wouldn't notice unusual CPU usage.
Kyber's 4-Millisecond Latency Goaldata
Kempf's new project Kyber targets 4-millisecond glass-to-glass latency for remote control of robots, drones, and cars. They currently achieve 7ms between Windows machines. The encoder encodes a frame in 4 milliseconds, using forward error correction over UDP.
The Mars 2020 rover uses FFmpeg to compress images. The team wrote a paper about it and wanted to use as much commercial off-the-shelf technology as possible. Kieran calls it a multi-planetary open source library.
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://lexfridman.com/sponsors/ep496-sc See below for timestamps, transcript, and to give feedback, submit questions, contact Lex, etc. Transcript: https://lexfridman.com/ffmpeg-transcript CONTACT LEX: Feedback – give feedback to Lex: https://lexfridman.com/survey AMA – submit questions, videos or call-in: https://lexfridman.com/ama Hiring – join our team: https://lexfridman.com/hiring Other – other ways to get in touch: https://lexfridman.com/contact EPISODE LINKS: FFmpeg on X: https://x.com/FFmpeg FFmpeg: https://ffmpeg.org/ VideoLAN (VLC): https://www.videolan.org/ VideoLAN on X: https://x.com/videolan Jean-Baptiste’s Website: https://jbkempf.com/ Jean-Baptiste’s LinkedIn: https://www.linkedin.com/in/jbkempf/ Jean-Baptiste’s GitHub: https://github.com/jbkempf Kieran’s X: https://x.com/kierank_ Kieran’s LinkedIn: https://bit.ly/3OORhmC Kieran’s GitHub: https://github.com/kierank SPONSORS: To support this podcast, check out our sponsors & get discounts: Larridin: Measure AI adoption in your business. Go to https://larridin.com https://lexfridman.com/s/larridin-ep496-sc Blitzy: AI agent for large enterprise codebases. Go to https://blitzy.com/lex https://lexfridman.com/s/blitzy-ep496-sc BetterHelp: Online therapy and counseling. Go to https://betterhelp.com/lex https://lexfridman.com/s/betterhelp-ep496-sc Fin: AI agent for customer service. Go to https://fin.ai/lex https://lexfridman.com/s/fin-ep496-sc LMNT: Zero-sugar electrolyte drink mix. Go to https://drinkLMNT.com/lex https://lexfridman.com/s/lmnt-ep496-sc Perplexity: AI-powered answer engine. Go to https://perplexity.ai/ https://lexfridman.com/s/perplexity-ep496-sc OUTLINE: (00:00) – Introduction (03:00) – Sponsors, Comments, and Reflections (10:48) – Weirdest things VLC opens (15:12) – How video playback works (24:33) – Video codecs and containers (35:20) – FFmpeg explained (56:20) – Linus Torvalds (1:00:59) – Turning down millions to keep VLC ad-free (1:15:17) – FFmpeg & Google drama (1:34:31) – FFmpeg developers (1:41:08) – VLC and FFmpeg (1:45:42) – History of FFmpeg (1:48:59) – Reverse engineering codecs (2:02:14) – FFmpeg testing (2:06:21) – Assembly code (handwritten) (2:30:39) – Rust programming language (2:39:55) – FFmpeg and Libav fork (2:48:17) – Open source burnout (2:56:04) – x264 and internet video (3:09:20) – Video compression basics (3:16:17) – CIA and fake VLC (3:26:52) – Ultra low latency streaming (3:44:20) – AV2 codec and video patents (3:54:12) – VLC backdoors (4:04:27) – Video archiving (4:11:04) – Future of FFmpeg and VLC
45,657 words · 4 speakers
Speaker names marked are inferred from speaking time and the show’s known hosts — they are not voice-verified.
Page updated · transcript and summary are machine-generated