ComfyTV/Videogenerated

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

video
video_a
video_b
split_s
0.00
ComfyTV

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:

  1. First video output: the segment from the beginning of the input video up to the split point.
  2. 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_s is measured in seconds, not frames. Use the 0.01 step to make precise cuts when needed.
  • The default value of 0 splits at the start of the video. Adjust split_s to move the division point later.
  • Keep split_s within 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_VIDEO segments 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.

Loading comments…