ComfyUI > Nodes > comfyui-mixlab-nodes > Video Combine

ComfyUI Node: Video Combine

Class Name

VideoCombine_Adv

Category
♾️Mixlab/Video
Author
shadowcz007 (Account age: 3323days)
Extension
comfyui-mixlab-nodes
Latest Updated
2024-06-23
Github Stars
0.9K

How to Install comfyui-mixlab-nodes

Install this extension via the ComfyUI Manager by searching for comfyui-mixlab-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-mixlab-nodes 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

Automate video creation from images using FFmpeg in ComfyUI with VideoCombine_Adv node.

Video Combine:

The VideoCombine_Adv node is designed to facilitate the creation of videos from a batch of images, providing a seamless way to generate video content directly within the ComfyUI environment. This node leverages the power of FFmpeg, a comprehensive multimedia framework, to combine images into a video format of your choice. It allows you to specify the frame rate, loop count, and filename prefix, making it a versatile tool for AI artists looking to create dynamic visual content. Whether you are creating animations, time-lapse videos, or any other form of video art, VideoCombine_Adv simplifies the process by automating the conversion of image sequences into high-quality video files.

Video Combine Input Parameters:

image_batch

This parameter expects a batch of images that will be combined to form the video. The images should be provided in a format that is compatible with ComfyUI's image handling capabilities.

frame_rate

The frame_rate parameter determines the number of frames per second in the resulting video. A higher frame rate results in smoother motion but requires more images. The default value is 8, with a minimum of 1 and adjustable in steps of 1.

loop_count

The loop_count parameter specifies how many times the video should loop. A value of 0 means the video will loop indefinitely. This is useful for creating GIFs or looping animations. The default value is 0, with a minimum of 0 and a maximum of 100, adjustable in steps of 1.

filename_prefix

The filename_prefix parameter allows you to set a custom prefix for the output video file's name. This helps in organizing and identifying your video files. The default value is "Comfyui".

Video Combine Output Parameters:

ui

The output parameter ui provides a dictionary containing metadata about the generated video file. This includes the filename, subfolder, type, and format of the output video. This information is useful for further processing or referencing the generated video within the ComfyUI environment.

Video Combine Usage Tips:

  • Ensure that all images in the image_batch are of the same resolution to avoid any inconsistencies in the final video.
  • Adjust the frame_rate according to the desired smoothness of your video. Higher frame rates require more images but result in smoother videos.
  • Use the loop_count parameter to create looping animations or GIFs. Setting it to 0 will make the video loop indefinitely.
  • Customize the filename_prefix to easily identify and organize your output video files.

Video Combine Common Errors and Solutions:

"FFmpeg not available"

  • Explanation: This error occurs if FFmpeg is not installed or not accessible in your system's PATH.
  • Solution: Ensure that FFmpeg is installed and properly configured in your system. You can download FFmpeg from the official website and follow the installation instructions.

"Invalid image batch"

  • Explanation: This error occurs if the provided image_batch contains invalid or incompatible images.
  • Solution: Verify that all images in the image_batch are valid and compatible with ComfyUI's image handling capabilities. Ensure they are of the same resolution and format.

"Frame rate out of range"

  • Explanation: This error occurs if the frame_rate parameter is set outside the allowed range.
  • Solution: Adjust the frame_rate parameter to be within the allowed range of 1 to 100.

"Loop count out of range"

  • Explanation: This error occurs if the loop_count parameter is set outside the allowed range.
  • Solution: Adjust the loop_count parameter to be within the allowed range of 0 to 100.

Video Combine Related Nodes

Go back to the extension to check out more related nodes.
comfyui-mixlab-nodes
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.