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
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 Name | Data Type | Required | Default Value | Range/Options | Description |
|---|---|---|---|---|---|
video_info | VHS_VIDEOINFO | Yes | - | - | Receives video information data from a video loading node, of type VHS_VIDEOINFO. |
Outputs
| Parameter Name | Data Type | Description |
|---|---|---|
| fpsπ¦ | FLOAT | Outputs the video's frame rate in frames per second. |
| frame_countπ¦ | INT | Outputs the total number of frames contained in the video. |
| durationπ¦ | FLOAT | Outputs the total duration of the video in seconds. |
| widthπ¦ | INT | Outputs the width of the video frame in pixels. |
| heightπ¦ | INT | Outputs 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.
Video Info (Loaded) π₯π ₯π π ’ Node Source Code Link
The Video Info (Loaded) π₯π ₯π π ’ node is from the ComfyUI-VideoHelperSuite node package.
Comments
Sign in with GitHub to join the discussion.