Detect shots
detect_shotsDetect camera cuts in a video and return each shot with start and end times in seconds. Tune sensitivity and minimum shot length for scene-change analysis.
Instructions
Find the camera cuts in a video and return the shots between them, with start and end times in seconds.
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": {
"input": "<input>"
},
"name": "detect_shots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | A local file path or an http(s) URL of a video. | |
| min_shot | No | Ignore cuts closer than this many seconds to the last cut. Default 0.5. | |
| threshold | No | The scene-change score that counts as a cut. Default 0.3. Lower finds more cuts. |