Scene changes
brief_scenesDetect substantial screen changes in a video and return timestamps for page switches, modals, and new views, optionally with frames, to anchor review moments.
Instructions
Finds moments the screen changes substantially (page switch, modal, new view) — better anchors than fixed intervals. Returns the times, and with withFrames the frames too (capped). Decodes the whole range once, so allow ~1 minute per 10 minutes of video.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "brief_scenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Seconds, "MM:SS" or "HH:MM:SS" | |
| from | No | Seconds, "MM:SS" or "HH:MM:SS" | |
| path | Yes | Absolute path to the video (or audio) file | |
| width | No | Frame width in px (default 1000) | |
| minGap | No | Ignore changes closer than this many seconds to the previous one (default 4) | |
| threshold | No | Scene score 0–1 (default 0.25; lower finds more) | |
| withFrames | No |