ComfyUIΒ Β >Β Β NodesΒ Β >Β Β ComfyUI-VideoHelperSuite >Β Β Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’

ComfyUI Node: Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’

Class Name

VHS_VideoInfoLoaded

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

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 Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ Description

Extracts original and processed video metadata for detailed analysis and manipulation.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’:

The VHS_VideoInfoLoaded node is part of the Video Helper Suite πŸŽ₯πŸ…₯πŸ…—πŸ…’, designed to provide comprehensive information about a video file. This node extracts and returns both the original (source) and the processed (loaded) video metadata, including frame rate, frame count, duration, width, and height. By utilizing this node, you can gain insights into the video properties before and after processing, which is particularly useful for tasks that require precise video manipulation or analysis. This node is essential for AI artists who need to understand the detailed characteristics of their video files to ensure optimal processing and output quality.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ Input Parameters:

video_info

This parameter expects a dictionary containing video metadata. The dictionary should include keys for both the source and loaded video properties, such as source_fps, source_frame_count, source_duration, source_width, source_height, loaded_fps, loaded_frame_count, loaded_duration, loaded_width, and loaded_height. This input is crucial as it provides the necessary data for the node to extract and return the detailed video information.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ Output Parameters:

source_fps🟨

This output represents the frame rate (frames per second) of the original video. It indicates how many frames are displayed per second in the source video, which is essential for understanding the video's smoothness and playback speed.

source_frame_count🟨

This output provides the total number of frames in the original video. It helps in determining the length and the amount of data present in the source video.

source_duration🟨

This output indicates the total duration of the original video in seconds. It is useful for understanding the length of the video content.

source_width🟨

This output represents the width of the original video in pixels. It is important for understanding the resolution and aspect ratio of the source video.

source_height🟨

This output provides the height of the original video in pixels. Along with the width, it helps in determining the resolution and aspect ratio of the source video.

loaded_fps🟦

This output represents the frame rate (frames per second) of the processed video. It indicates how many frames are displayed per second in the loaded video, which is essential for understanding the video's smoothness and playback speed after processing.

loaded_frame_count🟦

This output provides the total number of frames in the processed video. It helps in determining the length and the amount of data present in the loaded video.

loaded_duration🟦

This output indicates the total duration of the processed video in seconds. It is useful for understanding the length of the video content after processing.

loaded_width🟦

This output represents the width of the processed video in pixels. It is important for understanding the resolution and aspect ratio of the loaded video.

loaded_height🟦

This output provides the height of the processed video in pixels. Along with the width, it helps in determining the resolution and aspect ratio of the loaded video.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ Usage Tips:

  • Ensure that the video_info input dictionary contains all the necessary keys for both source and loaded video properties to avoid missing data in the output.
  • Use this node to compare the original and processed video properties to verify that the processing steps have been applied correctly and to understand their impact on the video.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ Common Errors and Solutions:

KeyError: 'source_fps'

  • Explanation: This error occurs when the video_info dictionary does not contain the key source_fps.
  • Solution: Ensure that the video_info dictionary includes all required keys for both source and loaded video properties, such as source_fps, source_frame_count, source_duration, source_width, source_height, loaded_fps, loaded_frame_count, loaded_duration, loaded_width, and loaded_height.

KeyError: 'loaded_fps'

  • Explanation: This error occurs when the video_info dictionary does not contain the key loaded_fps.
  • Solution: Ensure that the video_info dictionary includes all required keys for both source and loaded video properties, such as source_fps, source_frame_count, source_duration, source_width, source_height, loaded_fps, loaded_frame_count, loaded_duration, loaded_width, and loaded_height.

ValueError: Invalid video file

  • Explanation: This error occurs when the video file provided in the video_info input is invalid or cannot be processed.
  • Solution: Verify that the video file path is correct and that the file is accessible and not corrupted. Ensure that the video file format is supported by the processing tools used in the node.

Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ 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.