film_check
Verify that a video project's timeline duration matches its intended reference file, using ffprobe to compare against the stored export. Reports discrepancies and remembers the reference for repeated checks.
Instructions
Compare this project against the export it is supposed to be.
check_frames answers whether an export agrees with this project's own
arithmetic; it cannot catch this project being the wrong film to begin
with — a project can pass every check it has and still be seeded from a
stale stage of an outside edit (HISTORY.md § The VO the project was
holding: 73 segments/410.963s sat in a project whose shipped film was 63
segments/336.269s, with the render, verify, the cue table and the shot
plan all agreeing with the wrong one). This checks the project's
timeline_duration against a reference file's own ffprobe duration —
cheap, no frame counting, no melt. Segment count has nothing on the
reference side to compare against once a film is encoded, so segments
is reported alone and the notes say why.
reference is remembered: passing it stores it on the project
(additive, no schema bump), so a later call with no argument re-asks the
same question against the same file. reset drops the stored reference;
plan resolves without writing. With no reference given or stored, this
reports the project's own numbers and says there is nothing to compare
them against, rather than raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| plan | No | Resolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it. | |
| reset | No | Drop the stored reference. | |
| reference | No | The delivered file this project is supposed to be. It is remembered, so a later call with no argument re-asks the same question against the same file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||