ComfyUI Node
Loop Video
Loops a video until the requested frame count, duration or number of playthroughs is filled, with an adjustable playback speed. Audio is looped along with the frames at speed 1.0, and dropped otherwise.
Loop Video
- video
- video
- images
◄length_modeframes►
◄frames16►
◄seconds2.0►
◄loops1►
◄speed1.00►
Categoryload-gif-as-video
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| video | VIDEO | The video to loop. Short clips are the point — MP4, WEBM, or another node's output. | |
| length_mode | COMBO | frames | How the output length is specified: a frame count, a duration in seconds, or whole playthroughs. |
| frames | INT | 161–10000 | Number of frames to output (length_mode = frames). |
| seconds | FLOAT | 2.00.01–3600 | Duration to output in seconds (length_mode = seconds). |
| loops | INT | 11–10000 | How many times the video plays through (length_mode = loops). |
| speed | FLOAT | 1.000.01–100 | Playback speed multiplier. Scales the VIDEO output's frame rate; the IMAGE batch, which has no frame rate, gets the speed baked into its frames instead. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| images | IMAGE | — |