A Windows app that behaves like a Blackmagic ATEM Mini video switcher on the network. Software that talks to an ATEM through Blackmagic's switcher SDK (BMDSwitcherAPI) connects to it as if it were the real device — so you can develop, test and demonstrate ATEM software, such as the obs-atem OBS plugin, without a switcher on the desk.
And because Blackmagic publishes the SDK but not the protocol under it, the repository also holds the tool that worked the protocol out: atem-sweep, which records how a real ATEM Mini answers every safe SDK function and checks the emulator against those recordings.
TEST WITHOUT THE DEVICE
your software ──── Blackmagic SDK, UDP 9910 ────► ATEM Mini Emulator
(obs-atem, SDK apps) window · program picture · virtual webcam
core: the switcher's protocol, state, rules
▲
MAKE SURE IT ANSWERS LIKE THE DEVICE │ rules written from the
record: atem-sweep ─► SDK ─► recording proxy ─► real ATEM Mini │ recordings; every answer
verify: atem-sweep ─► SDK ─► recording proxy ─► emulator ─────────┘ compared with the device's
(every packet, both ways)
The emulator starts with the exact state a real ATEM Mini sends a new client (364 fields), handles about 110 commands with the device's own checks, clamps and quirks, and answers once per video frame like the device. In the window:
- Program bus — Black, Camera 1–4, Color Bars; cut, auto transition, T-bar and fade to black, frame by frame.
- Picture-in-picture — upstream key 1 as a DVE key, like the Mini: drag and resize it on the program picture (with the switcher's axes, a grid and snapping), or type size, position, border and crop.
- Macros — the switcher's 100 slots: record them in ATEM Software Control, through the SDK, or with Save Output; run, loop, rename, upload and download.
- Cameras — each a colour, a still image or a looping video.
- Virtual webcam — the program picture as "ATEM Emulator Virtual Camera" in OBS and other DirectShow apps.
- Several clients at once, every change sent to all of them, and a log of every command received.
Blackmagic's ATEM Software Control works with it too: it finds the emulator on the network and runs against it page by page: switcher and palettes, stills (upload, capture, media player), audio mixer, camera control, macros, settings, File → Save / Restore and the startup state.
Build and run (Windows, Visual Studio 2022, Qt 6 with Multimedia):
cmake -B build-gui -G "Visual Studio 17 2022" -A x64 -DQt6_DIR="<Qt>/msvc2022_64/lib/cmake/Qt6"
cmake --build build-gui --config Release
build-gui\Release\atem-emulator.exeThen connect your software to 127.0.0.1 (the obs-atem plugin: ⚙ → Manual
IP; the SDK: ConnectTo("127.0.0.1")), and ATEM Software Control by name:
File → Connection → ATEM Switcher Name → ATEM Mini Emulator. One thing
to know: when nothing answers at an address, the SDK quietly falls back to
an ATEM on the PC's USB.
More: docs/emulator.md — options, connecting clients, every control in the window, macros, the virtual camera.
The emulator is only useful if it answers like the device. atem-sweep drives a switcher through the Blackmagic SDK — every safe function the ATEM Mini has, with good and bad input — through a recording proxy that captures every packet both ways:
- against the real ATEM it makes a golden record: what the SDK reported and the switcher's exact bytes;
- against the emulator it runs the same tests and compares every answer with the golden record.
The same sweep runs in a window, every test a square coloured as it runs. Against the real ATEM it backs up the switcher first, puts every setting back, restores the stored macros and stills and checks they're identical.
Where it stands (2026-11-10): 1,881 tests; the emulator matches the real ATEM Mini in 1,858, and the rest are tests changed since the recording. Of the SDK's 1,264 methods, 630 are recorded, emulated and verified, 534 don't exist on the Mini, 5 are never called (they can't be undone), and 70 need a HyperDeck or a Blackmagic camera — which this project doesn't have.
More:
- docs/sweep.md — how the sweep and the proxy work, safety, running it (console and window), capturing another client, backups.
- docs/sdk-functions.md — every SDK function's coverage, the test groups, the hardware and excluded functions, the golden records, what a verification compares.
- docs/core.md — the emulator core: protocol, state, the rules the recordings showed, and its limits.
- docs/overview.md — how the pieces fit, the workflow from recording to emulator code (written with an AI coding agent), the app's architecture and the build.
| Folder | What |
|---|---|
| src/ | The emulator app: window, picture, virtual camera |
| core/ | The switcher itself, shared by the app and atem-emu.exe (the same switcher with a console) |
| sweep/ | atem-sweep and atem-sweep-gui, the golden records and the coverage lists |
| tools/asc/ | Scripts that drive ATEM Software Control, for checking the emulator against it |
| docs/ | The guides above |
| Project | Role |
|---|---|
| obs-atem | OBS Studio plugin — macro, PiP and Views panels; connects to a real ATEM or this emulator |
| ATEM Software Control | Blackmagic's app; works with this emulator (checked control by control with 10.2.1, 2026-11-10) |
| BMDSwitcherAPI SDK | Blackmagic's COM SDK, used by obs-atem and atem-sweep |
MIT — see LICENSE.


