Nodes/ComfyUI Handy Nodes/Large Video Chunker
ComfyUI Node

Large Video Chunker

Helps avoid memory issues with large videos. Meant to be run within FOR LOOP START/END. index = current loop counter. Take an large video file an process a chunk at a time. Use chunk_seconds to define chunk size, use max_duration (seconds) to define how much of video to process.

By trashkollector·Created about a year ago·Updated 3 days ago· 3
Large Video Chunker
    • number_chunks
    • chunkOfImages
    • chunkOfAudio
    • fps
    • start_frame
    ◄path_vid_file►
    ◄chunk_seconds10►
    ◄index0►
    ◄max_duration0►
    CategoryTKNodes/video

    Inputs (4)

    NameTypeDefaultDescription
    path_vid_fileSTRING—
    chunk_secondsINT101–3600—
    indexINT00–100000—
    max_durationINT00–86400—

    Outputs (5)

    NameTypeDescription
    number_chunksINT—
    chunkOfImagesIMAGE—
    chunkOfAudioAUDIO—
    fpsFLOAT—
    start_frameIMAGE—