e35260094dc8110bc087a77306915e6b11bbb1fb
ComfyUI Video Directory Combiner
A custom node for ComfyUI that allows you to load and combine multiple videos from a directory automatically. Perfect for batch processing and combining multiple video segments into a single file.
Features
- Load all videos from a specified directory
- Filter videos by file pattern (e.g., *.mp4, *.avi)
- Automatically combine videos using FFmpeg
- Preserves original video quality through stream copying
- Simple interface with just three parameters
Installation
- Make sure you have ComfyUI installed
- Install FFmpeg if you haven't already
- Clone this repository into your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/
git clone https://github.com/yourusername/comfyui-video-dir-combiner
Requirements
- ComfyUI
- FFmpeg
- Python 3.x
Usage
- In ComfyUI, you'll find a new node called "Video Directory Combiner" under the "video" category
- Connect the node and set:
- directory_path: Path to your video files
- output_filename: Desired name for combined video (default: combined_output.mp4)
- file_pattern: Pattern to match video files (default: *.mp4)
Example Workflow
License
MIT License - See LICENSE file for details
Languages
Python
100%
