LOCAL AI · 2026.07 · 6 min
How to Understand Any Video Without the Cloud
A practical recipe for a 100% local video-analysis pipeline — and the one prompt bug that quietly breaks it.
#ffmpeg#Whisper#vision#Ollama
The recipe
Fetch with yt-dlp, extract keyframes and 16kHz mono audio with ffmpeg, transcribe with local Whisper, caption frames with a small local vision model, then merge everything on a shared timeline.
ffmpeg -i in.mp4 -vf "fps=1/8,scale=480:270" frame_%05d.jpg
ffmpeg -i in.mp4 -vn -ar 16000 -ac 1 audio.wav