frames
Extract evenly spaced frames from a demo video into a specified folder for review. Provide a project directory, output path, frame width, source type, and interval to generate frame snapshots.
Instructions
Dump evenly spaced PNG frames from the final video (or the raw take) into output/frames/ for review — look at them instead of hand-running ffmpeg -ss. Needs only the video (no key). Returns a jobId immediately — poll job_status. Rejects if another job is running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | demo project directory — pass an absolute path | |
| out | No | output directory (default <dir>/output/frames) | |
| width | No | frame width in px, aspect kept (default 640) | |
| source | No | final = output/final-demo.mp4 (default); raw = the latest raw file; take = the whole recorded take, across the raw files a resumed take is spliced from | |
| everySec | No | seconds between frames (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| jobId | Yes | ||
| status | Yes | ||
| demoDir | Yes | resolved absolute demo directory | |
| logFile | Yes |