Nodes/ComfyUI-IntoTheLatent-Utils/ITL Multi Video Loader
ComfyUI Node

ITL Multi Video Loader

Drop up to 8 video files onto the node; each gets its own video_N and audio_N output socket (sockets appear/disappear with the list, or pin output_slots to a fixed count so wires survive file edits). Each row has an on/off toggle: a switched-off row keeps its socket position but outputs None for video_N/audio_N (and filename_N on Advanced) — equivalent to leaving an unplugged OPTIONAL input, so don't switch off a row feeding a REQUIRED input. force_rate at 0 (default) keeps every clip's native rate and costs nothing to load; any other value retimes every clip to that rate (dropping or duplicating frames, real duration preserved) and requires decoding. A clip with no audio track outputs None for audio_N. count = number of files actually emitted (enabled rows), not the row count.

By Into-The-Latent·Created 9 days ago·Updated 5 days ago· 1
ITL Multi Video Loader
    • count
    • video_1
    • audio_1
    • video_2
    • audio_2
    • video_3
    • audio_3
    • video_4
    • audio_4
    • video_5
    • audio_5
    • video_6
    • audio_6
    • video_7
    • audio_7
    • video_8
    • audio_8
    files_json[]
    force_rate0
    output_slotsauto
    CategoryInto The Latent/video

    Inputs (3)

    NameTypeDefaultDescription
    files_jsonSTRING[]Authoritative file list as JSON. Hidden in the UI and kept in sync by the front-end — drop files onto the node instead of editing this.
    force_rateFLOAT00–2400 = off — every clip keeps its own frame rate, and video_N is returned lazily without decoding a single frame (free). Any other value drops or duplicates frames so all clips run at that rate while keeping their real running time (a 10s clip stays 10s). Forcing a rate has to decode the clip's frames to do this, so it costs time and memory — 0 stays free.
    output_slotsCOMBOautoHow many output sockets to show. 'auto' follows the number of loaded files, so sockets appear and disappear as you edit the list. Pick a fixed number to keep the sockets (and your wires) in place while you swap files around — extra sockets with no file behind them output nothing, so don't wire more than you load.

    Outputs (17)

    NameTypeDescription
    countINT
    video_1VIDEO
    audio_1AUDIO
    video_2VIDEO
    audio_2AUDIO
    video_3VIDEO
    audio_3AUDIO
    video_4VIDEO
    audio_4AUDIO
    video_5VIDEO
    audio_5AUDIO
    video_6VIDEO
    audio_6AUDIO
    video_7VIDEO
    audio_7AUDIO
    video_8VIDEO
    audio_8AUDIO