ComfyUI Node
EzFlex-SegmentPanel
Segment Panel
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)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | This segment's decoded frames (the pinned head gets trimmed off). | |
| save_dir | STRING | Directory for per-segment files. Empty = <output>/EzFlex_Segments. Must be under output/input or a folder registered with the folder button. | |
| fps | INT | 241–120 | — |
| clean_vram | BOOLEAN | true | Clear the cache after every segment (needed on low VRAM). |
| assemble | BOOLEAN | true | On the last segment, auto-concat all segments into the final video with ffmpeg. |
| trim_tail | INT | 00–24 | Extra frames dropped from the END of each non-final segment (kills the 1-frame echo at the seam). Audio follows the video length. |
| rerun_stop | INT | -1-1–9999 | Internal: range re-run target segment (writes into the same run folder and assembles there). Not a canvas port. |
| codec | COMBO | auto | Video codec for each segment. auto = H.264 in MP4; h264/av1 follow the built-in SaveVideo encoders. |
| bit_depth | COMBO | auto | auto = 8-bit for sRGB, 10-bit for HDR/HDR PQ. |
| color_space | COMBO | sRGB | HDR = BT.2020/HLG, HDR PQ = BT.2020/PQ. Keep sRGB for normal SDR video. |
| crf | FLOAT | 00–63 | 0 = built-in default. Lower = higher quality and larger files; 18 for H.264, around 24 for AV1. |
| final_format | COMBO | mp4 | Container for the assembled final video. Segments stay MP4 for looping/preview. |
| final_codec | COMBO | auto | Encoder for the final assemble. auto = H.264 (MP4/MKV) or AV1 (WebM). |
| final_crf | FLOAT | 00–63 | 0 = encoder default. Final only; segments use the CRF above. |
| final_bit_depth | COMBO | auto | Final bit depth. auto = 10-bit for HDR/HDR PQ, otherwise 8-bit. |
| final_color_space | COMBO | sRGB | Final color space. Keep sRGB for normal SDR output. |
| final_follow | BOOLEAN | false | Use the segment encoding settings (codec / bit depth / color space / CRF) for the final assemble. |
| final_fps | INT | 00–120 | Final frame rate. 0 = follow the segment/plan fps. |
| blend_frames | INT | 00–24 | Visible crossfade at each seam: number of frames. 0 = off. Final duration shrinks by this many frames per seam. |
| audio_xfade_ms | INT | 00–2000 | Audio crossfade at each seam (ms). 0 = follow the video blend duration; only used when a seam blend is active. |
| timeplanopt | EZFLEX_TIMEPLAN | Optional plan from EzFlex-TimePlan. Without it the panel treats this as a single segment. | |
| audioopt | AUDIO | This segment's audio (trimmed by the same head amount). |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| timeplan | EZFLEX_TIMEPLAN | — |
| images | IMAGE | — |
| audio | AUDIO | — |
| video | VIDEO | — |