Nodes/comfyui-simple-batch/πŸ“₯ Batch Load Video
ComfyUI Node

πŸ“₯ Batch Load Video

Batch video source: enumerates every video of the selected container format in a folder tree and hands out one clip per execution. The slot is derived from which destinations already exist (or were marked errored), so crash-recovery, restarts and re-runs need no reset step. Self-requeue is driven by Batch Save Video and the batch watchdog.

By lordekeenΒ·Created 4 days agoΒ·Updated about 5 hours agoΒ· 1
πŸ“₯ Batch Load Video
    • VIDEO
    • SLOT
    • TOTAL
    • RELATIVE_PATH
    β—„folder_pathβ€”β–Ί
    β—„recursivetrueβ–Ί
    β—„container_formatmp4β–Ί
    Categoryvideo/batch

    Inputs (3)

    NameTypeDefaultDescription
    folder_pathSTRINGRoot of the input folder tree (absolute path).
    recursiveBOOLEANtrueWalk subfolders recursively.
    container_formatCOMBOmp4Only files with this extension (or all_videos) are processed.

    Outputs (4)

    NameTypeDescription
    VIDEOVIDEOThe current clip, as a VideoFromFile β€” plugs into GetVideoComponents etc.
    SLOTINT0-based index of the current file for this run.
    TOTALINTTotal matching file count for this run.
    RELATIVE_PATHSTRINGCurrent file's path relative to folder_path (posix separators).