DP Video Transition
Crossfade two clips so the cut doesn't show
- video1
- video2
- blended_image
You generated two short clips and stitched them end to end, and the join is jarring - a hard cut that screams "two separate videos." This node fixes exactly that. It blends the end of one clip into the start of the next over a span of frames, so the seam becomes a smooth crossfade instead of a jump. When someone on r/comfyui asked how to stitch Hunyuan clips together without the transitions looking abrupt, this is the node that got pointed at.
It's the transition tool in DesertPixelAi's Desert Pixel pack, which has a small but practical set of video-assembly helpers.
How it works
In ComfyUI, a "video" is just a batch of image frames, and that's what this node works on. You feed a frame batch into video1 and another into video2 (both typed IMAGE), tell it how many frames the overlap should last, and pick a blend style. It fades the tail of the first into the head of the second and returns one continuous batch.
frames_to_blend(1–100, default 20) - the length of the crossfade. More frames = a longer, softer dissolve; fewer = a quicker transition. 20 is a reasonable start at typical frame rates.blend_mode-Normal Blend,Dissolve,Overlay,Multiply,Screen,Soft Light.Normal Blendis the clean crossfade you want most of the time; the rest are stylistic.
The output, blended_image (IMAGE), is the combined frame batch. Send it to a video-combine node to render out the finished clip.
The inputs and outputs that matter
The two you'll actually set are frames_to_blend (how long the fade is) and blend_mode (usually leave on Normal Blend). The clips themselves go in video1/video2 in the order they should play.
How to install it
ComfyUI Manager: search Desert Pixel, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes
Restart ComfyUI. No downloads. Under the DP category. You'll also want a load-video and a combine-video node (VideoHelperSuite is the common pairing) on either side of it.
Common issues & troubleshooting
The clips are different sizes and it errors or misaligns. Blending needs matching dimensions. Resize both frame batches to the same resolution before this node (DP Resize Image And Mask, or any resize node).
The transition eats too much of my footage. frames_to_blend overlaps the two clips, so a long blend consumes frames from both ends. If your clips are short, keep the blend modest (say 8–16) or you'll lose most of the actual content to the dissolve.
It only blends two clips - I have five. Right, it's a two-input node. Chain it: blend clips 1 and 2, feed that result in as video1 with clip 3 as video2, and so on. Or use a slideshow-style node if you're crossfading many stills rather than clips.
Still looks abrupt. Increase frames_to_blend and make sure you're on Normal Blend. The exotic blend modes mix pixel values rather than fading opacity, which can read as a flicker rather than a smooth handoff.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| video1 | IMAGE | — | |
| video2 | IMAGE | — | |
| frames_to_blend | INT | 201–100 | — |
| blend_mode | COMBO | 6 options: Normal Blend, Dissolve, Overlay, Multiply, Screen, Soft Light |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| blended_image | IMAGE | — |