1. Home
  2. Lex Fridman Podcast

May 6

The volunteer code running YouTube, Netflix and Chrome

258 min → 2:01

Overview

Lex Fridman explores the open-source technologies like FFmpeg and VLC that power internet video, the engineering behind video compression and assembly code, and the human cost of maintaining critical infrastructure.

3 things to know

Lex Fridman Podcast: Volunteer FFmpeg code powers YouTube and Netflix

Lex Fridman Podcast notes that volunteer-driven projects like FFmpeg and VLC serve as the invisible backbone powering video decoding, encoding, and transcoding for YouTube, Netflix, Chrome, and smart TVs worldwide.

More

They power decoding, encoding, and transcoding worldwide.

▶ Watch at 2:26

Lex Fridman Podcast says handwritten assembly code speeds up decoding

Lex Fridman Podcast notes that multimedia developers bypass compilers to write handwritten assembly using Single Instruction, Multiple Data, mapping directly to processor architecture for massive software decoding speed improvements.

More

This directly maps to CPU architecture, yielding massive speed improvements critical for software decoding.

▶ Watch at 1:31:47

Maintainer Burnout and the "Bus Factor"

Their burnout poses severe security and stability risks to millions of dependent applications.

More

Global tech infrastructure relies on a dangerously small group of underpaid or unpaid maintainers.

▶ Watch at 2:38:20

Also in this episode

Mechanics of Video Compression

Raw video requires massive data.

More

Codecs achieve up to 1000x compression by aggressively removing temporal and spatial redundancy and relying on perceptual coding, discarding data the human eye cannot detect.

▶ Watch at 16:07

Evolution of Video Codecs

Modern codecs have shifted from optimizing mathematical metrics to focusing on psychovisual quality.

More

Formats like AV1 and VVC are toolboxes of specialized encoding tools that adapt to specific on-screen scenarios.

▶ Watch at 29:11

Lex Fridman Podcast says open-source licenses bind global coders together

Lex Fridman Podcast explains that open-source licenses like MIT and GPL act as a binding social agreement that allows decentralized global communities to freely share, modify, and integrate code into modern infrastructure.

More

They are the binding agreement that allows code to be freely shared, modified, and integrated into modern infrastructure.

▶ Watch at 4:42

Lex Fridman Podcast says MP4 files only wrap video tracks

Lex Fridman Podcast explains that a container like MP4 or MKV is simply a file format wrapper holding multiple tracks, while a codec like H.264 or AV1 is the algorithm compressing and decompressing the media data.

▶ Watch at 19:41

Expanding Definition of Multimedia

Multimedia is evolving beyond audio and video to encompass any digital representation of streams interfacing with human senses, including haptics, spatial audio, and volumetric point clouds.

Quotes

“The mental health of the open source maintainers is something that large corporations don't care or don't see... it's just like, 'Oh yeah, I'm just doing an open source report.'”

▶ Watch at 2:38:20

“Compression is not like a zip. Right? A zip, you have data in, you get data out... Here, we are degrading the signal. And so we need to degrade both the audio and the video signal in the best way possible.”

▶ Watch at 16:07

“The license is the social contract... of the community. The community does not agree on much besides the license.”

▶ Watch at 39:49

17 more quotes

“FFmpeg is an open-source software system that is the invisible backbone behind YouTube, Netflix, Chrome, VLC, Discord, and basically every platform that touches video or audio on the internet.”

▶ Watch at 2:26

“But that machinery matters. Open source infrastructure matters. It is one of the great examples of human beings quietly collaborating across borders to build something useful, durable, and elegant for the rest of us.”

▶ Watch at 4:42

“So the container is what we call also the muxer... and same, a codec is actually coder decoder... containers are this collection of multiple tracks. It's what normal people call the file format.”

▶ Watch at 19:41

“Video is a bunch of pixels off an RGB, you have three values, and you have a grid of pixels, and you have... 24, 30, or 60 frames a second... the technical question is: how can I compress all of that... at 1,000x?”

▶ Watch at 26:48

“Modern codecs like AV1, AV2, or VVC are actually not codecs. They are a collection of tools... multiple tools, multiple codecs in the same codec to, depending on the image, get the more compression.”

▶ Watch at 29:11

“When we do open source, we give you the chocolate cake and we give you the recipe to actually remake the same cake, but at the same time, tell you how to build the oven and also how you're allowed to modify the recipe and resell it to someone else.”

▶ Watch at 37:20

“Everything on the campus was managed by students. The university did nothing... radio, TV, supermarket, library... defining who was going into which rooms... everything was managed by the students.”

▶ Watch at 58:32

“The VideoLAN Client part is what became VLC... actually they basically strong-armed the university to force it to open source, because the university did not understand that.”

▶ Watch at 1:04:02

“The problem with security reports in general is security people are rampant self-promoters... nobody is going to do any of this for you when you fix it.”

▶ Watch at 1:09:55

“In order to program correctly on the open-source multimedia community, you need to understand how computers work. And when you write assembly, you need to understand about CPU pipelining... how SIMD works, how the ALU works.”

▶ Watch at 1:31:47

“That reverse engineering process is mind-blowing. It's crazy. It's like... archaeologists. You just have so little signal... you're like an archaeologist with a little brush trying to reconstruct the entire human civilization.”

▶ Watch at 1:45:56

“the key thing to understand is when we write SIMD is we have a 10x and not percentage 10x to 50x speed improvement that that function is 62x”

▶ Watch at 2:04:12

“The psycho-visual distortion, that's the critical thing... That's the thing that we can rethink, don't make it like this kind of theoretic thing of compression, make it all about being pleasing visually to the eye.”

▶ Watch at 2:46:04

“The CIA had a custom version of VLC... they didn't use VLC, they took just one DLL because we signed the DLL correctly... and they used that DLL to do another program.”

▶ Watch at 2:56:17

“The goal of Kyber is to make real-time control of machines distance disappear.”

▶ Watch at 3:14:55

“Talk is cheap, send patches.”

▶ Watch at 3:39:55

“We are a multi-planetary open-source library.”

▶ Watch at 3:42:37

Full summary

Episode Overview

  • Explores the foundational, often invisible open-source technologies (like FFmpeg and VLC) that power global digital media consumption.
  • Details the immense engineering challenges of video compression, hardware optimization, and writing high-performance assembly code.
  • Examines the history, culture, and social contracts of open-source development, highlighting the tension between passionate volunteers and corporate reliance.
  • Discusses the human cost of maintaining critical infrastructure, the realities of security research, and the future of multimedia technology spanning to interplanetary systems.

Key Concepts

  • The Ubiquity of FFmpeg and VLC: These volunteer-driven projects serve as the invisible backbone for platforms like YouTube, Netflix, Chrome, and smart TVs. They power decoding, encoding, and transcoding worldwide.
  • Mechanics of Video Compression: Raw video requires massive data. Codecs achieve up to 1000x compression by aggressively removing temporal and spatial redundancy and relying on perceptual coding—discarding data the human eye cannot detect.
  • Containers vs. Codecs: A container (like .mp4 or .mkv) is simply a file format wrapper holding multiple tracks, while a codec (like H.264 or AV1) is the algorithm compressing and decompressing the actual media data.
  • The Power of Assembly and SIMD: For maximum multimedia performance, developers bypass compilers and write handwritten assembly using SIMD (Single Instruction, Multiple Data). This directly maps to CPU architecture, yielding massive speed improvements critical for software decoding.
  • Open Source Licensing as a Social Contract: Licenses (MIT, GPL, etc.) dictate how decentralized global communities collaborate. They are the binding agreement that allows code to be freely shared, modified, and integrated into modern infrastructure.
  • Maintainer Burnout and the "Bus Factor": Global tech infrastructure relies on a dangerously small group of underpaid or unpaid maintainers. Their burnout poses severe security and stability risks to millions of dependent applications.
  • Evolution of Video Codecs: Modern codecs have shifted from optimizing mathematical metrics to focusing on psychovisual quality. Formats like AV1 and VVC are toolboxes of specialized encoding tools that adapt to specific on-screen scenarios.
  • Expanding Definition of Multimedia: Multimedia is evolving beyond audio and video to encompass any digital representation of streams interfacing with human senses, including haptics, spatial audio, and volumetric point clouds.

Quotes

  • At 0:02:26 - "FFmpeg is an open-source software system that is the invisible backbone behind YouTube, Netflix, Chrome, VLC, Discord, and basically every platform that touches video or audio on the internet." - Highlights the massive, often unseen impact of this volunteer-driven project on global digital infrastructure.
  • At 0:04:42 - "But that machinery matters. Open source infrastructure matters. It is one of the great examples of human beings quietly collaborating across borders to build something useful, durable, and elegant for the rest of us." - Emphasizes the philosophical and practical value of open-source software in modern society.
  • At 0:16:07 - "Compression is not like a zip. Right? A zip, you have data in, you get data out... Here, we are degrading the signal. And so we need to degrade both the audio and the video signal in the best way possible." - Clarifies the difference between lossless data compression and lossy media compression.
  • At 0:19:41 - "So the container is what we call also the muxer... and same, a codec is actually coder decoder... containers are this collection of multiple tracks. It's what normal people call the file format." - Provides a clear distinction between the wrapper that holds media and the algorithm that compresses it.
  • At 0:26:48 - "Video is a bunch of pixels off an RGB, you have three values, and you have a grid of pixels, and you have... 24, 30, or 60 frames a second... the technical question is: how can I compress all of that... at 1,000x?" - Succinctly outlines the fundamental challenge and goal of video compression engineering.
  • At 0:29:11 - "Modern codecs like AV1, AV2, or VVC are actually not codecs. They are a collection of tools... multiple tools, multiple codecs in the same codec to, depending on the image, get the more compression." - Shifts the perspective from viewing codecs as single algorithms to seeing them as adaptive toolboxes.
  • At 0:37:20 - "When we do open source, we give you the chocolate cake and we give you the recipe to actually remake the same cake, but at the same time, tell you how to build the oven and also how you're allowed to modify the recipe and resell it to someone else." - Explains the layered freedoms granted by open-source software.
  • At 0:39:49 - "The license is the social contract... of the community. The community does not agree on much besides the license." - Reveals how legal frameworks function as the necessary glue holding decentralized developer communities together.
  • At 0:58:32 - "Everything on the campus was managed by students. The university did nothing... radio, TV, supermarket, library... defining who was going into which rooms... everything was managed by the students." - Illustrating the level of autonomy that cultivated the creation of VLC.
  • At 1:04:02 - "The VideoLAN Client part is what became VLC... actually they basically strong-armed the university to force it to open source, because the university did not understand that." - Detailing the crucial step of open-sourcing the project.
  • At 1:09:55 - "The problem with security reports in general is security people are rampant self-promoters... nobody is going to do any of this for you when you fix it." - Highlighting the disparity between rewards for finding bugs versus fixing them.
  • At 1:31:47 - "In order to program correctly on the open-source multimedia community, you need to understand how computers work. And when you write assembly, you need to understand about CPU pipelining... how SIMD works, how the ALU works." - Explains why multimedia development requires a deep understanding of computer architecture.
  • At 1:45:56 - "That reverse engineering process is mind-blowing. It's crazy. It's like... archaeologists. You just have so little signal... you're like an archaeologist with a little brush trying to reconstruct the entire human civilization." - Captures the painstaking nature of reverse engineering proprietary code.
  • At 2:04:12 - "the key thing to understand is when we write SIMD is we have a 10x and not percentage 10x to 50x speed improvement that that function is 62x" - Emphasizing the massive performance gains possible with SIMD optimization.
  • At 2:38:20 - "The mental health of the open source maintainers is something that large corporations don't care or don't see... it's just like, 'Oh yeah, I'm just doing an open source report.'" - Highlighting the unseen human cost of maintaining critical digital infrastructure.
  • At 2:46:04 - "The psycho-visual distortion, that's the critical thing... That's the thing that we can rethink, don't make it like this kind of theoretic thing of compression, make it all about being pleasing visually to the eye." - Summarizing the philosophical shift in video encoding for better perceived quality.
  • At 2:56:17 - "The CIA had a custom version of VLC... they didn't use VLC, they took just one DLL because we signed the DLL correctly... and they used that DLL to do another program." - Clarifying how attackers use legitimate software components to bypass security through DLL side-loading.
  • At 3:14:55 - "The goal of Kyber is to make real-time control of machines distance disappear." - Describing the objective of enabling seamless remote control with minimal latency.
  • At 3:39:55 - "Talk is cheap, send patches." - Captures the open-source ethos that action and code contributions are valued far more than mere criticism.
  • At 3:42:37 - "We are a multi-planetary open-source library." - Highlighting the extraordinary reach of FFmpeg, used by the Mars Perseverance rover.

Takeaways

  • Distinguish clearly between media containers (wrappers) and codecs (compression algorithms) when troubleshooting or processing video files.
  • Utilize hardware decoding whenever possible to reduce CPU load and power consumption during media playback.
  • Leverage SIMD and handwritten assembly only for specific bottlenecks where compilers fail to optimize heavily parallel math operations.
  • Approach open-source contributions by focusing on code excellence and practical patches rather than theoretical suggestions.
  • Ensure bit-exactness when developing decoders to guarantee identical output across varying hardware and operating systems.
  • Understand the underlying CPU architecture (pipelining, ALU) to write genuinely efficient high-performance software.
  • Treat open-source licenses as binding social contracts before utilizing or modifying external libraries.
  • Support open-source maintainers financially and communally to prevent burnout and protect critical digital infrastructure.
  • Adopt a psychovisual approach to media compression, prioritizing how the data appears or sounds to humans over abstract mathematical metrics.
  • Disclose security vulnerabilities constructively and collaboratively, avoiding unnecessary alarmism that burdens volunteer maintainers.
  • Protect software distribution pipelines against DLL side-loading to prevent malicious actors from exploiting trusted binary signatures.
  • Build flexible software architectures capable of adapting to emerging multimedia formats like spatial audio, haptics, and volumetric video.

Watch the full episode 4 hr 18 min

Read along with the audio summary

Every time you stream on Netflix, watch YouTube, or chat on Discord, you rely on invisible code written by a tiny group of unpaid or underpaid volunteers whose burnout threatens millions of dependent applications. This podcast episode, which came out on May 6, 2026, explores the open source multimedia technologies and developers that power global digital media consumption. By the end, you will understand how raw video shrinks a thousand times over, and how to write and protect the software behind it.

Discover the invisible engines powering your favorite video apps. YouTube, Netflix, Chrome, Discord, and smart TVs all share a hidden foundation. They run on FFmpeg and VLC, which are open source, meaning freely shared, volunteer driven software systems that handle decoding, encoding, and converting media worldwide.

How engineers shrink massive video files by a thousand times. Raw video is a huge grid of red, green, and blue pixel values flashing up to sixty times a second. Compression algorithms achieve up to a thousand times smaller files by stripping out repeated data across space and time, and throwing away details the human eye cannot detect.

Stop confusing your video file formats with the algorithms inside them. Think of a container like MP4 or MKV as a wrapper holding multiple tracks together, which is what normal people call the file format. Meanwhile, a codec like H.264 or AV1 is the actual algorithm compressing and decompressing the media data inside that wrapper.

Unlock fifty times faster speeds by speaking directly to the computer chip. For maximum performance, multimedia developers bypass standard compilers, the programs that translate human code for machines, and write handwritten assembly code using SIMD, which stands for Single Instruction, Multiple Data. Because this maps directly to the central processor architecture, it can yield a ten to fifty times speed improvement critical for software decoding.

Why a legal license is the only thing holding global coding communities together. Licenses like MIT or the General Public License act as a binding social contract for decentralized communities that do not agree on much else, allowing code to be freely shared, modified, and integrated into modern infrastructure. Treat open source licenses as binding social contracts before you utilize or modify external libraries.

The hidden human risk threatening millions of modern software applications. Global tech infrastructure depends on a dangerously small group of unpaid or underpaid maintainers, and large corporations rarely see or care about their mental health. When these volunteers burn out, it creates severe security and stability risks for the millions of applications relying on their work.

Why modern video tools optimize for human eyes instead of pure math. Newer formats like AV1 and VVC are no longer single algorithms, they are adaptive toolboxes holding multiple tools that adjust to specific on screen scenarios. They have shifted away from abstract mathematical metrics to focus on psychovisual quality, meaning how pleasing the image actually looks to the human eye.

Prepare for a future where media goes far beyond audio and video. Multimedia is evolving to encompass any digital stream interfacing with human senses. This includes touch feedback known as haptics, spatial audio, and three dimensional volumetric point clouds.

The digital media infrastructure we rely on every day is not magic, it is the result of deep hardware optimization, clever perceptual tricks, and tireless volunteer collaboration. It is one of the great examples of human beings quietly collaborating across borders to build something useful, durable, and elegant for the rest of us.

More from Lex Fridman Podcast

Related Episodes