Feeding short videos to a coding agent without blowing up the context window
I'm trying to automate rough cuts for 30–60 second product demo videos using a coding agent + ffmpeg.
Right now I'm stuck between two bad options:
- Sampling 2 frames per second and sending images to a vision model fills up the context window almost immediately and gets expensive fast.
- Running Whisper and giving the agent only the transcript fails whenever there's 4 seconds of silent UI clicking or a fast screen transition that needs trimming.
Has anyone found a clean way to pre-index a short video into a compact text/timestamp sheet so the agent actually knows where scenes change without staring at 90 PNGs?