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
| Name | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
width | INT | Yes | 1280 | -1 to 8192 | Output width in pixels. Use -1 to derive the width from height and the source aspect ratio. |
height | INT | Yes | 720 | -1 to 8192 | Output height in pixels. Use -1 to derive the height from width and the source aspect ratio. |
video | COMFYTV_VIDEO | No | None | N/A | The source video to resize. Connect a COMFYTV_VIDEO to supply the clip that will be processed. |
Outputs
| Name | Type | Description |
|---|---|---|
video | COMFYTV_VIDEO | The resized video, returned in ComfyTV video format for further processing or output. |
Usage Notes
- Set both
widthandheightwhen you need exact output dimensions. - Set exactly one of
widthorheightto-1to 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
1280by720. - Accepted dimension values range from
-1to8192. The value-1has 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 theComfyTV/Videocategory.
Comments
Sign in with GitHub to join the discussion.