Director
Five-stage script-to-video pipeline orchestrating storyboards, animatics, Wan shots, FFmpeg assembly, and Resolve export.
Turns a declarative JSON script (cast, beats, dialogue, audio) into a complete video across five resumable stages: storyboard, animatic, shots, assemble, and check—producing both an FFmpeg preview and an editable DaVinci Resolve project.
git clone https://github.com/BestRoiMedia/bestroi-game-tools.gitWhy we built it
Generating video clips without timing checks wastes GPU time and breaks character continuity. Director validates pacing with a free speech-synthesized animatic first, enforces character look sheets per shot, and verifies cuts, flashes, and captions automatically.
Architecture & how it works
Reads script.json, renders a contact-sheet storyboard, builds a timed animatic using system TTS, generates shots via multiplane camera moves or wan.py, mixes voices/music/SFX/captions with FFmpeg (plus optional DaVinci Resolve .drp assembly), and runs motioneyes/ears/PySceneDetect checks.
Key capabilities
- Resumable 5-step pipeline (storyboard, animatic, shots, assemble, check) with per-shot --only/--redo
- Zero-cost animatic pass for pacing and timing before running GPU video generation
- Voice plan export for paid ElevenLabs recording (voiceplan) plus real SRT/caption track embedding
- Automated DaVinci Resolve timeline generation (.drp) alongside FFmpeg MP4 preview
- Frame-by-frame QA gating character shots until human review is recorded (director.py review)
Usage example
python3 director/director.py storyboard ./script.json
python3 director/director.py animatic ./script.json
python3 director/director.py shots ./script.json
python3 director/director.py assemble ./script.json --no-resolve
python3 director/director.py check ./script.json