Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyTV > Video Resize

ComfyUI Node: Video Resize

Class Name

ComfyTV.VideoResizeStage

Category
ComfyTV/Video
Author
jtydhr88 (Account age: 5469days)
Extension
ComfyTV
Latest Updated
2026-06-11
Github Stars
0.06K

How to Install ComfyTV

Install this extension via the ComfyUI Manager by searching for ComfyTV
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyTV in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Video Resize Description

Adjust video dimensions to specific width/height, maintain aspect ratio, optimize for various platforms/devices.

Video Resize:

The ComfyTV.VideoResizeStage node is designed to adjust the dimensions of a video to fit specific width and height requirements. This node is particularly useful when you need to standardize video sizes for various platforms or ensure consistency across multiple video outputs. By resizing videos, you can maintain the desired aspect ratio or adapt the video to fit new dimensions, which is essential for optimizing video content for different display devices or formats. The node provides flexibility by allowing you to specify either the width or height, with the option to automatically calculate the other dimension based on the source aspect ratio, ensuring that the video maintains its original proportions if desired.

Video Resize Input Parameters:

width

This parameter specifies the desired output width of the video in pixels. You can set a value between -1 and 8192, with a default of 1280 pixels. If you set the width to -1, the node will automatically calculate the width based on the specified height and the source video's aspect ratio, ensuring that the video maintains its original proportions.

height

This parameter defines the desired output height of the video in pixels. The range for this parameter is from -1 to 8192, with a default value of 720 pixels. Similar to the width parameter, setting the height to -1 allows the node to automatically determine the height based on the specified width and the source video's aspect ratio, preserving the video's original proportions.

video

This is the input video that you want to resize. It is an optional parameter, but the node requires an upstream video to function. If no video is provided, the node will raise an error, indicating that a video input is necessary for the resizing process.

Video Resize Output Parameters:

video

The output is the resized video, which has been adjusted to the specified width and height parameters. This output video maintains the quality and aspect ratio as specified by the input parameters, ensuring that the resized video meets the desired specifications for further processing or distribution.

Video Resize Usage Tips:

  • To maintain the original aspect ratio of the video, set either the width or height to -1. This allows the node to automatically calculate the other dimension based on the source aspect ratio.
  • When resizing videos for specific platforms, ensure that the output dimensions match the platform's requirements to avoid any display issues.
  • Use the node to standardize video sizes across a project, ensuring consistency in presentation and compatibility with various devices.

Video Resize Common Errors and Solutions:

Video Resize needs an upstream video — wire one into the video input.

  • Explanation: This error occurs when no video is provided to the node for resizing.
  • Solution: Ensure that a video is connected to the node's video input before executing the resize operation.

Invalid width or height value

  • Explanation: This error may occur if the width or height values are set outside the allowed range or are not integers.
  • Solution: Verify that the width and height values are within the range of -1 to 8192 and are set as integers. Adjust the values accordingly to meet these criteria.

Video Resize Related Nodes

Go back to the extension to check out more related nodes.
ComfyTV
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Video Resize