ComfyUI Node
kubakub retime
Changes the speed of frames with in-between frames from optical flow (or a blend): 0.5 = half speed, twice the frames; 2 = double speed. Or give the exact number of frames.
kubakub retime
- images
- images
- frame_count
- fps
- seconds
◄speed0.50►
◄frames0►
◄modeflow►
◄fps0.000►
Categorykubakub/2d/post
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The frames to retime (at least 2). | |
| speed | FLOAT | 0.500.05–16 | Below 1 = slow motion. |
| frames | INT | 00–100000 | Exact output length instead of speed (0 = use speed). |
| mode | COMBO | flow | flow = moving in-betweens (optical flow); blend = cross-fade; nearest = repeat / drop frames. |
| fpsopt | FLOAT | 0.0000–1000 | Frames per second of the frames you give (0 = unknown). Only for the fps and seconds outputs. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| frame_count | INT | — |
| fps | FLOAT | The fps to play the result at (0 = no fps given). By speed: the same fps, the slow or fast motion is in the frames. By an exact frames count: fps x frames out / frames in, so the clip lasts as long as before. |
| seconds | FLOAT | Length of the result in seconds at that fps (0 = no fps given). |