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 Clip

ComfyUI Node: Video Clip

Class Name

ComfyTV.VideoClipStage

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

Extract specific video segments efficiently for editing or analysis with accurate duration trimming using ComfyTV.VideoClipStage node.

Video Clip:

The ComfyTV.VideoClipStage node is designed to facilitate the extraction of specific segments from a video file, allowing you to create clips of desired lengths. This node is particularly useful when you need to focus on a particular part of a video for further processing or analysis. By specifying the start and end times, you can trim the video to include only the relevant portion, which can be beneficial for tasks such as video editing, content creation, or data analysis. The node ensures that the extracted clip is accurately trimmed to the specified duration, providing a seamless and efficient way to manage video content.

Video Clip Input Parameters:

force_run_token

This parameter is used to force the execution of the node, even if the conditions for automatic execution are not met. It acts as a trigger to ensure that the node processes the video clip as intended. The default value is 0, and it is typically used in scenarios where manual intervention is required to execute the node.

project_id

The project_id parameter is a unique identifier for the project within which the video clipping operation is being performed. It helps in organizing and managing different projects, ensuring that the video clip is associated with the correct project context. This parameter does not have a default value and should be specified by the user.

parent_output_id

This parameter identifies the output from a previous node that serves as the input for the current operation. It ensures that the video clip is correctly linked to the preceding processing stage, maintaining the workflow's integrity. The default value is 0, and it should be set according to the specific workflow requirements.

start_s

The start_s parameter specifies the starting point of the video clip in seconds. It determines where the trimming operation begins, allowing you to extract the desired segment from the video. The default value is 0.0, with no explicit minimum or maximum values, but it should be less than the end_s parameter to ensure a valid clip duration.

end_s

This parameter defines the endpoint of the video clip in seconds. It marks the conclusion of the trimming operation, ensuring that the extracted clip does not exceed the specified duration. If not provided or set to a non-positive value, the node will automatically determine the endpoint based on the video's total duration. The end_s value must be greater than the start_s value to avoid runtime errors.

video

The video parameter is the input video file from which the clip will be extracted. It is essential to provide a valid video file for the node to function correctly. This parameter does not have a default value and must be specified by the user. The video file should be properly formatted and accessible to ensure successful processing.

Video Clip Output Parameters:

video

The output parameter video represents the trimmed video clip that results from the node's execution. This output is a segment of the original video, defined by the specified start and end times. It is crucial for tasks that require focused analysis or editing of specific video portions, providing a concise and relevant video segment for further use.

Video Clip Usage Tips:

  • Ensure that the start_s and end_s parameters are set correctly to avoid runtime errors and to extract the desired video segment accurately.
  • Use the project_id parameter to keep your video clipping tasks organized within different projects, especially when working on multiple video editing tasks simultaneously.
  • Verify that the input video file is correctly formatted and accessible to prevent errors during the clipping process.

Video Clip Common Errors and Solutions:

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

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

Video Clip: end_s must be > start_s

  • Explanation: This error indicates that the specified end time is not greater than the start time, resulting in an invalid clip duration.
  • Solution: Adjust the end_s parameter to be greater than the start_s parameter to define a valid video segment for extraction.

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