Video Combine π₯π ₯π π ’(VideoCombine)
This node supports multiple output formats, including common video formats (via FFmpeg) as well as GIF and WebP animation formats.
Video Combine
The Video Combine π₯π ₯π π ’ node supports multiple output formats, including common video formats (via FFmpeg) as well as GIF and animated WebP formats.
The Video Combine node is the core component of the Video Helper Suite toolkit, used to synthesize a series of consecutive image frames or latent representations into a dynamic video or GIF/WebP animation. It acts as the "assembler" that transforms an image sequence into a final video file, serving as a crucial step for generating animations, video previews, or dynamic content.
Node Functionality
This node supports multiple output formats, including common video formats (via FFmpeg) as well as GIF and animated WebP formats. Its primary function is to receive an image sequence, arrange and encode it according to a specified frame rate, and ultimately generate a coherent animation file viewable in various players. This is essential for AI-generated frame-by-frame animations, time-lapse photography sequences, or any scenario requiring the creation of dynamic effects from static images.
Node Parameter Description - Video Combine π₯π ₯π π ’
Connection Inputs (Inputs)
| Parameter Name | Data Type | Required | Default Value | Value Range/Options | Description |
|---|---|---|---|---|---|
images | COMBO | Yes | - | - | The input image sequence or latent representation sequence used to synthesize the video. This is the source of raw frame data for generating the animation. |
audio | AUDIO | No | - | - | Attaches an audio track to the output video file. This parameter is optional and only valid for video formats. |
meta_batch | VHS_BATCHMANAGER | No | - | - | Connects a batch manager to handle batch data containing multiple samples. This parameter is optional and used for advanced batch processing workflows. |
vae | VAE | No | - | - | Provides the VAE model for decoding when the images input is a latent representation. This parameter is optional. |
Control Parameters (Parameters)
| Parameter Name | Data Type | Required | Default Value | Value Range/Options | Description |
|---|---|---|---|---|---|
format | COMBO | Yes | image/gif | "image/gif", "image/webp", and various video formats supported via FFmpeg. | Specifies the output format for the animation/video. Options include image/gif, image/webp, and various video formats supported via FFmpeg. |
frame_rate | COMBO | Yes | 8 | - | Sets the frame rate of the output video, i.e., the number of frames played per second. This value must be greater than or equal to 1. |
loop_count | INT | Yes | 0 | 0 - 100 (step: 1) | Sets the number of loops for GIF/WebP animations. A value of 0 indicates infinite looping. The valid range is 0 to 100. |
filename_prefix | STRING | Yes | AnimateDiff | - | Sets the prefix for the output filename. The final filename will start with this prefix, followed by an automatically appended sequence number and format suffix. |
pingpong | BOOLEAN | Yes | False | - | Enables the "ping-pong" loop effect. When set to True, the animation will play forward to the last frame and then reverse back to the first frame, repeating this cycle. |
save_output | BOOLEAN | Yes | True | - | Controls whether to save the synthesized video file to disk. If disabled, the node will still execute the synthesis process but will not generate a physical file. |
Output
| Parameter Name | Data Type | Description |
|---|---|---|
| Filenames | VHS_FILENAMES | Outputs the path and name information of the saved video file(s). |
Usage Scenarios
Beyond basic synthesis, the node provides enhanced options such as adding audio tracks, setting loop playback modes (including ping-pong loops), and batch metadata management. When the input is a latent representation, the node can automatically decode it into a visual image via the connected VAE model. Its design goal is to provide a flexible and feature-rich video synthesis solution, simplifying the process of exporting dynamic content from ComfyUI workflows.
Video Combine π₯π ₯π π ’ Node Source Code Link
The Video Combine π₯π ₯π π ’ node is from the ComfyUI-VideoHelperSuite node package.
Comments
Sign in with GitHub to join the discussion.