factual

Reverse engineering codecs from binary blobs

Reverse engineering a proprietary codec involves finding the decompression module in a multi-megabyte binary, hooking it to dump raw YUV data as a bit-exact comparison reference, then stepping through a disassembler instruction by instruction (sometimes in a VM to handle DRM/encryption) using intuition about codec patterns (DCT, entropy coding) to reconstruct the algorithm; roughly one megabyte of blob equals a month of work.

factualpending

Speaker

Kieran Kunhya

Evidence Quote

“often it involves opening in a disassembler, trying to guess where the hooks are to incorporate that module and run that module natively to decode a sample file”

Source

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

Your notes

Loading notes...