Check a video
check_videoChecks a rendered video's size, frame rate, length, black/still/silent stretches, loudness, peaks, and beat-synced cuts, then writes pass/fail reports and preview images for fixes.
Instructions
Checks any rendered video by measuring it: size, frame rate, length, black, still and silent stretches, loudness, peaks, and whether the cuts land on the beat. Writes CHECK.md (pass or fail, with every check), check.json, sheet.png (a frame from each shot) and wave.png. A failed check is a normal result here; read CHECK.md for what to fix. (launch-film 0.2.0, on this machine.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cues | No | The music's cues.json (from fit_music), to check the cuts land on the beat. | |
| cuts | No | The cuts in seconds, like 3.2,7.5, or a JSON file, when the video has no timeline from launch-film. | |
| film | Yes | The video to check, like film.mp4. | |
| lufs | No | The integrated loudness it should have, like -14 (give or take 1 LU). | |
| allow | No | Stretches meant to hold still, black or silent, in seconds, like 27-30,0-0.5. | |
| expect | No | The size and frame rate it should have, like 1920x1080@30. | |
| out_dir | No | Folder to save into, absolute or relative to /app. Default: {dir:film}/check. | |
| seconds | No | The length it should have: 30 (give or take half a second) or a range like 28-32. | |
| wait_seconds | No | How long to wait for the result before returning a job_id to wait on. 45 is safe for clients that stop a tool call after 60 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | ||
| tool | Yes | ||
| files | No | ||
| folder | No | Where the kit saved its files. | |
| job_id | Yes | ||
| passed | No | For checks: whether the check passed. | |
| status | Yes | ||
| exit_code | No | ||
| last_line | No | What the kit was doing last. | |
| next_action | No | ||
| elapsed_seconds | Yes |