3.4 KiB
3.4 KiB
🎥 ComfyUI Multimedia Utilities
A collection of essential utility nodes for handling image sequences, video, audio, and synchronized data within ComfyUI workflows.
🌟 Nodes Included
| Node Display Name | Class Name | Description | Category |
|---|---|---|---|
| 🧩 Extract Images from LatentSync | ExtractImagesFromLatentSync |
Synchronously extracts and saves a sequence of images from a latent space sequence. | video/extract |
| 🎵 Extract Audio Info | ExtractAudioInfo |
Reads an audio file and outputs key information such as sample rate, duration, and channels. | audio/info |
| 📐 Resize Image Sequence | ResizeVideoFrames |
Resizes each image in an input sequence to a specified width and height. | video/transform |
⬇️ Installation
Method 1: Using ComfyUI Manager (Recommended)
- Open the ComfyUI Manager.
- Click Install Custom Nodes.
- Search for Multimedia Utilities.
- Click Install.
- Restart ComfyUI to load the new nodes.
Method 2: Manual Installation (Git Clone)
- Navigate to your ComfyUI installation’s
custom_nodesdirectory:cd path/to/ComfyUI/custom_nodes - Clone this repository:
git clone https://github.com/thimpat/ThimPatUtils.git - Install the required Python dependencies into your ComfyUI environment:
# Example (using embedded Python): # path/to/ComfyUI/python_embedded/python.exe -m pip install -r ThimPatUtils/requirements.txt - Restart ComfyUI.
⚙️ Usage & Node Details
1. 🧩 Extract Images from LatentSync
This node takes a sequence of latents (for example, from a latent‐video model) and produces a synchronized list of decoded images.
- Inputs:
LATENT(Sequence of latents)filename_prefix(string)save_output(boolean)
- Outputs:
IMAGE(Sequence of decoded images)
2. 🎵 Extract Audio Info
Quickly inspect an audio file’s metadata before feeding it into a generation or editing pipeline.
- Inputs:
audio_path(string, path to the audio file)
- Outputs:
duration(float)sample_rate(int)channels(int)
3. 📐 Resize Image Sequence
Rescales each image in an input sequence—ideal when a downstream node (e.g., a VAE or model) requires a specific resolution.
- Inputs:
images(Image sequence)width(int)height(int)interpolation(string; options:bicubic,nearest, etc.)
- Outputs:
IMAGE(Resized image sequence)
🤝 Contribution
If you have ideas for new utilities or spot a bug, please open an issue or submit a Pull Request. We welcome your feedback and improvements!
Author
Find my other projects on https://perspectivedev.com/gb/market.html#/authors/1
