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 Crop

ComfyUI Node: Video Crop

Class Name

ComfyTV.VideoCropStage

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 Crop Description

Crop specific video sections for focused viewing, highlighting desired areas with precision and efficiency.

Video Crop:

The ComfyTV.VideoCropStage node is designed to allow you to crop a specific section of a video, providing a focused view of the desired area. This node is particularly useful when you want to highlight or isolate a particular part of a video for further processing or analysis. By specifying the coordinates and dimensions of the crop area, you can effectively remove unwanted portions of the video, thereby enhancing the visual focus on the subject of interest. This capability is essential for tasks such as video editing, content creation, and any scenario where precise control over the video content is required. The node ensures that the cropping process is seamless and efficient, making it an invaluable tool for AI artists and video editors who need to manipulate video content with precision.

Video Crop Input Parameters:

x

This parameter specifies the X-coordinate of the top-left corner of the crop area in pixels. It determines the horizontal starting point of the crop. The minimum value is 0, the maximum is 8192, and the default is 0. Adjusting this value allows you to shift the crop area horizontally across the video frame.

y

This parameter specifies the Y-coordinate of the top-left corner of the crop area in pixels. It determines the vertical starting point of the crop. The minimum value is 0, the maximum is 8192, and the default is 0. Adjusting this value allows you to shift the crop area vertically across the video frame.

w

This parameter defines the width of the crop area in pixels. It determines how wide the cropped section will be. The minimum value is 2, the maximum is 8192, and the default is 512. Increasing this value will expand the crop area horizontally, capturing more of the video content.

h

This parameter defines the height of the crop area in pixels. It determines how tall the cropped section will be. The minimum value is 2, the maximum is 8192, and the default is 512. Increasing this value will expand the crop area vertically, capturing more of the video content.

video

This parameter is the input video that you wish to crop. It is optional, but if not provided, the node will raise an error. The video input is essential as it serves as the source material from which the crop will be extracted.

Video Crop Output Parameters:

video

The output parameter is the cropped video. This video is the result of applying the specified crop dimensions to the input video. It contains only the section of the video that was within the defined crop area, allowing you to focus on the desired content without any extraneous material.

Video Crop Usage Tips:

  • Ensure that the x and y coordinates, along with the w and h dimensions, are set within the bounds of the video frame to avoid errors.
  • Use the cropping feature to remove unwanted elements from the video, such as borders or irrelevant background, to enhance the focus on the main subject.
  • Experiment with different crop dimensions to achieve the best framing for your video content, especially when preparing videos for specific aspect ratios or platforms.

Video Crop Common Errors and Solutions:

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

  • Explanation: This error occurs when no video input is provided to the node.
  • Solution: Ensure that a valid video file is connected to the video input parameter before executing the node.

Video Crop: end_s must be > start_s

  • Explanation: This error is related to the cropping process where the end time of the video segment is not greater than the start time.
  • Solution: Verify that the end time specified for the video segment is greater than the start time to ensure a valid cropping operation.

Video Crop 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 Crop