Nodes/Dream Video Batches/β‰Ί Fade From Black
ComfyUI Node

β‰Ί Fade From Black

Fade in the way a real editor would β€” across time, not just brightness

By alt-key-projectΒ·Created 3 years agoΒ·Updated 8 months agoΒ· 95
β‰Ί Fade From Black
  • frames
  • frames
β—„fade_seconds1.0β–Ί

Fade From Black [DVB] does exactly one thing: it fades a frame set in from black over the first fade_seconds of its timeline. Feed it a frames set and a fade length, get the same set back with the opening frames ramped up in brightness. It's the front bookend of every properly-finished clip, and it's about as close to a "just works" node as this pack gets.

How the fade is computed

The node converts fade_seconds to a frame count using the set's framerate - one second at 24 fps is 24 frames of fade - and then ramps brightness linearly from 0 (black) to full over those first frames, leaving the rest untouched. It's a brightness ramp applied per-frame, not an alpha composite, which is a subtle but real distinction: the black frames genuinely are black, and the fade is smooth. The fade_seconds input is a float with a 0.1 minimum and 0.1 stepping, so you're picking a time length, not a frame count - if you change the framerate later, the same node stays "one second", which is exactly the behavior you want in a timeline-oriented workflow.

Where it fits

The obvious pairing is with Fade To Black [DVB] at the other end - fade in at the start, fade out at the finish, and you've got a clip that doesn't just start and stop cold. It's also the polite neighbor for a loop: if you're wrapping a repeated segment with Frame Set Repeat, a short fade-in masks the moment the loop's content begins. And it's a natural prelude to a Blended Transition if you want a subtle dip-to-black between two scenes rather than a hard dissolve.

The input side is minimal - just frames and fade_seconds - and the single frames output feeds straight into the next DVB node in your chain. Nothing to tune beyond the duration, which is the whole appeal.

The gotcha, same as the rest of the pack

The output is a FRAME_SET, and standard ComfyUI nodes can't consume that type. When you're done fading and you want to encode or save, run the set through Unwrap Frame Set [DVB] first to get a plain IMAGE batch and the framerate, then feed that to your video output nodes. This is the single most common misunderstanding with this pack - users try to plug a faded frame set straight into Save Video and nothing connects. It's not a bug; it's the pack's internal currency needing conversion at the exit.

One small note on expectations: this is a brightness fade, the honest cheap version. If you need a dissolve between two clips rather than a fade to black, that's Blended Transition [DVB]. And if you need true motion-aware blending, that's the interpolation tooling from ComfyUI Frame Interpolation, which the pack's README recommends as a companion.

Install

Search "Dream Video Batches" in ComfyUI Manager, or:

cd ComfyUI/custom_nodes
git clone https://github.com/alt-key-project/comfyui-dream-video-batches.git
cd comfyui-dream-video-batches
pip install -r requirements.txt

Restart ComfyUI after. No model downloads - a brightness ramp is pure image processing.

Category🎭 DVB/🎬 transitions

Inputs (2)

NameTypeDefaultDescription
framesFRAME_SETβ€”
fade_secondsFLOAT1.0β€”

Outputs (1)

NameTypeDescription
framesFRAME_SETβ€”