ComfyUI Node
CB Roll and Trim Video Frames ⚡️
Rolls the clip by an integer offset first, then trims frames from the start/end. Returns trimmed video, removed start frames, and removed end frames. For example, inputing images={A B C D E F G} with offset=3, trim_start=1 and trim_end=2 will return trimmed_video={F G A B}, start_frames={E} and end_frames={C D}
CB Roll and Trim Video Frames ⚡️
- images
- trimmed_video
- start_frames
- end_frames
◄offset0►
◄trim_start0►
◄trim_end0►
CategoryCoolB Nodes ⚡️
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Input video frames | |
| offset | INT | 0-9999–9999 | Roll amount. Positive = frame indices shift forward with modulo wrapping; negative = backward. |
| trim_start | INT | 00–1000 | Number of frames to remove from the start (after rolling). |
| trim_end | INT | 00–1000 | Number of frames to remove from the end (after rolling). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| trimmed_video | IMAGE | — |
| start_frames | IMAGE | — |
| end_frames | IMAGE | — |