Nodes/PlagueKind-Nodes/H3 Video Frames (lean)
ComfyUI Node

H3 Video Frames (lean)

Get Video Components without the RAM bill: start, duration, a 24 fps re-time and a resize are applied while decoding, so skipped frames are never held, and the frames are filled into the IMAGE once (peak about 1.25x the output).

By PlagueKind·Created 6 months ago·Updated about 13 hours ago· 217
H3 Video Frames (lean)
  • video
  • images
  • audio
  • fps
  • frame_count
  • video
◄start_seconds0.00►
◄duration_seconds0.0►
◄frame_ratesource►
◄resizenone►
◄resize_value1.00►
◄snap_to_h3true►
CategoryPlagueKind/minimax/upscaler

Inputs (7)

NameTypeDefaultDescription
videoVIDEOFrom Load Video (or any VIDEO).
start_secondsFLOAT0.000–86400Skip this much of the video first.
duration_secondsFLOAT0.00–86400How much to take from start_seconds on. 0 = to the end. With snap_to_h3 the frame count is rounded to the nearest length H3 uses natively (30 s at 24 fps = 719 frames); the log says what you got.
frame_rateCOMBOsourcesource = every frame. 24 = re-timed to H3's own rate while decoding (nearest frame: dropped above 24, repeated below); the duration and the soundtrack's sync are kept.
resizeCOMBOnoneShrink while decoding, aspect kept, never enlarging: to resize_value megapixels, or the long edge to resize_value px.
resize_valueFLOAT1.000–16384Megapixels (resize = megapixels) or pixels (resize = long edge).
snap_to_h3BOOLEANtrueRound duration_seconds to the nearest frame count H3 uses natively (17n + 5), so nothing is padded. Off = exactly seconds x fps.

Outputs (5)

NameTypeDescription
imagesIMAGE—
audioAUDIO—
fpsFLOAT—
frame_countINT—
videoVIDEO—