Set Super Source Layout
atem_set_supersource_layoutConfigures all four Super Source boxes at once using layout presets or custom box settings, letting ATEM operators arrange inputs for side-by-side, PiP, grid, or three-up scenes.
Instructions
Set up a Super Source layout using a preset or custom box configuration. Configures all 4 boxes at once.
Presets arrange boxes with sensible defaults — just provide the input sources.
Args:
preset (string, optional): Layout preset name:
"side_by_side": Two equal boxes side by side (sources: [left, right])
"pip_bottom_right": Full-screen with small PiP bottom-right (sources: [background, pip])
"pip_bottom_left": Full-screen with small PiP bottom-left (sources: [background, pip])
"pip_top_right": Full-screen with small PiP top-right (sources: [background, pip])
"pip_top_left": Full-screen with small PiP top-left (sources: [background, pip])
"grid_2x2": Four equal boxes in 2x2 grid (sources: [topLeft, topRight, bottomLeft, bottomRight])
"three_up": Large left + two stacked right (sources: [large, topRight, bottomRight])
sources (array of numbers, optional): Input source numbers for each box position in the preset
boxes (array of objects, optional): Custom box configs (overrides preset). Each: { enabled, source, x, y, size, cropped, cropTop, cropBottom, cropLeft, cropRight }
ssrcId (number, optional): Super Source index (default: 0)
Examples:
Side-by-side cameras 1 & 2: preset="side_by_side", sources=[1, 2]
2x2 grid all cameras: preset="grid_2x2", sources=[1, 2, 3, 4]
PiP camera 3 over camera 1: preset="pip_bottom_right", sources=[1, 3]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxes | No | Custom box configurations (array of up to 4 box objects, overrides preset) | |
| preset | No | Layout preset name | |
| ssrcId | No | Super Source index (default: 0) | |
| sources | No | Input source numbers for each box position in the preset |