One camera, many destinations
Apply a look and an overlay to your camera once, then use the result in video calls, send it to a WebRTC endpoint, and record it, without chaining apps that each grab the camera. For streamers, teachers and small productions.
You want your camera to look a certain way, then go to several places: a video call, a live service, a recording at better quality than the call. Usually that means a chain of apps, one applying the look, another capturing its window or a virtual camera, a third recording, and each one change away from breaking the others. And only one of them can open the camera.
With Tato, one stream owns the camera, the look and the overlay, and offers the result to everything else: as a camera other apps can pick (on Linux), as WebRTC to a live service, and as a file.
CameraSource ─▶ Grade ─▶ AlphaOverCompositor ─┬─▶ VirtualCameraSink ("My Camera") ─▶ Zoom, Meet, OBSBrowserSource (overlay page) ────────┘ └─▶ H264Encoder ─┬─▶ WhipPublisher ─▶ your live serviceMicrophoneSource ─▶ OpusEncoder ───────────────────────────────┘└─▶ H264FileThe stream
Section titled “The stream”Add the modules from File › Marketplace… in Tato Studio, or from a terminal:
uv add tatolab-camera tatolab-browser tatolab-compositor tatolab-virtualcamera tatolab-h264 tatolab-opus tatolab-webrtc tatolab-microphone- The look is a shader node of your own, such as
SoftVignettefrom GPU effects, or a chain of core nodes from the Filters category. Each runs on the GPU, on every frame. - The overlay is a web page:
BrowserSourcerenders itsurloffscreen with Chromium, at the size you give it, over transparency whentransparent_backgroundis set. Draw a lower third, a logo or a clock in HTML and CSS. A Records message on itsdatainput reaches the page as atatolab:dataevent, so another node can change what it shows. AlphaOverCompositorlayers up to eight pictures, back to front: the graded camera onlayer_0, the overlay onlayer_1.- The destinations read the composite:
VirtualCameraSinkpresents it as a camera,H264Encoderencodes it once for bothWhipPublisherandH264File.
The lower-third example in the streamlib repository is a complete version, with a Rive animation as a second overlay.
Use it
Section titled “Use it”- Set up the virtual camera once, on Linux: Virtual camera explains the one command.
- Tune the look in Tato Studio, with the compositor’s
videooutput open in the Node visualizer. Change a shader node’s inputs on the node and the picture follows, with nothing reloaded, so you can tune during a call. - Leave it running. The project keeps playing after you close Studio’s window, as long as the runtime runs. Choose My Camera in your video app’s camera settings. While it plays, the webcam is in use and its light stays on;
tatolab stopfrees it. - Go live by setting
WhipPublisher’s endpoint from the runtime’s environment, as WebRTC shows.
Today’s limits
Section titled “Today’s limits”- Virtual cameras are Linux only. On a Mac, the processed picture can’t reach Zoom, Meet or OBS; you can still watch it, record it and send it over WebRTC.
- USB webcam frame rates on Linux.
CameraSourcereads uncompressed video only, so most USB 2.0 webcams deliver HD at 5 to 10 frames per second; their faster modes are MJPEG, which isn’t read. Check yours withv4l2-ctl --list-formats-ext, lower the size, or use a USB 3 camera or an HDMI capture device. - No RTMP, SRT or NDI. For a live service that accepts WHIP, use
WhipPublisher; it doesn’t reconnect if the session drops. Other transports need a node you write. - No switcher or background blur built in. A switcher is a node with several inputs that forwards one; blur needs a segmentation model in a node of yours.
- The recording is raw H.264. Put it in a container afterwards with
ffmpeg -i recording.h264 -c copy recording.mp4.
Related guides
Section titled “Related guides”- GPU effects: write your own look.
- Virtual camera: setup and troubleshooting.
- WebRTC: publishing to a WHIP endpoint.
- Encode and save: the encoders, and saving what they make.