Author open-sources scripts to fix continuity in a 59-shot AI music video
Understand this story
Developer afallan has open-sourced three Python scripts to solve face drift, iris discoloration, and lip-freeze issues across shots in a 59-shot AI music video. The scripts are built on OpenCV, InsightFace, SciPy, and FFmpeg. afallan says the process consumed no additional video generation credits. Face locking runs inswapper_128.onnx on CPU worker processes via ProcessPoolExecutor, combined with a blended "golden identity" and a 106-point landmark mask, covering all 30-plus character shots.
AI overview based on source reports · Updated 2 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIPython scripts for 59-shot AI video face-lock, iris-lock, and lip-sync
A making-of post describes Python scripts (OpenCV, InsightFace, SciPy, FFmpeg) used to fix identity drift, iris drift/blowout, and frozen lip-sync tails across a 59-shot, 5:53 AI music video without extra video-generation credits. It details a multi-frame blended ArcFace face-lock, per-shot tint/tame iris modes with temporal smoothing, and word-level lip-sync retiming to exact frame windows, plus lessons on keeping text out of prompts and using full-bleed 9:16.
Activity for this story
Not enough continuous observations to show a trend yet.