Nodes/ComfyUI-Video-Stabilizer/Video Stabilizer Flow
ComfyUI Node

Video Stabilizer Flow

CPU-friendly video stabilization using dense optical flow with configurable transforms and framing, emitting stabilized frames, a padding mask, and motion diagnostics.

By nomadoor·Created 9 months ago·Updated about a month ago· 84
Video Stabilizer Flow
  • frames
  • padding_color
  • Stabilized Frames
  • Padding Mask
  • Motion Meta
frame_rate16.0
framing_modecrop_and_pad
transform_modesimilarity
camera_lockfalse
strength0.70
smooth0.50
keep_fov0.60
CategoryVideo/Stabilization

Inputs (9)

NameTypeDefaultDescription
framesIMAGE
frame_rateFLOAT16.0Frame rate in frames per second used to scale smoothing window.
framing_modeCOMBOcrop_and_padChoose how borders produced by stabilization are handled.
transform_modeCOMBOsimilaritySelect the geometric model fitted to the optical flow.
camera_lockBOOLEANfalseAggressively pull the motion curve toward a locked tripod-like solution.
strengthFLOAT0.700–1Removal gain (0 keeps original motion, 1 removes it using the smoothed motion curve).
smoothFLOAT0.500–1Temporal smoothing amount applied to the motion curve before removal.
keep_fovFLOAT0.600–1[Crop only] How much of the original FOV to preserve (1.0 = no zoom, 0.0 = maximum zoom). Ignored when framing_mode is crop_and_pad or expand.
padding_colorCOLOR#7F7F7FHEX padding color applied in crop_and_pad / expand (e.g. #404040).

Outputs (3)

NameTypeDescription
Stabilized FramesIMAGE
Padding MaskMASK
Motion MetaJSON