factual

dav1d has 240,000 lines of handwritten assembly

dav1d, the VideoLAN software decoder for AV1, has about 30,000 lines of C but 240,000 lines of handwritten assembly (versus FFmpeg's roughly 100,000 lines for all codecs combined), because 'every cycle matters' when ~3 billion devices decode AV1 nonstop (30% of Netflix video, 50% of YouTube) often without hardware decoders.

factualpending

Speaker

Jean-Baptiste Kempf

Evidence Quote

“the motto when we're starting the project is every cycle matters”

Source

Lex Fridman Podcast #496 - FFmpeg— Lex Fridman Podcast
Created: 6/13/2026, 12:26:55 AM

Your notes

Loading notes...