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

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

Class Name

VHS_VideoInfo

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

Extracts key metadata from video files for analysis and processing.

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

The VHS_VideoInfo node is a part of the Video Helper Suite πŸŽ₯πŸ…₯πŸ…—πŸ…’, designed to provide detailed information about video files. This node extracts and returns key metadata from both the source video and the loaded video, such as frame rate, frame count, duration, width, and height. By utilizing this node, you can gain insights into the properties of your video files, which can be crucial for various video processing tasks. The main goal of this node is to facilitate the understanding and manipulation of video data by providing comprehensive and easily accessible video information.

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

video_info

The video_info parameter is a required input that should be of type VHS_VIDEOINFO. This parameter contains the metadata of the video file, including both the source and loaded video properties. The video_info parameter is essential for the node to extract and return the relevant video information. Ensure that this parameter is correctly provided to avoid any issues with the node's execution.

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

source_fps🟨

This output parameter represents the frame rate (frames per second) of the source video. It is a floating-point value that indicates how many frames are displayed per second in the original video file.

source_frame_count🟨

This output parameter indicates the total number of frames in the source video. It is an integer value that provides the complete frame count of the original video file.

source_duration🟨

This output parameter represents the duration of the source video in seconds. It is a floating-point value that shows the total length of the original video file.

source_width🟨

This output parameter indicates the width of the source video in pixels. It is an integer value that provides the horizontal resolution of the original video file.

source_height🟨

This output parameter indicates the height of the source video in pixels. It is an integer value that provides the vertical resolution of the original video file.

loaded_fps🟦

This output parameter represents the frame rate (frames per second) of the loaded video. It is a floating-point value that indicates how many frames are displayed per second in the processed video file.

loaded_frame_count🟦

This output parameter indicates the total number of frames in the loaded video. It is an integer value that provides the complete frame count of the processed video file.

loaded_duration🟦

This output parameter represents the duration of the loaded video in seconds. It is a floating-point value that shows the total length of the processed video file.

loaded_width🟦

This output parameter indicates the width of the loaded video in pixels. It is an integer value that provides the horizontal resolution of the processed video file.

loaded_height🟦

This output parameter indicates the height of the loaded video in pixels. It is an integer value that provides the vertical resolution of the processed video file.

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

  • Ensure that the video_info parameter is correctly provided to avoid any issues with the node's execution.
  • Use the output parameters to gain insights into the properties of your video files, which can be crucial for various video processing tasks.
  • Combine this node with other nodes in the Video Helper Suite to create a comprehensive video processing pipeline.

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

Invalid video file: <video_file>

  • Explanation: This error occurs when the provided video file is not valid or cannot be found.
  • Solution: Ensure that the video file path is correct and that the file exists. Verify that the video_info parameter is correctly provided.

Missing required parameter: video_info

  • Explanation: This error occurs when the video_info parameter is not provided.
  • Solution: Ensure that the video_info parameter is included in the node's input and that it contains the necessary video metadata.

Unsupported video format

  • Explanation: This error occurs when the video file format is not supported by the node.
  • Solution: Convert the video file to a supported format and try again. Verify that the video file is compatible with the node's requirements.

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