ComfyUI > Nodes > ComfyUI-VideoHelperSuite > Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’

ComfyUI Node: Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’

Class Name

VHS_VideoCombine

Category
Video Helper Suite πŸŽ₯πŸ…₯πŸ…—πŸ…’
Author
Kosinkadink (Account age: 3725days)
Extension
ComfyUI-VideoHelperSuite
Latest Updated
2024-07-01
Github Stars
0.41K

How to Install ComfyUI-VideoHelperSuite

Install this extension via the ComfyUI Manager by searching for ComfyUI-VideoHelperSuite
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-VideoHelperSuite in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Description

Merge images/latent representations into videos with customizable parameters for AI artists, supporting advanced features like ping-pong looping and audio integration.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’:

The VHS_VideoCombine node is designed to seamlessly merge multiple images or latent representations into a cohesive video file. This node is particularly useful for AI artists who want to create animations or video sequences from a series of generated images or latent frames. By leveraging this node, you can specify various parameters such as frame rate, loop count, and output format to tailor the final video to your specific needs. The node also supports advanced features like ping-pong looping, audio integration, and metadata embedding, making it a versatile tool for creating dynamic and engaging video content.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Input Parameters:

frame_rate

This parameter sets the number of frames displayed per second in the resulting video. A higher frame rate results in smoother motion but requires more frames. The default value is typically 24, which is standard for most video content.

loop_count

Defines how many times the video should loop. Setting this to a higher number will repeat the video sequence multiple times. The default value is usually 1, meaning the video will play once.

images

An optional parameter that accepts a list of images to be combined into the video. If not provided, the node will use latent representations instead.

latents

An optional parameter that accepts a list of latent representations to be combined into the video. This is useful if you are working with latent space data rather than raw images.

filename_prefix

Specifies the prefix for the output video file name. The default value is "AnimateDiff".

format

Determines the output format of the video. Common options include "image/gif" for GIFs and "video/mp4" for MP4 videos. The default format is "image/gif".

pingpong

A boolean parameter that, when set to true, makes the video play forward and then backward, creating a ping-pong effect. The default value is false.

save_output

A boolean parameter that determines whether the output video should be saved to disk. The default value is true.

prompt

An optional text prompt that can be embedded into the video metadata for reference.

extra_pnginfo

Allows you to add additional PNG metadata to the video frames. This is useful for embedding extra information into the video.

audio

An optional parameter to add an audio track to the video. The audio file should be in a compatible format like MP3 or WAV.

unique_id

A unique identifier for the video, useful for tracking and managing multiple video outputs.

manual_format_widgets

An optional parameter for advanced users to manually configure format-specific settings.

meta_batch

An optional parameter for handling meta-batch processing, useful for large-scale video generation tasks.

vae

An optional parameter to specify a Variational Autoencoder (VAE) for encoding or decoding latent representations.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Output Parameters:

fps🟦

Indicates the frame rate of the generated video, measured in frames per second. This value is crucial for understanding the smoothness of the video playback.

frame_count🟦

Represents the total number of frames in the generated video. This value helps in determining the length and complexity of the video.

duration🟦

Specifies the total duration of the video in seconds. This is calculated based on the frame rate and the number of frames.

width🟦

Indicates the width of the video in pixels. This value is important for understanding the resolution and aspect ratio of the video.

height🟦

Indicates the height of the video in pixels. This value complements the width to define the overall resolution and aspect ratio.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Usage Tips:

  • To create a smooth animation, ensure that your frame rate is set appropriately. A common frame rate for smooth video is 24 or 30 frames per second.
  • Use the pingpong parameter to create interesting looping effects, especially for short video sequences.
  • If you are working with large sets of images or latents, consider using the meta_batch parameter to manage memory and processing more efficiently.
  • Adding audio can significantly enhance the impact of your video. Make sure the audio length matches the video duration for the best experience.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Common Errors and Solutions:

Memory limit hit after loading frames. Stopping execution.

  • Explanation: This error occurs when the number of frames exceeds the available memory limit.
  • Solution: Reduce the number of frames or lower the resolution of the images to fit within the memory constraints.

No frames generated

  • Explanation: This error indicates that no frames were successfully generated for the video.
  • Solution: Check the input parameters to ensure that valid images or latents are provided. Also, verify that the frame rate and other settings are correctly configured.

Meta Batch set to frames but only can fit in memory

  • Explanation: This error occurs when the meta_batch parameter is set to a value that exceeds the available memory.
  • Solution: Adjust the meta_batch parameter to a lower value that fits within the memory limits.

Invalid audio format

  • Explanation: This error indicates that the provided audio file is in an unsupported format.
  • Solution: Convert the audio file to a compatible format like MP3 or WAV before adding it to the video.

Frame rate must be a positive integer

  • Explanation: This error occurs when the frame_rate parameter is set to a non-positive value.
  • Solution: Ensure that the frame_rate parameter is set to a positive integer, such as 24 or 30.

Video Combine πŸŽ₯πŸ…₯πŸ…—πŸ…’ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-VideoHelperSuite
RunComfy

Β© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.