ComfyUI Node
Load Video Batch (Folders)
Loads one video per run from one or more folders of folders, for queueing hundreds of clips in one go.
Load Video Batch (Folders)
- video
- zip_name
- video_path
- index
- total
- zip_folder
- shot_label
◄batch_folder►
◄index0►
◄skip_if_zip_existstrue►
◄output_folder►
◄extensionsmp4,mov,mkv,avi,webm,m4v►
◄recursivetrue►
◄excluded►
Categoryimage/video
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| batch_folder | STRING | Folders and/or single video files, one per line or comma separated (x\ep93, x\ep94, D:\clips\a.mp4). Use 'Add folders' on the preview, drop videos onto the node, or paste Explorer's Copy as path (Ctrl+Shift+C). Every video inside the folders and their sub-folders is found automatically. | |
| index | INT | 00–999999 | Only used when skip_if_zip_exists is off: which video to load (0 = first). With skip_if_zip_exists on (default), every run simply takes the next video that has no zip yet. |
| skip_if_zip_exists | BOOLEAN | true | On (default): every run takes the next video that has no zip yet; done and excluded videos are passed over. Off: the video at 'index' is processed even if its zip exists. |
| output_folder | STRING | Where everything is saved. A folder named after each input folder is made inside it (output\ep93\shot5.zip). Connect zip_folder to the TGA saver's output_folder. | |
| extensions | STRING | mp4,mov,mkv,avi,webm,m4v | Comma separated video extensions. |
| recursive | BOOLEAN | true | Look inside sub-folders of sub-folders too. |
| excludedopt | STRING | Videos left out of the batch, one path per line. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | The video for this run. |
| zip_name | STRING | Video file name without extension (shot5). |
| video_path | STRING | Full path of the video. |
| index | INT | Index of this video (0 = first). |
| total | INT | Number of videos found. |
| zip_folder | STRING | Output folder for this video's input folder (output\ep93). Connect to the saver's output_folder. |
| shot_label | STRING | Where the shot comes from + its zip name, unique in the batch: 'ep93 / shot6', 'ep93 (y) / shot6', 'single / shot6'. Connect to Roto Review's name. |