caption-generator
Media root moved (13 Aug 2026). Working media lives in
<video library>, not invideo-studio. Paths below that readpublic/…orinput/…now mean<video library>for project work, or<video library>for reusable assets.video-studio/public/is a render staging area only —video-rendercopies what a render needs intopublic/__stage/<run-id>/and clears that run folder afterwards. Project work goes throughvideo-production.
$PROJ = <video library>, scaffolded by video-production new.
public/fonts and public/broll stay in video-studio: render dependencies, not media.
Resolve phases from the owning manifest before using the paths below. For a
source-owned caption render, PROJECT is the source project; for the
captioned-master derivative, it is the derivative project.
TRANSCRIPT="$(video-production phase "$PROJECT" transcript captions)"
EDIT="$(video-production phase "$PROJECT" edit captions)"
EXPORTS="$(video-production phase "$PROJECT" exports)"