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.
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. |