Detect scene cuts in clips
detect_scene_editsDetect original cut points in edited video clips and either add source clip markers or razor timeline clips at each detected cut.
Instructions
Run Premiere's Scene Edit Detection on video clips of a sequence to find the original cut points inside already-edited footage. operation "create_markers" (default) adds a clip marker on the source project item at each detected cut and leaves the timeline as it is; "apply_cuts" razors the clips at each detected cut. Pass clip_ids to choose the clips (the timeline selection is replaced by them and stays so); without clip_ids the selected video clips are analysed, and BAD_ARGS when none is selected. The call blocks until the analysis is done (roughly the footage duration on first analysis; timeout 15 min). Returns the clips analysed, the new cut times on the timeline in seconds (apply_cuts), the new markers with their source time in seconds (create_markers), and the video clip count before and after. Use detect_scene_changes_in_file to analyse a file on disk instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_scene_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_ids | No | Ids of the video clips to analyse (clip_id from get_sequence_structure). Omit to analyse the clips currently selected in the timeline. | |
| operation | No | "create_markers": add clip markers at the detected cuts. "apply_cuts": cut the clips there. Default "create_markers". | |
| sensitivity | No | Detection sensitivity. Default "medium". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| apply_cuts_to_linked_audio | No | With apply_cuts, also cut the audio linked to each clip. Default false. |