SAM DUMONT

Freelance Cloud & AI Platform Engineer | ex-AWS
Data platforms · Garmin apps · Sensor firmware · Remote-first

Laeken, Belgium

// BLOG

// TAG: OPENCV

Streaming a 4K film through Python because one FFmpeg command ate my disk

One FFmpeg filter graph over twelve 4K clips filled my RAM, then my swap, then my disk. Rewriting assembly as a Python frame loop with constant memory, the HDR and green-frame bugs that came with raw pipes, and a crossfade that went from 37.45 ms to 3.52 ms.

Read more →
ffmpeg python numpy opencv video performance claude-code
← All posts