Nodes/Comfyui-EzFlex-Presets/EzFlex-SplitVideo
ComfyUI Node

EzFlex-SplitVideo

Split Video

By blackbossokok·Created 2 months ago·Updated 2 days ago· 4
EzFlex-SplitVideo
  • timeplan
  • video_1
  • video_2
  • video_3
  • video_4
  • video_5
  • video_6
  • video_7
  • video_8
  • video_9
  • video_10
  • video_11
  • video_12
  • video_13
  • video_14
  • video_15
  • video_16
  • timeplan
  • Segment 1
  • Segment 2
  • Segment 3
  • Segment 4
  • Segment 5
  • Segment 6
  • Segment 7
  • Segment 8
  • Segment 9
  • Segment 10
  • Segment 11
  • Segment 12
  • Segment 13
  • Segment 14
  • Segment 15
  • Segment 16
◄modeloop►
◄one_start0.0►
◄one_end5.0►
◄max_frames960►
◄config{}►
◄out_typeframes►
◄start_frame0►
◄end_frame0►
◄select_every_nth0►
CategoryEzFlex

Inputs (26)

NameTypeDefaultDescription
modeCOMBOloopMaster slice rule (applies to every card, and initialises new cards). frames = 0-based frame range; start/end accept negative indices from the end, end=0 means end of video.
one_startFLOAT0.0Start (seconds) used when mode = one.
one_endFLOAT5.0End (seconds) used when mode = one.
max_framesINT9600–20000Max frames produced per card (same meaning as VHS frame_load_cap). 0 = no limit. Only frames / GIF outputs are capped.
configSTRING{}Card config (written by the panel): {cards:[{useMaster,mode,oneStart,oneEnd,outType}]}. useMaster defaults to true (follow the master control above).
out_typeCOMBOframesMaster output type for every Segment port (a card with its 'master' switch off can override it): frames = IMAGE batch; video = trimmed mp4 (VIDEO); gif = animated GIF saved to output (VIDEO); audio = trimmed audio track (AUDIO).
start_frameINT0-100000–100000Master frame range start (0-based). Negative = from the end; -22 means the 22nd frame from the end.
end_frameINT0-100000–100000Master frame range end (exclusive). 0 = end of video; negative = from the end; -1 = one frame before the end.
select_every_nthINT00–1000Keep every Nth frame for frames / GIF outputs. 0 = no thinning (all frames); N >= 2 = keep every Nth frame. Video / audio outputs are not affected.
timeplanoptEZFLEX_TIMEPLANOptional plan from EzFlex-TimePlan; only the loop mode needs it.
video_1opt*Source for card 1: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_2opt*Source for card 2: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_3opt*Source for card 3: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_4opt*Source for card 4: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_5opt*Source for card 5: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_6opt*Source for card 6: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_7opt*Source for card 7: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_8opt*Source for card 8: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_9opt*Source for card 9: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_10opt*Source for card 10: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_11opt*Source for card 11: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_12opt*Source for card 12: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_13opt*Source for card 13: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_14opt*Source for card 14: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_15opt*Source for card 15: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).
video_16opt*Source for card 16: VIDEO (lazy trim, no re-encode), IMAGE frame batch (tensor slice), or AUDIO (PCM slice).

Outputs (17)

NameTypeDescription
timeplanEZFLEX_TIMEPLAN—
Segment 1*—
Segment 2*—
Segment 3*—
Segment 4*—
Segment 5*—
Segment 6*—
Segment 7*—
Segment 8*—
Segment 9*—
Segment 10*—
Segment 11*—
Segment 12*—
Segment 13*—
Segment 14*—
Segment 15*—
Segment 16*—