-
Notifications
You must be signed in to change notification settings - Fork 23
Script-to-Beats Compiler for continuous video episodes #6225
Copy link
Copy link
Closed
Labels
area:mediaarea:pipelineComic/story production pipelineComic/story production pipelineeffort:highDispatch reasoning effort: highDispatch reasoning effort: highmodel:heavyDispatch capability: strongest available coding modelDispatch capability: strongest available coding modelplanTracked by /do:replanTracked by /do:replanplanner:sonnet-5Plan authored by the sonnet-5 modelPlan authored by the sonnet-5 model
Description
Activity
Metadata
Metadata
Assignees
Labels
area:mediaarea:pipelineComic/story production pipelineComic/story production pipelineeffort:highDispatch reasoning effort: highDispatch reasoning effort: highmodel:heavyDispatch capability: strongest available coding modelDispatch capability: strongest available coding modelplanTracked by /do:replanTracked by /do:replanplanner:sonnet-5Plan authored by the sonnet-5 modelPlan authored by the sonnet-5 model
Context
Part of the continuous-video-episode feature (see parent epic). PortOS has low-level chunk stitching (
server/services/videoGen/chainedVideo.js) but no compiler that turns a script into beat-level video clip specs with byte-stable descriptors.Scope
Add
server/lib/scriptVideoCompiler.js:S1 (Speaker, voice): "...".freshcut type on the clip after the limit).Pure module, no I/O — takes a script + a bible object, returns an array of beat/clip specs. No route or UI wiring in this slice.
Acceptance criteria
server/lib/scriptVideoCompiler.jsexports a compiler function with the beat-partitioning, duration-snapping, bible-injection, and chain-length rules above.server/lib/index.jsbarrel +server/lib/README.mdper the module-organization convention in AGENTS.md.Files
server/lib/scriptVideoCompiler.js(new)server/lib/index.js,server/lib/README.mdPart of #6217
When this ships, check its box in the "Decomposed into" list on #6217. If it was the LAST open child, close #6217 with a summarizing comment.