ComfyUI Node
SceneCut Refine
Turn raw detections into clean shots: handle transitions, merge shots that are too short, snap cuts to the exact frame.
SceneCut Refine
- scenes
- scenes
- shot_count
- summary
- images
◄transitionsmerge_previous►
◄min_shot_seconds0.40►
◄snap_radius2►
◄ultra_short_seconds0.05►
◄output_imagesoff►
CategorySceneCut/advanced
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| scenes | SCENECUT_SCENES | — | |
| transitions | COMBO | merge_previous | What to do with transitions (dissolves, wipes, fades...). merge_previous: the transition becomes the end of the shot before it. merge_next: the start of the shot after it. split: the cut goes in the middle. keep: transitions stay as their own segments. Merged transitions are still recorded on the shot that absorbed them. |
| min_shot_seconds | FLOAT | 0.400–10 | Shots shorter than this merge into their longer neighbour. 0 disables. |
| snap_radius | INT | 20–12 | Move each cut up to this many frames to the frame with the largest pixel change. 0 disables. |
| ultra_short_seconds | FLOAT | 0.050–1 | Final clean-up: fragments this short merge into a neighbour whatever their kind. 0 disables. |
| output_images | COMBO | off | Also send frames to the images output, from the selected scenes (all scenes when none are selected). all frames: every frame, in order. first / middle frame per scene: one image per scene. off: the images output carries a single black frame. Frames are full resolution float32 (about 25 MB per 1080p frame), so prefer one per scene or select scenes first. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| scenes | SCENECUT_SCENES | — |
| shot_count | INT | — |
| summary | STRING | — |
| images | IMAGE | Frames chosen by output_images (a single black frame when off). |