Video crossfade
Blend two streams with one mix control.
- Video
- Since 0.2.0
- crossfade
- mix
- transition
Video crossfade blends two streams with one mix control.
What it does#
Mix 0 shows only a and 1 shows only b. Each input takes one stream.
When to use it#
Use it to dissolve between two sources by hand or with a control cable; use Switcher for cuts and timed transitions.
Ports#
| Port | Direction | Signal | Lanes |
|---|---|---|---|
a | Input | Video | 1 |
b | Input | Video | 1 |
video | Output | Video | 1 |
Parameters#
| Parameter | Label | Range | Default | Unit | Scale | Notes |
|---|---|---|---|---|---|---|
mix | Mix | 0 to 1 | 0 | linear | 0 shows A, 1 shows B. |
Mix (mix)#
Balance between A (0) and B (1).
Tips#
- Drive Mix from a control lane through its
@mixsocket. - Video needs the browser's WebGPU video engine. The Player and exports do not run video yet and report it unavailable. To see a video output, bind a live Screen in the Frame to it.
See also#
Switcher, Composite, Color, Video, Control lanes.
Help patches
Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.
1. Blend two pictures
beginner Teaches: mix
The camera blended with an inverted copy.
Video1 stream
Flip the image horizontally so the person sees themselves as in a mirror. Range: 0–1. Default: 1. Linear scale. Units: unitless.
VideoAuto
VideoAuto
Offset added to every channel. Range: -1–1. Default: 0. Linear scale. Units: unitless.
Scale around mid grey. Range: 0–3. Default: 1. Linear scale. Units: unitless.
0 is monochrome, 1 unchanged. Range: 0–3. Default: 1. Linear scale. Units: unitless.
Hue rotation in degrees. Range: -180–180 °. Default: 0 °. Linear scale. Units: °.
°
Gamma curve applied to each channel. Range: 0.2–5. Default: 1. Logarithmic scale. Units: unitless.
Shift towards orange (positive) or blue (negative). Range: -1–1. Default: 0. Linear scale. Units: unitless.
Invert the colours. Range: 0–1. Default: 0. Linear scale. Units: unitless.
A1 stream
B1 stream
Video1 stream
0 shows A, 1 shows B. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio2ch
Connections as text
- Camera video output connected to Video crossfade a input
- Camera video output connected to Color video input
- Color video output connected to Video crossfade b input
- Mix 0 is all A and 1 is all B.
- One camera feeds both branches.
Related nodes
- Switcher Cut or transition between up to four sources; outputs the program. The face of the switcher widget.
- Composite Stack up to four layers over a base at the base's size with blend mode, opacity, position and scale per layer.
- Color Adjust brightness, contrast, saturation, hue, gamma and warmth, or invert the picture.