Resolving VideoToolbox kVTInvalidSessionErr (-12903) and encoder deadlocks during iOS background transitions. Covers hardware reclamation, IDR keyframe recovery, PTS deduplication, and flush timing pitfalls.
Exploring AI workflows,
building small tools that ship.
Notes on the things I build, the odd details inside AI agents, and whatever else is worth writing down. Slow output, all first-hand.
Now
JulRunning my writing and publishing through an agent workflow
JunPolishing a small macOS utility before release
AlwaysReading, running, finishing ideas instead of hoarding them
MediaSlim
On-device image compression and conversion for macOS →
Engineering
All →A comprehensive engineering journey optimizing a mobile video export pipeline from 60s+ down to under 2 seconds with zero-copy encoding. Deep dives into x264 tuning, GPU shader color space conversion, mobile PBO pitfalls, CoreVideo shared memory mapping, and VideoToolbox hardware acceleration.
Thoughts
All →Reflecting on ten years in engineering, from Apple Notes to Obsidian. In an AI-saturated world, why I still want to share the craft of 3D rendering, media encoding, and thoughts on life.