Select streams

Extract a contiguous range of streams from a video bundle.

  • Video
  • Since 0.2.0
  • select
  • router
  • bundle

Open in TuneToys

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

Select streams extracts a contiguous range of streams from a video bundle.

What it does#

It has no parameters. It takes a bundle of 1 to 8 streams on video and outputs the chosen range. The range is set the same way as on the audio Select channels: the node's channel settings name the first stream and how many streams to keep, and the range must fit inside the incoming bundle.

When to use it#

Use it to split one stream out of a bundle made with Combine streams.

Ports#

PortDirectionSignalLanes
videoInputVideoInferred from the cable
videoOutputVideoInferred from the cable

Parameters#

This node has no numeric parameters.

This node has no parameters.

Tips#

  • Streams count from 1.
  • 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#

Combine streams, Multiview, Switcher, 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. Pick the third stream

intermediate Teaches: video

One stream pulled out of a four-stream bundle.

Patch: Text layer “one” video output connected to Combine streams “ab” a input. Text layer “two” video output connected to Combine streams “ab” b input. Text layer “three” video output connected to Combine streams “cd” a input. Text layer “four” video output connected to Combine streams “cd” b input. Combine streams “ab” video output connected to Combine streams “all” a input. Combine streams “cd” video output connected to Combine streams “all” b input. Combine streams “all” video output connected to Select streams video input.
Connections as text
  • Text layer “one” video output connected to Combine streams “ab” a input
  • Text layer “two” video output connected to Combine streams “ab” b input
  • Text layer “three” video output connected to Combine streams “cd” a input
  • Text layer “four” video output connected to Combine streams “cd” b input
  • Combine streams “ab” video output connected to Combine streams “all” a input
  • Combine streams “cd” video output connected to Combine streams “all” b input
  • Combine streams “all” video output connected to Select streams video input
  • Streams count from 1, so firstChannel 3 with channels 1 is THREE.
  • Select keeps a contiguous range of the bundle.
Frame preview: Pick the third streamFrame “Pick the third stream” with 2 elements: text heading, screen Picture.PICK THE THIRD STREAMscreen
Frame preview (static). Controls show their default values.

Open in TuneToys

  • Combine streams Concatenate two video bundles into one, preserving every stream.
  • Multiview Tile a bundle of streams into one picture with labels, for monitoring.
  • Switcher Cut or transition between up to four sources; outputs the program. The face of the switcher widget.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close