Video Split(VideoSplitStage)
Video Split (class VideoSplitStage) is a ComfyTV node in the ComfyTV/Video category that divides a COMFYTV_VIDEO into two separate COMFYTV_VIDEO outputs at a specified time.
Video Split Stage
Description
Video Split (class VideoSplitStage) is a ComfyTV node in the ComfyTV/Video category that divides a COMFYTV_VIDEO into two separate COMFYTV_VIDEO outputs at a specified time. Use it when a workflow needs a before/after division of a video, such as processing the two segments differently, isolating a section, or branching a video into separate downstream paths.
Inputs
split_s
- Type:
FLOAT - Required: Yes
- Default:
0 - Minimum:
0 - Maximum:
3600 - Step:
0.01
The split time in seconds. This value determines where the input video is divided. A value of 0 places the split at the beginning of the video. Higher values move the split point later in the timeline. Fractional seconds are supported with a step of 0.01, and the maximum allowed value is 3600 seconds (one hour).
video
- Type:
COMFYTV_VIDEO - Required: No
The optional video to split. Connect a COMFYTV_VIDEO source to provide the content that will be divided. Because this input is optional, the node can exist without a connected video, but there is no source content to split until a video is connected. For meaningful results, connect a video before executing the workflow.
Outputs
This node returns two outputs, both of type COMFYTV_VIDEO:
- First video output: the segment from the beginning of the input video up to the split point.
- Second video output: the segment from the split point to the end of the input video.
Both outputs can be connected independently to downstream nodes for separate processing, comparison, or further editing.
Usage Notes
split_sis measured in seconds, not frames. Use the0.01step to make precise cuts when needed.- The default value of
0splits at the start of the video. Adjustsplit_sto move the division point later. - Keep
split_swithin the actual duration of the connected video for expected results. A split point beyond the video duration may produce an empty or near-empty segment depending on the input. - The node does not alter the original input video. It provides two
COMFYTV_VIDEOsegments for use in the workflow. - If only one segment is needed downstream, connect only the relevant output; the other output can remain unconnected.
Comments
Sign in with GitHub to join the discussion.