ComfyUI Node
TS Video Info
Unpack a video_info bundle into plain numbers: what was actually loaded, and what the source file was. Accepts VHS_VIDEOINFO too.
TS Video Info
- video_info
- fps
- frame_count
- duration
- width
- height
- source_fps
- source_frame_count
- source_duration
- source_width
- source_height
- has_audio
- has_alpha
- summary
CategoryTS/Video
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| video_info | TS_VIDEO_INFO,VHS_VIDEOINFO | Bundle from TS Video Loader. A VHS_VIDEOINFO bundle from Video Helper Suite works as well. |
Outputs (13)
| Name | Type | Description |
|---|---|---|
| fps | FLOAT | Frame rate of the loaded clip. |
| frame_count | INT | How many frames were actually loaded. |
| duration | FLOAT | Length of the loaded clip, in seconds. |
| width | INT | Width after resizing. |
| height | INT | Height after resizing. |
| source_fps | FLOAT | Frame rate as stored in the file. |
| source_frame_count | INT | Frames in the whole file. |
| source_duration | FLOAT | Length of the whole file, in seconds. |
| source_width | INT | Width in the file. |
| source_height | INT | Height in the file. |
| has_audio | BOOLEAN | Whether the file carries an audio track. |
| has_alpha | BOOLEAN | Whether the file carries transparency. |
| summary | STRING | One line describing the clip, for notes and debugging. |