Video Helper Suite πŸŽ₯πŸ…₯πŸ…—πŸ…’generated

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

This node accepts an input of type `VHS_VIDEOINFO`, a data structure typically generated by video loading nodes (such as Load Video) in the Video Helper Suite.

Video Info Loaded

video_info
fps🟦
frame_count🟦
duration🟦
width🟦
height🟦
VideoHelperSuite

The Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ node receives an input of type VHS_VIDEOINFO. This data structure is typically generated by video loading nodes (such as Load Video) within the Video Helper Suite.

The Video Info (Loaded) node is an information extraction tool specifically designed to retrieve key metadata from loaded video information. Its core function is to read and output fundamental video properties such as frame rate, dimensions, and duration for use in other nodes.

Node Functionality

This node receives an input of type VHS_VIDEOINFO, a data structure typically generated by video loading nodes (like Load Video) in the Video Helper Suite. Internally, the node extracts the "loaded" version of video information from this structure, including frame rate, total frame count, duration, width, and height, and outputs them as separate numerical values.

Node Parameter Description - Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’

Inputs

Parameter NameData TypeRequiredDefault ValueRange/OptionsDescription
video_infoVHS_VIDEOINFOYes--Receives video information data from a video loading node, of type VHS_VIDEOINFO.

Outputs

Parameter NameData TypeDescription
fps🟦FLOATOutputs the video's frame rate in frames per second.
frame_count🟦INTOutputs the total number of frames contained in the video.
duration🟦FLOATOutputs the total duration of the video in seconds.
width🟦INTOutputs the width of the video frame in pixels.
height🟦INTOutputs the height of the video frame in pixels.

Usage Scenarios

In a typical video processing workflow, you can connect the video_info output from a Load Video node to the input of this node. Subsequently, you can connect the frame rate, resolution, and other information output by this node to other nodes that require these parameters, such as nodes controlling video generation speed or adjusting canvas size, thereby automating the process.

Notes

This node is used solely for reading information and does not perform any loading or modification operations itself. It relies on successfully loaded video information data provided by upstream nodes.

The Video Info (Loaded) πŸŽ₯πŸ…₯πŸ…—πŸ…’ node is from the ComfyUI-VideoHelperSuite node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…