Skip to content

Nodes that ship with Tato

The runtime's built-in nodes, the core nodes every project can use, and the first-party modules for cameras, audio, codecs, MoQ, WebRTC, overlays and virtual cameras, with their ports and settings.

Three sets of nodes ship with Tato:

  • Built-in nodes, native code inside the runtime: conversions between families, and the nodes that shape a graph. Their type starts tatolab.stream:.
  • Core nodes, shader and function nodes for numbers, colours, filters and compositing, linked into every project as imports/core-nodes.
  • First-party modules, Python packages with native code inside, that a project adds with uv add or from File › Marketplace… in Tato Studio: cameras, audio, codecs, MoQ, WebRTC and more.

The node catalog lists every type a stream can add, with its inputs, their types and defaults, and its outputs: Studio’s node search reads it, and so do agents, as streamlib://node-catalog.

Node Converts
ArrayToChannels One attribute of each Array frame (samples by default) into a Channels block, with the channel_names and sample_rate you give
ChannelsToArray Each Channels block into one Array frame
ArrayToImage One attribute of each Array frame (image by default) into a picture, in the texture format you give
ImageToArray Each picture into one Array frame
ChannelsToRecords Each Channels block into one Records message, each channel’s value under the key you give it
RecordsToChannels Each Records message into a Channels block of one sample per channel, from the keys you name
Node Does
GraphInput, GraphOutput The ports a stream offers when another stream places it as a subgraph, each named and of one family
SetVariable, GetVariable Hold a value under a name, and read it anywhere in the stream without a link. See Variables.
PreviousValue A number as it was at the last evaluation. A loop of number nodes closes through it.

Every project can add these, by types such as imports/core-nodes/core_nodes.filters:Pixelate. Most are shader nodes, which run on the GPU with no process of their own, or function nodes.

Category Nodes
Math Add, Subtract, Multiply, Divide, Power, Minimum, Maximum, Absolute, Modulo, Clamp, Remap, Lerp, Smoothstep, Step, Constant, Random, PerlinNoise
Logic Compare, Gate, Switch, Select, Trigger, Counter, SampleAndHold, HoldFrame
Animation Lfo, Timer, Lag, Ramp, Pulse, Speed, Envelope
Generators Gradient, RadialGradient, Noise, Checkerboard, Stripes, Circle, Rectangle
Colour Level, HsvAdjust, Invert, Monochrome, Threshold, Tint, Duotone, Posterize, Lookup
Filters Blur, Sharpen, EdgeDetect, Pixelate, Displace, RgbSplit, Vignette, ChromaKey, LumaKey
Composite Mix, Over, BlendAdd, BlendMultiply, BlendScreen, BlendDifference, Mask, Wipe
Transform Transform, Crop, Flip, Tile, Mirror, Kaleidoscope
Sources SolidColor, ImageFile
Audio Oscillator

Each input shows its type and its default on the node in Studio.

Module Nodes
tatolab-camera CameraSource
tatolab-testpattern TestPatternSource
tatolab-microphone MicrophoneSource
tatolab-speaker SpeakerSink
tatolab-h264, tatolab-h265 H264Encoder, H264Decoder, H265Encoder, H265Decoder
tatolab-opus OpusEncoder, OpusDecoder
tatolab-moq MoqGateway, MoqTrack, MoqTrackSend, MoqTrackReceive
tatolab-webrtc WhipPublisher, WhepPlayer
tatolab-virtualcamera VirtualCameraSink (Linux)
tatolab-browser BrowserSource
tatolab-rive RiveSource
tatolab-compositor AlphaOverCompositor

Each module’s nodes run in a helper process of their own, and move frames and samples on native threads: no interpreter sits in the frame or sample path.

Captures live video from a camera: V4L2 on Linux, AVFoundation on macOS, converted to RGBA on the GPU with no CPU copy.

Outputs video: RGBA frames, stamped with the moment the device captured them
Setting Default
device_id the first camera found A V4L2 device path on Linux (/dev/video0), or a camera’s unique ID on macOS, where the built-in camera comes first
max_width 1920 The widest frame size negotiated
max_height 1080 The tallest frame size negotiated

A device_id that can’t be opened is refused when the node starts. On macOS, a stream someone plays asks for camera access without waiting, and frames begin once it’s allowed; a stream the runtime re-opens on its own never asks, and the node is refused until access has been answered.

On Linux, CameraSource reads uncompressed NV12 or YUYV only: cameras that send only MJPEG, monochrome or raw Bayer aren’t read, and most USB 2.0 webcams send uncompressed HD at 5 to 10 frames per second. Lower max_width and max_height (640 × 480 usually runs at 30), or use a USB 3 camera; v4l2-ctl --list-formats-ext shows what yours offers. There are no exposure, gain, focus, white-balance or frame-rate settings: set those with v4l2-ctl before the stream plays.

Colour bars with a bouncing potato, drawn on the GPU, for a stream without a camera. Output video; settings width (1280) and height (720).

Capture from an input device on audio, and play audio to an output device, through PipeWire or ALSA on Linux and CoreAudio on macOS. Each takes a device_id and uses the default device without one. On a machine with no audio backend, the microphone produces silence and the speaker discards what it’s given. See Audio.

H264Encoder and H265Encoder take pictures on video and write encoded_video, one Annex-B access unit per message, with hardware encoding: Vulkan Video on Linux, VideoToolbox on macOS. The decoders take encoded_video and write video. OpusEncoder takes audio and writes encoded_audio; OpusDecoder reverses it. See Encode and save for their settings.

MoqGateway holds one connection to a relay and publishes one broadcast; MoqTrack declares one of its tracks; MoqTrackSend writes a port’s messages to a track; MoqTrackReceive reads a track of any broadcast at the relay. See Share between streams for every setting.

Send H.264 and Opus to a WHIP endpoint, and play them from a WHEP endpoint. See WebRTC.

Presents pictures on video as a camera other applications can select, while the node runs. Settings name and door (auto, v4l2loopback or pipewire). See Virtual camera.

Renders a web page offscreen with Chromium as pictures on video, width × height (1920 × 1080), over transparency when transparent_background is set. A Records message on data reaches the page as a tatolab:data event; each window.tatolab.publish(object) the page calls is one Records message on events; what the page plays comes out on audio.

Plays a Rive animation, riv_path, as pictures on video, with an optional artboard and state_machine, at width × height and frame_rate (60).

Layers up to eight pictures, layer_0 at the back, in premultiplied alpha, on the GPU, and writes the composite on video. Each frame on layer_0 yields one composite; the other layers hold their newest frame.

Anything not listed here is a node you write, or a package someone else published: a node from any installed package is added by its import path, and packages can list their nodes under the tatolab.nodes entry point so Studio finds them.