check_black
Scan a video render for black stretches, distinguishing known kdenlive tail frames from genuine defects. Requires a target render to analyze.
Instructions
Scan a render for black stretches, and say whether each is the known kdenlive-export tail frame (picture.KNOWN_TAIL_FRAME) or a genuine defect.
target is required — unlike check_frames, there is no cheap no-target
mode; there is nothing to detect black in without a render. A run is
only ever explained when it sits at the tail and the frame delta
against the timeline matches the known defect exactly; a black run
inside the declared picture is always reported as a real defect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | The rate the timeline's own frame arithmetic is counted on. | |
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| pix_th | No | How dark a pixel counts as black, 0–1. | |
| target | Yes | The render to scan. Required — unlike `check_frames` there is no cheap no-target mode, since there is nothing to detect black in without a render. | |
| min_duration | No | Shortest black run to report, in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||