ComfyUI  >  Nodes  >  ComfyUI Deploy >  External Video (ComfyUI Deploy x VHS)

ComfyUI Node: External Video (ComfyUI Deploy x VHS)

Class Name

ComfyUIDeployExternalVideo

Category
Video Helper Suite 🎥🅥🅗🅢
Author
BennyKok (Account age: 2997 days)
Extension
ComfyUI Deploy
Latest Updated
6/19/2024
Github Stars
0.7K

How to Install ComfyUI Deploy

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

External Video (ComfyUI Deploy x VHS) Description

Facilitates integration and processing of external video files in ComfyUI, customizable video parameters for AI artists.

External Video (ComfyUI Deploy x VHS):

The ComfyUIDeployExternalVideo node is designed to facilitate the integration and processing of external video files within the ComfyUI environment. This node allows you to load video files either from a local directory or directly from a URL, making it versatile for various use cases. It provides options to customize the video processing parameters such as frame rate, resolution, and frame selection, ensuring that the video data is tailored to your specific needs. This node is particularly useful for AI artists who need to incorporate video content into their projects, offering a seamless way to manage and manipulate video files without requiring extensive technical knowledge.

External Video (ComfyUI Deploy x VHS) Input Parameters:

input_id

This parameter specifies the source of the video file. It can be a URL or a local file path. If a URL is provided, the node will download the video file from the internet. If a local file path is given, it will load the video from the specified directory. The default value is "input_video".

force_rate

This parameter allows you to set a specific frame rate for the video. The frame rate is the number of frames displayed per second. Setting this parameter can help in synchronizing the video with other media or optimizing performance. The value ranges from 0 to 60, with a default of 0, which means no change to the original frame rate.

force_size

This parameter lets you define the resolution of the video. You can choose from predefined options such as "256x?", "?x256", "256x256", "512x?", "?x512", "512x512", or set custom dimensions. This is useful for standardizing the video size for various applications. The default value is "Disabled".

custom_width

If you select a custom resolution, this parameter allows you to specify the width of the video. The value ranges from 0 to a maximum defined by the system (DIMMAX), with a default of 512 pixels. This parameter is only applicable if "force_size" is set to a custom option.

custom_height

Similar to custom_width, this parameter allows you to specify the height of the video when a custom resolution is selected. The value ranges from 0 to a maximum defined by the system (DIMMAX), with a default of 512 pixels. This parameter is only applicable if "force_size" is set to a custom option.

frame_load_cap

This parameter sets a limit on the number of frames to load from the video. It helps in managing memory usage and processing time, especially for long videos. The value ranges from 0 to a maximum defined by the system (BIGMAX), with a default of 0, which means no limit.

skip_first_frames

This parameter allows you to skip a specified number of initial frames in the video. This can be useful for ignoring introductory content or focusing on a specific part of the video. The value ranges from 0 to a maximum defined by the system (BIGMAX), with a default of 0.

select_every_nth

This parameter enables you to select every nth frame from the video, effectively reducing the frame rate. This can be useful for creating time-lapse effects or reducing the amount of data to process. The value ranges from 1 to a maximum defined by the system (BIGMAX), with a default of 1.

meta_batch

This optional parameter allows you to use a VHS_BatchManager for batch processing of video frames. This is useful for handling large datasets or performing complex operations on multiple video files.

default_value

This optional parameter provides a default value for the video file, typically used when a local file path is specified. It helps in ensuring that a valid video file is always available for processing.

unique_id

This hidden parameter is used internally to manage unique identifiers for video files. It ensures that each video file is uniquely identified within the system.

External Video (ComfyUI Deploy x VHS) Output Parameters:

video_path

This output parameter provides the path to the processed video file. It can be used as an input for subsequent nodes or for further processing within the ComfyUI environment. The video path is essential for accessing the video data and integrating it into your projects.

External Video (ComfyUI Deploy x VHS) Usage Tips:

  • Ensure that the input_id parameter is correctly set to either a valid URL or a local file path to avoid errors in loading the video.
  • Use the force_rate and force_size parameters to standardize the video frame rate and resolution, which can help in maintaining consistency across different projects.
  • Utilize the skip_first_frames and select_every_nth parameters to focus on specific parts of the video and reduce the amount of data processed, optimizing performance.

External Video (ComfyUI Deploy x VHS) Common Errors and Solutions:

"Invalid video URL or file path"

  • Explanation: This error occurs when the input_id parameter is set to an invalid URL or file path.
  • Solution: Verify that the URL is correct and accessible, or ensure that the local file path is accurate and the file exists.

"Unsupported video format"

  • Explanation: This error occurs when the video file format is not supported by the node.
  • Solution: Convert the video to a supported format such as MP4 before loading it into the node.

"Frame load cap exceeded"

  • Explanation: This error occurs when the number of frames in the video exceeds the frame_load_cap parameter.
  • Solution: Increase the frame_load_cap value or reduce the length of the video to fit within the specified limit.

"Custom resolution out of bounds"

  • Explanation: This error occurs when the custom width or height exceeds the system-defined maximum (DIMMAX).
  • Solution: Adjust the custom_width and custom_height parameters to values within the allowed range.

External Video (ComfyUI Deploy x VHS) Related Nodes

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