Playout, Graphics & Media Servers
CasparCG Server Control Software
Control for CasparCG Server via AMCP protocol.
Handlers run inside Fantago — the file is a plugin, not a standalone program. Start with the free 60-day trial.
How to connect CasparCG Server to Fantago
- Open the Fantago Dashboard and click Add Device.
- Pick the CasparCG Server handler from the device type list (internal id
casparcg). - Enter the IP address of your CasparCG Server, then set protocol TCP and port
5250. - Save and connect. Fantago starts polling the device and publishes its feedback variables, ready to use in panels, sequences and logic flows.
- Drag the actions below onto a panel button, a Stream Deck key, a schedule or a logic flow node.
| Protocol | TCP |
|---|---|
| Default port | 5250 |
| Handler version | 1.0.0 |
| Author | Fantago Bridge |
| Internal ID | casparcg |
Description & Instruction
Setup: Port 5250. Enable 'Persistent Connection'.
Command Integration Guide
This guide explains how to send specific commands to the CasparCG Server handler.
Generic Command Format (AMCP):
The handler expects AMCP commands as strings, automatically adding \\r\\n terminator.
PLAY 1-10 "clipname"(Play clip on channel 1, layer 10)LOADBG 1-10 "clipname" AUTO(Load background clip)CG 1-1 ADD 1 "templateName" 1 "{json_data}"(Add graphics)CLS(List clips)
Integration Examples (assuming device name "CASPARCG"):
Via HTTP GET:
http://<FantaGo_IP>:<HTTP_PORT>/sendTo/CASPARCG?cmd=PLAY%201-10%20%22clipname%22
Via TCP/UDP Listener:
CASPARCG:PLAY 1-10 "clipname"
Remember to URL-encode the command string for HTTP GET requests if it contains special characters.
CasparCG Server control — frequently asked questions
Does Fantago support CasparCG Server?
Yes. Fantago includes a ready-made CasparCG Server handler (version 1.0.0) that talks to the device over TCP, default port 5250. It is bundled with every licence and with the 60-day free trial — there is no per-device fee.
What protocol does the CasparCG Server handler use?
TCP, default port 5250. Fantago connects straight to the device over your production network, so no gateway, middleware or vendor software is needed in between.
Can I control CasparCG Server from a Stream Deck?
Yes. Every CasparCG Server action can be mapped to an Elgato Stream Deck key, to a button on a custom Fantago touch panel, to a timed schedule, or to a logic flow triggered by another device — including devices from a different manufacturer.
Can I modify the CasparCG Server handler?
Yes. The handler is a plain JavaScript file (casparcg.js) that you can download from this page, edit and drop back into Fantago. You can also write your own handler from scratch — see the Developer Guide.
Control CasparCG Server from a single interface
Fantago drives CasparCG Server alongside 50+ other broadcast, lighting, audio and smart home devices — from custom touch panels, an Elgato Stream Deck, a schedule or a logic flow. One-time licence, no subscription, runs offline.