Make a CasparCG HTML template
Open the studio and start from a template, from your own SVG drawn in Illustrator or Inkscape, or with your AI coding agent and the NoaCG CLI. Type the text, choose the look and the motion, and add the fields an operator will fill in.
Then export with the CasparCG target. You get one self-contained
.html file with its fonts and images inside it, so it needs no network on
the server. The package also has a FIELDS.md that lists each field's
id, name, type and default.
Every export screen has a Playout compatibility section with one line per system: whether the graphic renders as designed there, and which CSS needs which CasparCG version.
Three ways to play it
An exported file, from the client you already use
Put the .html file in the server's template folder (the
template-path in casparcg.config) and drive it like any HTML
template. <template-name> is the file name without
.html:
CG 1-20 ADD 1 "<template-name>" 1 "<templateData>…</templateData>"
CG 1-20 PLAY
CG 1-20 NEXT
CG 1-20 STOP
Field values go by id (f0, f1, …). FIELDS.md has
ready-to-paste payloads for that graphic.
The production's live output URL
A production is one show in NoaCG: its graphics, a rundown of cues and one output URL. Load that URL once on a layer and cue the graphics from NoaCG:
CG 1-20 ADD 1 "https://noacg.studio/output?production=<slug>" 1
After a network drop or a layer restart the page rebuilds what was on air without replaying the animations. Publishing a production needs a free account.
NoaCG Playout through NoaCG Bridge
A browser cannot talk to CasparCG directly. NoaCG Bridge is a small Windows program on the computer you operate from that does it for the browser. Run it, pair your browser with one click, enter the IP address of your CasparCG server and press Connect. Put on air then loads the production's output on its layer, so nobody types the command above.
The Bridge listens on this computer only. The CasparCG server can be any machine on the studio network, and nothing is opened to the internet. Chrome and Edge are recommended, Firefox works, and Safari does not let a web page reach a local program.
NoaCG Playout as a CasparCG client
With the Bridge paired, one rundown plays NoaCG's own graphics and what is already on the CasparCG server:
- Server templates. The picker lists the HTML templates in the server's folders. A template is taken with its field values, updated, stepped with Next and taken off. A template NoaCG exported brings its fields with it; for any other, type its field ids once.
- Clips and stills. A clip rolls, pauses, resumes, stops and can loop. Clips play on layer 10, below every graphic.
- Channels and layers. Name the server's channels and give each
item a channel and a layer. The rundown writes an address the way CasparCG does:
2-10is channel 2, layer 10. - All out takes off every server cue the rundown put up, on any channel, and leaves everything else on the server alone.
The list comes from CasparCG's media scanner. When the scanner is not running, the picker says so and still lets you type a template or clip name.
File names and large clips
CasparCG can fail on media whose names contain spaces or letters such as
ä, ø or å, in the file name or
in a folder name. When you pick such a file from the server, NoaCG shows the name to
rename it to: accents dropped, æ spelled ae, spaces
replaced by _. For example goal replay.mov becomes
goal_replay.mov.
A clip whose data rate is above about 500 Mbit/s, such as uncompressed video, is marked as a very large file. It may play more reliably transcoded to H.264, HEVC or ProRes 422.
With a NoaCG Bridge that offers it, the picker has a Copy as button that copies the file to the safe name beside it. The original stays, so cues that name it still play. NoaCG never renames, deletes or converts a file on the server.
Tested CasparCG versions
| Server | Engine | What it means |
|---|---|---|
| 2.3.x | Chromium 71 | The live output URL works with nothing to do. A design that uses newer CSS can render differently. |
| 2.4.x | CEF 117 | The oldest version NoaCG designs for. |
| 2.5.x | CEF 142 | Current. |
On a real CasparCG 2.5.0 with its media scanner running, the Bridge paired and published graphics went on air with one command, and a template and a still from the server's own library were cued, updated and taken off. The 2.3.2 install answered the same listing and one template round. Not yet checked: a Linux server, and Safari.
More
- The CasparCG guide in the docs: every step, channels and layers, and video with transparency.
- NoaCG Bridge on the Tools page: download and set up.
- OGraf: the EBU's open format for HTML graphics, which NoaCG also exports.