SAM DUMONT

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

Laeken, Belgium

// BLOG

// TAG: VIDEO

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

Stitching Live Photos when the timestamps lie

In March I thought I'd merged iPhone Live Photos better than Apple. In September my own docs demo was replaying a cyclist. Measuring motion between overlapping clips, knowing when to refuse, and two cheap models that kept getting it almost right.

Read more →
python ffmpeg computer-vision live-photos video ai-agents

Keeping a 70-clip film in sync: six days in April, 800 samples in September

My film's audio drifted away from the picture. Six days of guessing in April, ended by counting frames by hand in VLC. A hang that wasn't what the first diagnosis said. And in September, the same drift back through a different fade length: 16.7 ms per crossfade, reproduced on a clapper test.

Read more →
ffmpeg python audio video debugging claude-code
← All posts