Set up output
setup_outputRoute a finished TOP to a display window, NDI stream, Syphon/Spout, recording, or Touch Out. Creates the matching output node and connects the source. Use as the final step after building a visual.
Instructions
Route a finished TOP to an output destination: a display window, NDI stream, Syphon/Spout, a recording, or Touch Out. Creates the matching output node ('out') under parent_path; for a window it points the Window COMP's winop at the source and sets its size, and for the other types it bridges the source in through a Select TOP (TD wires can't cross COMP boundaries). Typically the LAST step after building a visual — feed it the output Null from a create* tool or a create_layer_mixer. Returns the created output node path, the output type, the source path, and any non-fatal warnings (e.g. if wiring or window config failed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Path of the final TOP to output. | |
| output_type | No | Destination: 'window' (a Window COMP display), 'ndi' (NDI Out TOP network stream), 'syphon_spout' (Syphon/Spout Out TOP for other apps), 'record' (Movie File Out TOP to disk), or 'touch_out' (Touch Out TOP to another TD instance). | window |
| resolution | No | Window size for output_type='window' (720p=1280×720, 1080p=1920×1080, 4K=3840×2160); ignored by the other output types. | 1080p |
| record_format | No | File format for output_type='record' (sets the Movie File Out TOP's type); ignored otherwise. | |
| parent_path | No | Parent COMP path the output node (and any bridging Select TOP) is created inside. | /project1 |