The invisible backbone of video on the internet
Jean-Baptiste Kempf (VLC) and Kieran Kunhya (FFmpeg) take Lex through the invisible plumbing of internet video — what happens between "press play" and "see pixels," why every video…
The VLC traffic-cone icon is one of the most recognized logos in software — and JB describes the strange leverage it gives a tiny project.
"I go to middle of nowhere in India or in China, people know the cone."
"25% of the website traffic that comes to our main website is cone player."
People literally Google "cone player" instead of "VLC".
An absurd mascot beats a tasteful one. A play button on a TV is unoriginal. A construction cone is weird, bright, and unforgettable.
When the team once joked about replacing it on April 1st, they got ~10,000 emails begging them not to.
What actually happens when you double-click a file:
"Every sentence is someone's lifetime's work. There are books about every sentence."
— Lex on the pipeline
A wrapper holding multiple tracks of compressed data.
The math that compresses/decompresses one track.
JB on the confusion: "It's completely the fault of the industry to make things difficult to understand." H.264 is MPEG-4 Part 10 is AVC — three names, one codec.
VLC inherits a paranoid streak from its 1990s ancestor: a UDP multicast streaming client that had to play broken inputs from a noisy network.
So today VLC and FFmpeg ignore what the filename claims.
"Everything in VLC is prepared to work with broken files. And it's a philosophical idea from the beginning."
"You don't trust your inputs, and this is very important into the security."
AVI files distributed online were often downloaded incomplete — the metadata sat at the end of the file.
Every other player refused to play them. VLC said: "this is broken, but I'm still going to try."
The .mp4 extension is just a hint that bumps a module's priority. Real probing happens by looking inside.
JB's framing: "Compression is not like a ZIP. A ZIP, you have data in, you get data out. Here we are degrading the signal."
All of it is built around one constraint: the output is for human eyes and ears.
Every video codec works in the YUV color space: one luminance channel plus two chroma channels. It's not how cameras capture or screens display.
It's the model that matches the human eye.
"Inside your eyes you have the cones and the rods… some look on brightness and more on the others on colors."
"We scale down the resolution of the color compared to the brightness. Most people don't see it, and it divides the size by two."
The eye has far fewer color receptors than brightness receptors.
So codecs throw away half the color resolution, and your brain doesn't notice. Free 2× compression before the math even starts.
DCT (cousin of Fourier), block partitioning, quantization, entropy coding — all stacked on top to drive 100–1000× ratios.
Each new codec generation gives roughly 30% less bitrate at the same visual quality.
Kieran's correction: "An order of magnitude, perhaps even two orders of magnitude more compression power."
AV1, AV2, VVC are collections of tools. A Zoom call sharing a slide deck and then a video clip needs different coding strategies. The codec switches its toolset to match the content.
The command-line tool isn't a wrapper — it's a small DSL for multimedia processing.
"It's a language. It's an actual language." — JB
People build pipelines with thousands of characters on a single line. There's now a cottage industry of LLMs that generate FFmpeg commands.
JB: "There is a ton of people who are using AI to generate command lines for FFmpeg because you have no idea what it is."
ffmpeg · the command-line transcoderffprobe · inspect any filelibavcodec · the codec librarylibavformat · containers, muxers, demuxerslibavfilter · the filter graphlibswscale · scaling and color conversionThe same library underneath Chrome, OBS, smart TVs, professional broadcast boxes, the Mars 2020 rover, and ffmpeg -i input.mp4 on your laptop.
"It's incredible that your home videos, your, your grandmother's home videos and trillion-dollar corporations effectively are on a level playing field using the same technology stack."
Some use the C API. Others maintain three-thousand-line FFmpeg command lines in production.
In the 1990s, professional video compression required "equipment that cost hundreds of thousands of dollars… it was the size of a car."
Now anyone with a laptop has the same toolkit.
JB's analogy: a closed-source product is a finished chocolate cake.
Open source is the cake plus the recipe plus instructions for building the oven plus permission to modify it and sell it on.
"Software is just a very long recipe of small instructions. Computers are not very clever. They go very, very fast."
"We work for the greater good. We work for everyone, and that is what open source is."
VLC core and FFmpeg are LGPL. You can ship them inside a closed app — but any changes to the library itself must be published.
To move VLC's core from GPL to LGPL, JB had to contact more than 350 contributors, going back over a decade.
"Most of the times they don't even care. They wanted to help VLC."
But sometimes contact info was a dead email. JB traveled in person to track people down.
One contributor had died. JB went to the man's father — a factory worker — to explain why he needed a signature on his son's code.
"I had to explain all those types of open source meanings, and no, I was not a company trying to rip out the two lines or five lines that that guy did."
"I was almost in tears, right? It's very difficult, right? We are talking about lives of people."
JB defends the legendarily harsh tone of kernel-style code review — and connects it directly to the maintenance load.
"The core community of VLC is five people. The core community of FFmpeg is ten to fifteen."
"We are the ones who are going to maintain your code. It needs to be maintainable. It needs to be excellent."
Roughly 1,000 contributors over a project's life, but only ~10 stay.
"You will have change of job, change of wives, you have children, you have accidents in life. You're not going to come back. It's most likely."
So the bar can't bend — the survivors will inherit your code.
Kieran: in real life, the community is generous. Online, the curt tone is a tired engineer after a day job, often a non-native English speaker. "Not something to take personally."
"The important thing is, is your code good? We care about excellent code. We don't care who you are. Like maybe you're a dog. I don't care, right? I don't care where you come from. I need to look at your code."
"Oh, yeah, but I'm an engineer at this very large company in Italy, in Germany, in the US." "We don't care."
A title doesn't waive the bar.
This is the social contract that makes a Syrian war zone contributor and a Stanford PhD equivalent on patch day.
The Reddit meme is real — JB has repeatedly turned down "dozens of millions of dollars" to put ads, toolbars, or spyware into VLC.
"The last offer I had was obscene."
"If we had to compromise our software, we would shut it down. This is clear."
"I'm not against money, right? I created several startups."
The deal-breaker was the shadiness — bundling spyware, hijacking search engines, replacing ads.
"If Netflix arrived at some point and said, 'Well, we want to put Netflix inside VLC,' probably the story would have been different."
But it was always "shady ads companies" who showed up.
A 1990s LAN built for Doom became the player on six billion devices.
Google began running AI-generated security scans against FFmpeg. The reports came with a 90-day industry deadline and were announced to the press before fixes could land.
"It's announcing how good their AI is… without really understanding the nature of volunteer-driven development."
The "critical vulnerability"? A bug in "an obscure 1990s game codec".
"The padlock on your home is there to protect against the capabilities of what it's there to protect. It's not there to protect nuclear secrets. It's not there to protect Fort Knox."
"At some point, the security industry needs to realize you can't keep crying wolf like this."
Everything is marked high, high, high — until people start ignoring the alerts.
"The XZ fiasco has shown how a dependence on unpaid volunteers can cause major problems. Trillion-dollar corporations expect free and urgent support from volunteers. Microsoft Teams posted on a bug tracker full of volunteers that their issue is high priority. After politely requesting a support contract from Microsoft for long-term maintenance, they offered a one-time payment of a few thousand dollars instead."
Kieran: "They think an open source project is a traditional vendor that they have an SLA. They think a public bug tracker is actually… a third-party vendor's Jira."
JB: VLC isn't even in Microsoft's ISV program. "I am not part of Microsoft ISV programs. I don't have a point of contact at Microsoft."
The FFmpeg account on X has become a public-pressure tool. Kieran calls it what it is.
"It's a rap battle at the end of the day."
"You say stuff. I say stuff about your mama, but it doesn't mean… I have an actual personal issue with her."
The shitposting worked. Google now sends patches. They built reward tools for fixing issues.
For over a year, a Play Store bug blocked VLC updates for 100M Android users.
JB tweeted that VideoLAN would stop distributing on Android. Within days, someone from Google reached out.
"The only very strong power we have to solve those issues is blaming on social networks because it snowballs."
JB: "Work on something you love."
Many contributors arrive through anime fansubbing — a culture that needed tools the commercial world wouldn't build.
"If you're good in C, in FFmpeg, if you know how to write assembly, I assure you you're going to be one of the best programmers ever, even if you're working on writing TypeScript."
"If you go to see your grandma and say, 'I do this so that you can play video on your laptop,' they understand."
Kieran's favorite line, attributed to John Collison.
Open source amplifies the network effect — passion plus reach.
What makes multimedia engineering different from most software:
"You have 16 milliseconds to display a frame. It's not like a game engine where you can basically slow down and wait a frame."
Miss a frame and the codec's dependency chain destroys downstream frames too.
You can't just write functionally correct code. You have to understand:
JB: "This is what I think that is missing to a lot of engineers and software engineers today, is understanding what we call computer architecture."
VLC and FFmpeg are not competitors. They are not parent and child. They orbit each other.
FFmpeg gives VLC the codec engine: hundreds of formats, decades of edge cases.
VLC gives FFmpeg reach: billions of users surface weird files that no test suite would ever generate.
VideoLAN ships x264, dav1d, checkasm, libdvdcss, libbluray, libspatialaudio — many feed back into the FFmpeg pipeline.
"VLC is to FFmpeg as Android is to Linux." — Kieran
Creates the concept. The seed.
Native decoders for every weird MPEG-4 Part 2 variant. Kills the codec-pack era of "DLL from this place, DLL from that place."
Benjamin Larsson, Kostya Shishkov, Paul Mahol on Windows Media, RealMedia, GoToMeeting.
The assembly culture that later powers dav1d.
Kieran on Michael's work: "This task in the 2000s that Michael did was Sisyphean." A Chinese CCTV system using one weird MPEG-4 ASP variant — fix it without breaking anyone else — times a million.
How do you decode a closed-source codec in 2010 so a kid on Android in 2030 can still play the file?
You open the binary in a disassembler, find the decoding loop, dump raw YUV from the original player, and step instruction by instruction — for tens of megabytes of code.
Lex's metaphor: "You're like archaeologists with a little brush trying to reconstruct the entire human civilization."
For a long stretch, nothing visible appears. Entropy decoding, intra prediction, motion prediction, IDCT, deblocking — all happen before a single pixel is correct.
Kieran: "You may have the buffer that the coefficients are stored in completely wrong, and so you may be going down a complete rabbit hole."
Reference: a 1 MB binary blob ≈ a month of full-time reverse engineering.
Kostya Shishkov — Ukrainian, lives in Germany, in love with Sweden. Reverse-engineered binary blobs 20–30 MB in size.
JB: "He was able to reverse engineer extremely complex codecs… we do a bit of engineering with Kieran, but clearly not at this level."
Kieran: "He looked at the world as a binary specification. He didn't need documentation or anything. 'I have a binary and I can figure all of this out.'"
For years, the #1 feature request in VLC was playing GoToMeeting recordings — an obscure proprietary screen codec.
JB put up a bounty. Kostya said "okay" and shipped it in two months.
The code is filled with jokes referencing JB and Kostya. Reverse engineering as performance art.
The FFmpeg Automated Testing Environment runs every commit across an absurd matrix:
Kieran: "It's not just a matrix at this point. It's like a pivot table of different combinations."
C compilers miscompile. A bug in GCC 11 on Mac can silently produce wrong output, and small bit-errors cascade across the GOP into visible glitches.
The Macs at the top of the dashboard live in Kieran's office. Other machines live in other people's homes.
VLC's last release still runs on Windows XP, macOS 10.7, iOS 9, and OS/2 — supporting "more OSs than Microsoft or Google or Apple."
The AV1 software decoder the VideoLAN team built when everyone said AV1 was "too complex for software."
Result: a phone with one or two cores can decode 720p AV1 in real time.
The recurring online argument from the C++ crowd: "No, intrinsics is fine. The compiler can do this. Auto-vectorization, it's your fault."
The recurring FFmpeg reply: hundreds of examples of handwritten assembly beating the compiler by orders of magnitude.
dav1d isn't just "well-tuned assembly." It does things the CPU designers never intended.
"We abuse the machine. We go and use the machine in ways that the creator didn't expect."
"Sometimes we use an instruction that's completely unrelated to what we do. We use a cryptography instruction in video processing to do nothing related."
dav1d ignores the OS calling convention inside its own library — saves registers it shouldn't have to, skips the L1/L2 round-trip the ABI requires.
x86, ARM, RISC-V, AArch64, SVE, SME, AVX-512 — each gets its own handwritten assembly, with runtime CPU detection to pick the right one.
The cultural pushback: "Why hand-write assembly when we have vibe coding?"
JB's answer is structural, not nostalgic.
"We passed the time where hardware was going so much faster. We are at the end of Moore's law."
"Our request for power, CPU power, GPU power are exploding while the hardware is not exploding in speed."
It runs billions of hours per day. A 10× win at this scale pays for itself in electricity alone.
"The core thing that you will not be able to vibe code are optimization for the hardware to be as fast as is possible."
LLMs barely know what bit-exact means in assembly — yet.
Sweden. The x86 wizard.
JB: "When we ask questions at Intel about things, they tell, 'Why are you asking us, Intel? You have Henrik. Henrik knows better.'"
He knows the cycle counts of every SIMD instruction across every Intel generation — P4, Nehalem, Core 2, modern.
Finland. The ARM/Neon wizard.
JB on Martin: "He codes in assembly on his phone, editing it with the crappy keyboard, like virtual keyboard you have while watching his kids play in the playground."
Wizard-level on iOS and Android decode paths.
A Google employee on X commented "as a teenager running this account" — referring to the FFmpeg account.
Kieran's reply, quoted on the podcast:
"Teenagers have written more assembly in FFmpeg than Google engineers."
The 16-year-old "didn't play the alarmist CVE heist." Just fixed it in Git after three days. Kieran: "the kids are all right."
JB has shipped Rust modules in VLC and built his new startup Kyber largely in Rust. He's not anti-Rust.
He's anti-rewrite.
"Rust is extremely good… a better C++ that cares about memory and allows you to do things about memory ownership that no one else can do so far."
"It's great when you start a new project from scratch. But it's very not good when you interop with existing parts."
"You arrive very quickly at eighty percent, then ninety percent takes a bit more time, and then you got the last ones." Like the Rust coreutils rewrite that's missing the last 1% that's 99% of the work.
"Even if I rewrite the C part in Rust, for security reason, you break all the security when you write handwritten assembly because we can jump anywhere."
Memory safety stops where the hand-written assembly starts.
"It is an order of magnitude easier to write code than read code. And you see that also with LLM. They can write code, but analyzing is a lot more difficult."
"Imagine I am at my maximum intellectual efficiency in programming, and I write the best code ever. I will not be able to understand it myself six months later."
"You arrive, you don't understand all the wisdom, all the business logic, the reasons that were done that is maybe not documented."
The implication for the LLM era: code generation is the easy part; understanding existing systems well enough to evolve them safely is the hard part.
JB now maintains a "ton of multimedia and non-multimedia libraries" — not by choice. Original maintainers got fed up and walked.
The XZ fiasco: "There was one guy maintaining it, and he got basically hammered by two attackers who were asking him questions nonstop at weird times at night to block him."
He cracked, handed over commit access, and the attackers got their backdoor.
Lex's xkcd reference: "All modern digital multimedia infrastructure, and then that thing at the very bottom that everything relies on is FFmpeg."
One maintainer for LibXML (now none).
One person for the world's time zone database.
Five for VLC. Ten for FFmpeg.
Daniel Stenberg of curl coined "AI slop" for fake bug reports. The new burnout vector isn't trolls — it's automation.
Around 2009–2010, VLC was nearing its 1.0 release. The team was four people. Apple had long since moved away from PowerPC. JB decided VLC would drop the port.
A letter arrived with powder inside it — anthrax-style.
"You, you piece of shit, you should die, PowerPC forever."
The powder turned out to be flour. JB's mother freaked out; they went to the police.
"I'm quite happy that this happened at that time. It forged me a lot. I can take a lot of hate on me. I'm okay with it."
"I legitimately hundreds, probably thousands of times in my life had a smile on my face because FFmpeg made me happy, period. And how many times did I get a chance to say that? Zero." — Lex
This is partly why the FFmpeg account exists.
In the 2017 WikiLeaks Vault 7 leak, VideoLAN learned that the CIA had been shipping a slightly-modified copy of VLC.
The normal VLC binaries, with one extra DLL: psapi.dll.
The DLL silently read your Documents folder, encrypted the contents, and exfiltrated them — while you watched a movie for 2 hours.
People expect VLC to spin up fans and use CPU. The malware hid in plain sight under "playing HD video is hot."
Chinese hackers ran the same trick against Indian users. VLC got banned in India. JB had to fight in Indian courts to get it unbanned.
The hackers signed the legitimate DLL but called it from a fake vlc.exe.
Lex: "The intelligence agencies tried to, like, say, 'Can you put a backdoor in VLC?'"
JB: "Yes. Two of them."
Lex: "What did you say?"
JB: "No. Well, I was a lot less polite."
"There is no code that gets into VLC that we don't control. We compile on boxes that are offline, where we start by compiling the compiler. We do everything offline on places that have never been connected to the internet."
"If we had to compromise our software, we would shut it down. This is clear."
The state has no leverage over VideoLAN the way it had leverage over Pavel Durov and Telegram, because VLC is not a platform.
"VLC is completely offline. It doesn't talk to any server, so we don't know anything that you're using the software for."
"There is no telemetry in VLC."
The only network endpoint VideoLAN runs is the download server.
In the middle of the Afghan war, JB got a request: a VLC update had broken RTSP, and troops on the ground used VLC to watch movies from a central server at night.
He shipped them a custom build. "VLC is very important for the morale on the troop on the ground."
The only way VLC works with authorities: helping them play a file they already have. Never seeing the content.
Two parallel lineages, each ~30% better than the last, fighting different wars.
MPEG / ITU — H.264 → HEVC → VVC. Highest visual quality. Patent minefield: H.264 was sane; HEVC went out of hand with multiple patent pools.
Alliance for Open Media — AV1 → AV2. Royalty-free. Built by Google, Netflix, Amazon, Apple, VideoLAN, Mozilla after H.265 licensing reached hundreds of millions per year.
The encoders/decoders: x264, x265, dav1d, dav2d, AVM, SVT-AV2 — implementations of those specs.
H.264 is also MPEG-4 Part 10 is also AVC. Three names. One codec.
JB: "In multimedia there is a ton of patents and the licensing after H.264 became out of hand."
For HEVC, the licensing situation collapsed:
In France, most of those patents are invalid: France rejects software patents and the EU treats them as "mathematical patents."
For YouTube or Netflix, HEVC licensing could mean "hundreds of millions of dollars of licensing for patents per year."
"At hundred million per year, you know, I could create my own codec. And this is what they did."
That's the entire reason the Alliance for Open Media exists.
Three frame types, doing different jobs in the compression tradeoff.
I-frame — a complete image, like a JPEG. The anchor.
P-frame — predicted from past frames. "I need block 5, 7, and 42 from before, plus this delta."
B-frame — bi-predicted, depends on past and future frames. Smallest payload.
JB on B-frames: "The biggest mind-blown when I started was the B-frames. The decoding order is not the same as the display order."
Standard streaming hits you with a giant I-frame every few seconds. Great for seeking, bad for low latency — those I-frames are huge.
Kyber and modern low-latency stacks use a different trick.
"You never have an I-frame. This is intra-refresh that we use."
Refresh a vertical slice of the image each frame. After N frames, every region has been refreshed — you've effectively reconstructed a full I-frame, but spread across time.
Constant bitrate. No latency spike on keyframes. The whole stream looks smooth even when packets drop.
Lex: "That's even smarter."
For 20 years, codec research worshipped peak signal-to-noise ratio (PSNR) — a mathematical metric that rewards blurring.
The x264 hobbyists rejected it.
Two innovations: psychovisual rate distortion and adaptive quantization. Bias bits toward what the eye notices.
The validation set was a Swedish HD test clip called ParkJoy — kids running through a park with foliage, water, motion. PSNR-optimized encoders blurred it; psychovisual encoders kept the texture.
Loren Merritt's design goal: "I don't wanna test this on a thirty thousand dollar screen. I want this to look good on someone's laptop at home."
A Warner Bros engineer used x264 for the Fringe Blu-ray box set. Movies like Cinema Paradiso were re-encoded with x264. Two decades later, every new codec still benchmarks against it.
Before Crunchyroll, anime fans imported Japanese DVDs and ripped them. There was no commercial path.
This community needed: a clean encoder, a great player, and a way to render Japanese subtitles with diacritics.
That's how x264, VLC, and the Aegisub subtitle editor became deeply linked.
Anime contains gradients on flat backgrounds that produce visible banding in normal compression. Optimizations for that case ended up improving codecs for everyone.
JB on subtitles: you need official Japanese, ruby annotations (hiragana for the kanji), and an English or French translation overlaid simultaneously. The subtitle stack had to be insanely flexible.
The dramatic stuff in video is encoding, not streaming. JB: "It is less complex than it seems compared to everything that we've talked about."
You pre-encode 7 resolutions. The player downloads small segments. If a segment takes >50% of its duration to arrive, drop a tier.
Live events through satellite into a central encoder, real-time at 7 resolutions, push to CDN, layer in DRM, and serve to a thousand different devices — all without QA time.
Kieran: "You can kind of notice when they move from full fat AAC to the compressed versions of AAC that use spectral band replication. You can kind of see it goes a bit tinny."
Eyes tolerate 30fps; ears don't tolerate format switches.
JB's new startup — the lowest-latency video link he can engineer, for remote-controlled machines.
"The goal of Kyber is to make distance disappear."
The breakdown of 4 ms: today's NVIDIA hardware encoder eats 3.5 ms, the Intel decoder eats 2 ms. Encoder + decoder alone already exceeds the target. New encoders are required.
A small, underfunded group of people quietly using FFmpeg to preserve human visual history — led by Dave Rice at City University of New York.
They funded a custom codec: FFV1. Lossless, fast software encoding, error-resilient — if a tape loses a bit, you only lose part of a frame.
They funded GPU encoding for FFV1 so museums can keep up.
The "New Domesday Book" archived UK life onto BBC Micro discs. Within 10–15 years, no one had the software to play it. Reverse engineering had to come along, years later.
Tape from the 1970s and 1980s degrades. There aren't enough working tape heads in the world to read everything. Archivists have to choose what dies.
Kieran on why FFmpeg can plausibly play these archives in 1000 years:
"FFmpeg is written in C. C is the closest to mathematics you're probably gonna get. The closest to logic is — it will be like Latin. C will be like Latin."
A dead language, still readable, still teachable, still compilable.
"FFmpeg runs on Mars, so we are, we are a multi-planetary open source library."
CERN's LHC. Formula 1 paddocks. SpaceX launch monitoring. The European Space Agency. The US military.
JB's definition of multimedia: any digital stream feeding any human sense.
VLC already has a haptic plugin for 4D-cinema hydraulic seats. It already ships VR and XR builds.
There are codecs for point clouds, volumetric video, RGB-D for robotics. Spatial audio just got merged.
"You will have VLC for Neuralink."
"FFmpeg -i input format human brain."
Kieran: "It's like audio. You'll have a left and right nose track. You have a left and right audio pair. It's easy."
Stereo smell, on the record.
Lex asks JB how he stays calm through court orders, death threats, intelligence agencies, and trillion-dollar bureaucracies.
"I have a way of thinking about what is the worst case scenario, always. And the answer is, at the end, if I take like a chess player — am I dead? Yes or no?"
"My moral way is always like, am I dying in the end? Am I hurting someone? If the answer is no, then too bad. Oh, some lawyers are going to be unhappy. What are they going to do? Take all the money of VideoLAN? Wow. They're going to have 50 grand."
"The code — the source code is out there. It's not stoppable. Also because what we do is good and it's done for everyone."
"We don't care who you are. Like maybe you're a dog. I don't care. I need to look at your code."
"Every cycle matters. We are talking about probably three billion devices which are going to decode video nonstop."
"This is what peak video codec should look like. 79.9% assembly, 19.6% C, and 0.5% other."
"It is an order of magnitude easier to write code than read code. And you see that also with LLM."
"If we had to compromise our software, we would shut it down. This is clear."
"FFmpeg runs on Mars, so we are a multi-planetary open source library."