ComfyUI Node
✂ S42 CutFlow Smart Trim
A ComfyUI node in S42 CutFlow/Clip Ops with 5 inputs and 3 outputs.
✂ S42 CutFlow Smart Trim
- clip
- clip
- frame_count
- info
◄trim_unitframes►
◄in_point0►
◄out_point-1►
◄fps24.0►
CategoryS42 CutFlow/Clip Ops
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | IMAGE | Video clip as IMAGE batch [B,H,W,C]. Connect from any video loader or upstream node. | |
| trim_unit | COMBO | frames | Unit for in/out points. 'frames' = exact frame indices (0-based). 'seconds' = time-based (uses fps parameter). |
| in_point | FLOAT | 00–99999 | Start point. In 'frames' mode: frame index (0 = first). In 'seconds' mode: time from start. |
| out_point | FLOAT | -1-1–99999 | End point (inclusive). Set to -1 to trim to end of clip. |
| fps | FLOAT | 24.01–120 | Frames per second. Used when trim_unit='seconds' to convert time to frame indices. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| clip | IMAGE | — |
| frame_count | INT | — |
| info | STRING | — |