Nodes/comfyui-timesaver/TS Video Info
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.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
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)

NameTypeDefaultDescription
video_infoTS_VIDEO_INFO,VHS_VIDEOINFOBundle from TS Video Loader. A VHS_VIDEOINFO bundle from Video Helper Suite works as well.

Outputs (13)

NameTypeDescription
fpsFLOATFrame rate of the loaded clip.
frame_countINTHow many frames were actually loaded.
durationFLOATLength of the loaded clip, in seconds.
widthINTWidth after resizing.
heightINTHeight after resizing.
source_fpsFLOATFrame rate as stored in the file.
source_frame_countINTFrames in the whole file.
source_durationFLOATLength of the whole file, in seconds.
source_widthINTWidth in the file.
source_heightINTHeight in the file.
has_audioBOOLEANWhether the file carries an audio track.
has_alphaBOOLEANWhether the file carries transparency.
summarySTRINGOne line describing the clip, for notes and debugging.