check_frames
Check an export's frame count against the timeline's expected total, reporting the delta to verify cut positions before rendering without encoding.
Instructions
Check an export's frame count against what the timeline says it should be.
The picture-side counterpart to verify, which covers only the audio. Run
this on the exported NLE project before rendering — that is where it is
worth the most, because the count settles whether the cut positions are
right for the price of reading a document rather than encoding one.
target is an NLE project (.kdenlive/.mlt/.xml, put to melt -consumer xml) or a finished render (counted with ffprobe). Omit it to just report
expected_frames, the total the timeline lays down.
Read agrees first, then delta — how many frames the target has that the
timeline does not. A non-zero delta on an NLE project means the render will
not be the length the edit is, and notes says so when the cause is one
proofcut already knows about. agrees is null, not false, for an audio-only
render: it has no frames, so nothing was checked.
fps must match the rate the export ran at or the two sides are counting on
different grids; it defaults to the rate export would have picked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | The rate the export ran at. It has to match, or the two sides are counting on different grids; it defaults to the rate `export` would have picked. | |
| 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. | |
| target | No | An NLE project (`.kdenlive`/`.mlt`/`.xml`) or a finished render. Omit it to just report `expected_frames`, the total the timeline lays down. Run it on the **exported project before rendering** — that is where it is worth the most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||