ComfyTV/Videogenerated

Video Resize(VideoResizeStage)

Video Resize (VideoResizeStage) is a ComfyTV video processing node in the ComfyTV/Video category.

Video Resize Stage

video
video
width
1280
height
720
ComfyTV

Description

Video Resize (VideoResizeStage) is a ComfyTV video processing node in the ComfyTV/Video category. It resizes a COMFYTV_VIDEO input to the requested output dimensions and returns the result as a COMFYTV_VIDEO, allowing the resized clip to be passed to downstream ComfyTV video nodes.

The node supports explicit output dimensions or automatic aspect-ratio preservation by setting either width or height to -1. In that case, the missing dimension is derived from the other dimension and the source video's aspect ratio.

Inputs

NameTypeRequiredDefaultRangeDescription
widthINTYes1280-1 to 8192Output width in pixels. Use -1 to derive the width from height and the source aspect ratio.
heightINTYes720-1 to 8192Output height in pixels. Use -1 to derive the height from width and the source aspect ratio.
videoCOMFYTV_VIDEONoNoneN/AThe source video to resize. Connect a COMFYTV_VIDEO to supply the clip that will be processed.

Outputs

NameTypeDescription
videoCOMFYTV_VIDEOThe resized video, returned in ComfyTV video format for further processing or output.

Usage Notes

  • Set both width and height when you need exact output dimensions.
  • Set exactly one of width or height to -1 to preserve the source video's aspect ratio. The node calculates the missing dimension from the other dimension and the source aspect ratio.
  • The default output dimensions are 1280 by 720.
  • Accepted dimension values range from -1 to 8192. The value -1 has special meaning and is not treated as a literal pixel size.
  • The output remains a COMFYTV_VIDEO, so it can be chained directly into other nodes in the ComfyTV/Video category.

Comments

Sign in with GitHub to join the discussion.

Loading comments…