Nodes/ComfyUI-AusBoss/Load Video πŸ†Ž
ComfyUI Node

Load Video πŸ†Ž

Loads a video as a BHWC frame batch plus its audio, trimmed to an optional start/end window selected on the preview timeline, with frame count, fps, size, and duration outputs ready for downstream wiring, plus a lazy core VIDEO output for nodes that consume whole videos. every_nth thins the batch and max_frames caps it, so long clips load without filling memory.

By ausbossΒ·Created about a month agoΒ·Updated 7 days agoΒ· 2
Load Video πŸ†Ž
    • frames
    • audio
    • frame_count
    • fps
    • width
    • height
    • duration
    • video
    β—„videoβ–Ύβ–Ί
    β—„start_seconds0.00β–Ί
    β—„end_seconds0.00β–Ί
    β—„custom_width0β–Ί
    β—„custom_height0β–Ί
    β—„every_nth1β–Ί
    β—„max_frames0β–Ί
    CategoryπŸ†Ž AusBoss/Video

    Inputs (7)

    NameTypeDefaultDescription
    videoCOMBOVideo in ComfyUI's input folder; use the upload button to add one.
    start_secondsFLOAT0.000–86400Skip everything before this time. Drag the preview's IN handle or type an exact value below the player.
    end_secondsFLOAT0.000–86400Stop at this time; 0 plays to the end. Drag the preview's OUT handle or type an exact value below the player.
    custom_widthINT00–163840 keeps the source width; set one side only to preserve aspect.
    custom_heightINT00–163840 keeps the source height; set one side only to preserve aspect.
    every_nthoptINT11–512Keep one frame in this many β€” 2 halves the frame count. The fps output divides to match, so the clip still plays at real speed downstream.
    max_framesoptINT00–100000Stop after this many kept frames; 0 loads the whole trim window. Caps memory on long clips β€” the decode ends early instead of loading and discarding.

    Outputs (8)

    NameTypeDescription
    framesIMAGETrimmed BHWC frame batch.
    audioAUDIOAudio for the same trim window; silent when the video has no audio track.
    frame_countINTNumber of frames returned.
    fpsFLOATFrames per second of the returned batch: the source rate divided by every_nth.
    widthINTFrame width after any custom sizing.
    heightINTFrame height after any custom sizing.
    durationFLOATDuration in seconds of the returned frames.
    videoVIDEOCore VIDEO for the same trim window at the source size; frames decode only when a consumer asks for them. None on ComfyUI cores without the comfy_api VIDEO type (present on every version this pack supports).