Scene Detect(SceneDetectStage)
Scene Detect is a video analysis node in the ComfyTV package (category ComfyTV/Video). It accepts a ComfyTV video and produces both an image batch and a video as outputs.
Scene Detect Stage
Description
Scene Detect is a video analysis node in the ComfyTV package (category ComfyTV/Video). It accepts a ComfyTV video and produces both an image batch and a video as outputs. It is intended to identify scene changes within a video and expose the results in forms that can be used by downstream image and video nodes.
The node has no required inputs. Its single video input is optional, so the node can be placed in a workflow before a video source is connected.
Inputs
video
- Type:
COMFYTV_VIDEO - Required: No
The video to analyze for scene changes. Because this input is optional, the node can be added and configured without a connected video. Connect the output of a video loader or another ComfyTV video node here when you are ready to run detection.
Outputs
COMFYTV_IMAGES
An image batch produced by the scene detection stage. This output can be routed to image-based nodes for previewing, saving, or further processing. In a typical scene detection workflow, the images represent the frames or key frames identified by the detection stage.
COMFYTV_VIDEO
A video output containing the result of the scene detection stage. This output can be connected to other ComfyTV video nodes for playback, saving, or additional video processing.
Usage Notes
- Scene detection is a video-oriented operation. Place this node in the
ComfyTV/Videoportion of your workflow, downstream of a video source and upstream of any node that should consume the detected scenes, frames, or processed video. - The image and video outputs serve different downstream needs. Use the
COMFYTV_IMAGESoutput when the next step works with frames or still images, and use theCOMFYTV_VIDEOoutput when the next step expects a video stream or video file. - Since the video input is optional, you can build and inspect the surrounding workflow before connecting a source. Connect a
COMFYTV_VIDEOoutput to thevideoinput to provide the material for detection.
Comments
Sign in with GitHub to join the discussion.