Create live source (input layer)
create_live_sourceIngest screen grab, NDI, camera, or video stream feeds into a normalized source COMP, exposing a Null TOP for mixing.
Instructions
Build a self-contained source COMP that ingests an external feed — screen grab, NDI, Syphon/Spout, camera, or a video stream (RTSP/SRT/WebRTC) — normalizes it to a target resolution, and exposes a named Null TOP output ready for the mixer, decks, or post-fx chain. The default 'screen_grab' is zero-permission and safe to test anywhere. 'camera' (Video Device In) is opt-in: it can hang TouchDesigner on a macOS permission modal until the user clicks Allow. NDI, Syphon/Spout, and video_stream are platform- and license-gated (NDI requires the NDI Runtime; Syphon is macOS-only, Spout is Windows-only). Par names for the source/sender/URL are probed defensively so a name that differs between TD builds becomes a warning rather than a hard failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the source system COMP. | live_source |
| parent_path | No | Where to build it. | /project1 |
| kind | No | Source kind. DEFAULT screen_grab — zero-permission, safe to test. 'camera' (Video Device In) can hang TD on a macOS permission modal, so it is opt-in. | screen_grab |
| source_name | No | (ndi/syphon_spout) The sender/stream name to receive. (video_stream) the URL (RTSP/SRT/WebRTC). (camera) the device name. Omit for the first available / a sensible default. | |
| resolution | No | Target resolution [w,h] (a Fit/Resolution stage normalizes the feed). |