ComfyUI > Nodes > ComfyUI-VideoTransition > Video Warp Transition

ComfyUI Node: Video Warp Transition

Class Name

VideoWarpTransitionNode

Category
VideoTransition
Author
yichengup (Account age: 774days)
Extension
ComfyUI-VideoTransition
Latest Updated
2025-10-27
Github Stars
0.03K

How to Install ComfyUI-VideoTransition

Install this extension via the ComfyUI Manager by searching for ComfyUI-VideoTransition
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-VideoTransition 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 Warp Transition Description

Creates dynamic video transitions using warp effects like swirl, squeeze, and wave.

Video Warp Transition:

The VideoWarpTransitionNode is designed to create visually captivating transitions between two video clips by applying a variety of warp effects. This node leverages OpenCV's pixel displacement capabilities to achieve smooth and dynamic transitions, making it an excellent tool for AI artists looking to enhance their video projects with creative effects. The node supports multiple warp types, such as swirl, squeeze, liquid, and wave, allowing for a wide range of artistic expressions. By utilizing batch processing optimizations, the node ensures efficient performance even when handling high-resolution videos. The primary goal of this node is to provide seamless and customizable transitions that can be tailored to fit the aesthetic needs of any video project.

Video Warp Transition Input Parameters:

video1

This parameter represents the first video clip that will be used in the transition. It is essential for defining the starting point of the warp effect.

video2

This parameter represents the second video clip that will be used in the transition. It serves as the endpoint for the warp effect, creating a bridge between the two clips.

warp_type

This parameter determines the type of warp effect to be applied during the transition. Options include "swirl," "squeeze_h," "squeeze_v," "liquid," and "wave." Each type offers a unique visual style, allowing for creative flexibility.

total_frames

This parameter specifies the total number of frames in the transition. It affects the duration and smoothness of the transition, with a default value of 60 frames, a minimum of 4, and a maximum of 300.

fps

This parameter sets the frames per second for the transition, influencing the playback speed. The default is 30 fps, with a range from 15 to 60 fps.

warp_intensity

This optional parameter controls the intensity of the warp effect, with a default value of 0.5. It can be adjusted between 0.1 and 2.0 to achieve the desired level of distortion.

warp_speed

This optional parameter adjusts the speed of the warp effect, with a default value of 1.0. It can be set between 0.1 and 3.0 to control the pace of the transition.

max_scale

This optional parameter defines the maximum scale factor for the warp effect, with a default of 1.3. It can be adjusted between 1.0 and 3.0 to influence the extent of scaling during the transition.

scale_recovery

This optional boolean parameter determines whether scale recovery is applied to the second video clip, with a default value of True. It helps maintain the original scale after the warp effect.

use_gpu

This optional boolean parameter indicates whether GPU acceleration should be used, with a default value of False. Enabling this can improve performance on compatible hardware.

batch_size

This optional parameter sets the number of frames processed in each batch, with a default of 5. It can be adjusted between 1 and 20 to optimize performance based on system capabilities.

background_color

This optional parameter specifies the background color used during the transition, with a default value of "#000000" (black). It can be customized to match the video's aesthetic.

width

This optional parameter defines the width of the output video, with a default of 640 pixels. It can be set between 320 and 1920 pixels to match the desired resolution.

height

This optional parameter sets the height of the output video, with a default of 640 pixels. It can be adjusted between 240 and 1080 pixels to achieve the desired aspect ratio.

Video Warp Transition Output Parameters:

video

The output parameter is the resulting video clip that features the warp transition effect. This video seamlessly blends the two input clips using the specified warp type and settings, providing a visually engaging transition.

Video Warp Transition Usage Tips:

  • Experiment with different warp_type options to find the effect that best suits your project's aesthetic.
  • Adjust warp_intensity and warp_speed to fine-tune the visual impact and pacing of the transition.
  • Utilize scale_recovery to maintain the original scale of the second video clip, ensuring a smooth transition without unwanted distortion.
  • Consider enabling use_gpu if you have compatible hardware to enhance processing speed and efficiency.

Video Warp Transition Common Errors and Solutions:

"Invalid video input"

  • Explanation: This error occurs when the provided video files are not in a supported format or are corrupted.
  • Solution: Ensure that both video1 and video2 are valid video files in a compatible format, such as MP4 or AVI.

"Frame size mismatch"

  • Explanation: This error arises when the input videos have different resolutions, causing issues during the transition process.
  • Solution: Use the width and height parameters to resize the videos to a consistent resolution before applying the transition.

"GPU not supported"

  • Explanation: This error indicates that the system does not support GPU acceleration, which is required if use_gpu is enabled.
  • Solution: Disable the use_gpu option or ensure that your system has a compatible GPU and the necessary drivers installed.

Video Warp Transition Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-VideoTransition
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 Warp Transition