Video crossfade

Blend two streams with one mix control.

  • Video
  • Since 0.2.0
  • crossfade
  • mix
  • transition

Open in TuneToys

Video crossfade as the Patch draws it, at default values: inlets on the left, outlets on the right.

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#

PortDirectionSignalLanes
aInputVideo1
bInputVideo1
videoOutputVideo1

Parameters#

ParameterLabelRangeDefaultUnitScaleNotes
mixMix0 to 10linear0 shows A, 1 shows B.

Mix (mix)#

Balance between A (0) and B (1).

Tips#

  • Drive Mix from a control lane through its @mix socket.
  • 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.

Patch: 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.
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.
Frame preview: Blend two picturesFrame “Blend two pictures” with 3 elements: text heading, knob Mix, screen Picture.BLEND TWO PICTURES0Mixscreen
Frame preview (static). Controls show their default values.

Open in TuneToys

  • 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.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close