compile_demo
Combine recorded clips and slate segments into a single narrated MP4 video using captions and voiceover.
Instructions
Compile demo clips + slate segways into one narrated MP4. Pipeline: convert (minterpolate 60fps H.264) → burn captions → VO → splice. For recorded clips, pass videoPath only — loads sibling .cues.json (wins over hand-authored narration). Slates still take explicit narration.
Example:
{
"outputPath": "C:/Videos/final-demo.mp4",
"fast": false,
"content": [
{
"kind": "slate",
"eyebrow": "INTRO",
"heading": "Product Demo",
"body": "A quick walkthrough",
"durationMs": 3000,
"narration": [{ "startMs": 0, "endMs": 2800, "text": "Welcome to the demo." }]
},
{
"kind": "clip",
"videoPath": "C:/Videos/demo-clip.webm"
}
]
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fast | No | Skip minterpolate for quick validation encode (default false) | |
| rate | No | edge-tts rate (default +10%) | |
| voice | No | edge-tts voice (default en-US-AndrewNeural) | |
| content | Yes | ||
| outputPath | Yes | Final MP4 output path |