ComfyUI Extension: Batch Video Loader
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Load numbered videos from a folder for batch workflows. Supports skip-missing mode for sequences with gaps.
README
📂 ComfyUI Batch Video Loader
Load videos from a folder by number — perfect for batch upscaling with SageVR 2.
Handles missing/gaps in your sequence with skip_missing mode.
Modes
skip_missing (recommended)
Treats video_number as a position in whatever files actually exist.
Example — folder has 1.mp4, 3.mp4, 5.mp4 (2 and 4 missing):
| video_number input | Loads | |---|---| | 1 | 1.mp4 | | 2 | 3.mp4 ← skips gap | | 3 | 5.mp4 |
No crashes. Just increment 1 → 2 → 3 to go through all videos.
exact_number
Loads the file whose filename matches the number.
video_number = 3 → loads 3.mp4. Raises an error if that file is missing.
Nodes
📂 Batch Video Loader
| Input | Type | Description |
|---|---|---|
| folder_path | STRING | Full path to your video folder |
| video_number | INT | Which video to load (number or position) |
| mode | ENUM | skip_missing or exact_number |
| Output | Type | Description |
|---|---|---|
| video_path | STRING | Full path to the video |
| filename | STRING | e.g. 3.mp4 |
| video_number | INT | The actual file number (e.g. 3) |
| position | INT | Position in the existing list (e.g. 2nd of 5) |
| total_videos | INT | Total videos found in folder |
🔢 Batch Video Counter
Scans the folder and reports how many numbered videos exist.
Also warns about gaps: ⚠️ Missing numbers: 2, 4
Installation
Via ComfyUI Manager
Search "Batch Video Loader" → Install.
Manual
cd ComfyUI/custom_nodes
git clone https://github.com/skakjskj189212-tech/comfyui-batch-video-loader
Restart ComfyUI.
Supported Formats
.mp4 · .mov · .avi · .mkv · .webm
License
MIT
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.