ComfyUI Node

Get Frame Range

Extract a range of frames from a video batch. Supports negative indexing. End=0 means 'to the end'.

By gregtee2·Created 6 months ago·Updated 6 months ago· 2
Get Frame Range
  • images
  • frames
  • frame_count
start0
end0
CategoryVideoChunkTools

Inputs (3)

NameTypeDefaultDescription
imagesIMAGEImage batch / video frames
startINT0-10000–10000Start index (inclusive). Negative = from end.
endINT0-10000–10000End index (exclusive). 0 = to the end of the video. Negative = from end.

Outputs (2)

NameTypeDescription
framesIMAGE
frame_countINT