Detect scene changes
detect_scenesIdentify scene changes in a video by detecting abrupt picture cuts. Returns timestamps you can use to split or re-edit clips with trim_video or concat_videos.
Instructions
Find timestamps where the picture changes abruptly (cuts between scenes/shots). Returns a list of cut times you can feed into trim_video/concat_videos to split or re-edit the video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Sensitivity 0.1–1; lower finds more cuts (default 0.4) | |
| input_path | Yes | Path to the source video |