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

EzFlex-SegmentPanel

Segment Panel

By blackbossokok·Created 2 months ago·Updated 2 days ago· 4
EzFlex-SegmentPanel
  • images
  • timeplan
  • audio
  • timeplan
  • images
  • audio
  • video
◄save_dir►
◄fps24►
◄clean_vramtrue►
◄assembletrue►
◄trim_tail0►
◄rerun_stop-1►
◄codecauto►
◄bit_depthauto►
◄color_spacesRGB►
◄crf0►
◄final_formatmp4►
◄final_codecauto►
◄final_crf0►
◄final_bit_depthauto►
◄final_color_spacesRGB►
◄final_followfalse►
◄final_fps0►
◄blend_frames0►
◄audio_xfade_ms0►
CategoryEzFlex

Inputs (22)

NameTypeDefaultDescription
imagesIMAGEThis segment's decoded frames (the pinned head gets trimmed off).
save_dirSTRINGDirectory for per-segment files. Empty = <output>/EzFlex_Segments. Must be under output/input or a folder registered with the folder button.
fpsINT241–120—
clean_vramBOOLEANtrueClear the cache after every segment (needed on low VRAM).
assembleBOOLEANtrueOn the last segment, auto-concat all segments into the final video with ffmpeg.
trim_tailINT00–24Extra frames dropped from the END of each non-final segment (kills the 1-frame echo at the seam). Audio follows the video length.
rerun_stopINT-1-1–9999Internal: range re-run target segment (writes into the same run folder and assembles there). Not a canvas port.
codecCOMBOautoVideo codec for each segment. auto = H.264 in MP4; h264/av1 follow the built-in SaveVideo encoders.
bit_depthCOMBOautoauto = 8-bit for sRGB, 10-bit for HDR/HDR PQ.
color_spaceCOMBOsRGBHDR = BT.2020/HLG, HDR PQ = BT.2020/PQ. Keep sRGB for normal SDR video.
crfFLOAT00–630 = built-in default. Lower = higher quality and larger files; 18 for H.264, around 24 for AV1.
final_formatCOMBOmp4Container for the assembled final video. Segments stay MP4 for looping/preview.
final_codecCOMBOautoEncoder for the final assemble. auto = H.264 (MP4/MKV) or AV1 (WebM).
final_crfFLOAT00–630 = encoder default. Final only; segments use the CRF above.
final_bit_depthCOMBOautoFinal bit depth. auto = 10-bit for HDR/HDR PQ, otherwise 8-bit.
final_color_spaceCOMBOsRGBFinal color space. Keep sRGB for normal SDR output.
final_followBOOLEANfalseUse the segment encoding settings (codec / bit depth / color space / CRF) for the final assemble.
final_fpsINT00–120Final frame rate. 0 = follow the segment/plan fps.
blend_framesINT00–24Visible crossfade at each seam: number of frames. 0 = off. Final duration shrinks by this many frames per seam.
audio_xfade_msINT00–2000Audio crossfade at each seam (ms). 0 = follow the video blend duration; only used when a seam blend is active.
timeplanoptEZFLEX_TIMEPLANOptional plan from EzFlex-TimePlan. Without it the panel treats this as a single segment.
audiooptAUDIOThis segment's audio (trimmed by the same head amount).

Outputs (4)

NameTypeDescription
timeplanEZFLEX_TIMEPLAN—
imagesIMAGE—
audioAUDIO—
videoVIDEO—