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.

By id-fa·Created about a month ago·Updated 7 days ago· 0
Loop Video
  • video
  • video
  • images
length_modeframes
frames16
seconds2.0
loops1
speed1.00
Categoryload-gif-as-video

Inputs (6)

NameTypeDefaultDescription
videoVIDEOThe video to loop. Short clips are the point — MP4, WEBM, or another node's output.
length_modeCOMBOframesHow the output length is specified: a frame count, a duration in seconds, or whole playthroughs.
framesINT161–10000Number of frames to output (length_mode = frames).
secondsFLOAT2.00.01–3600Duration to output in seconds (length_mode = seconds).
loopsINT11–10000How many times the video plays through (length_mode = loops).
speedFLOAT1.000.01–100Playback 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)

NameTypeDescription
videoVIDEO
imagesIMAGE