An AI video pipeline: drop in raw footage, get back a finished video and shorts
A YouTube channel needed polished videos without an editor on payroll. I built a pipeline that watches the raw footage, plans the story, cuts, mixes, adds brand graphics and captions, checks itself, and hands back a finished video plus vertical shorts. Its first full run turned a 17:34 take into a 7:01 edit and three shorts.
Claude
Python
FFmpeg
- GSAP
9 pipeline stages3 automated QA gates10 brand motion-graphic templates6 deliverables from one file
From one raw file to an upload-ready video and shorts
- Raw camera file
- External mic recording
- Brand templates
- 1Watchedtranscribed word by word, audited
- 2Story sethook, promise, proof, payoff
- 3Cut & mixedword-boundary cuts, −14 LUFS audio
- 4Dressedgraphics, B-roll, burned-in captionsFails a QA gateStatic holds, empty cards, or ghosting get fixed before export
- 5Shippedmaster, captions, shorts, reportWeak shortScores under 16/20 are not shipped
ReportEvery export comes with a report of what was cut, why, and what shipped, and the original file is verified untouched.
What runs without anyone touching it
From the live system
Great footage, no time to edit it
The problem
The channel recorded long, unscripted takes. Editing each one by hand took days: finding the story, cutting dead air, syncing the good mic, adding graphics, captioning, and cutting shorts. In the first take analyzed, 37% of the runtime was dead air.
A content channel grows on consistency. If every video waits on a slow edit, publishing slips and the shorts never get made.
What I built · An editor’s judgment, written down and checked by machines
Claude runs the pipeline like a senior editor, following a written workflow and asking only when a decision changes the video. Python tools do the heavy lifting, and calibrated QA gates catch what used to be judged by eye.
- The original file is hashed and verified untouched before and after
- Word-level transcription, an audit of hooks, stumbles, and retakes, then a story skeleton before any cut
- External-mic audio cross-correlated and synced to the frame grid; two-pass loudness to −14 LUFS
- Brand motion-graphic cards for stats, steps, and charts; generated B-roll only for physical moments
- Captions re-transcribed from the edited master and rendered as brand images
- Retention, empty-card, and B-roll ghosting gates calibrated on real footage
How it was built
- Aug 11: caption engine, retention gate, render gates, vertical crop tool, and the audio-sync builder, with tests
- Aug 11: the first full run, then a pacing pass and the first shorts batch
- Aug 13: a plain-English process guide and a handoff guide to rebuild the pipeline on another machine
What happened next
The channel now drops in a file and gets back an upload-ready video, captions, shorts, thumbnails, and a report of every edit decision. The rules live in plain documents, so the style can change without rewriting code.
This project is an example of AI Agents & Internal Assistants work.
Want a system like this?
Tell me what's manual today. I'll show you what a comparable build would look like, with your tools and your numbers.
30 minutes · no pitch deck · reply within 24h if you write instead