CasparCG Channel output options

Is it possible to send a CasparCG Channel to a HTML renderer? I would like to see the Caspar output as a HTML page which I can see on another computer on the LAN.

Could it work with an UDP stream that you view in VLC on your second machine?

Here is a thread about it.
FFMPG Stream + libVLC - Server version 2.3.3 - General - CasparCG Community Forum

CasparCG is fundamentally a pixel based video compositor which means your options for web display on the output side is UDP or HLS outputs via the ffmpeg consumer and a web player. If you are looking for animated graphics only, you could create HTML templates for your website that also render in CasparCG for some sort of mirrored operations. If you are just after a confidence monitor, a UDP multicast output would be the way as mentioned above.

Hi,

Firslty thank you for the replies much appreciated. We have been working with a little HTML caption program called SPX and that has a HTML server which outputs to a HTML page. I can pull that page into vMix or OBS and use it for captions. I was wondering if that kind of output was available with in CasparCG? At present I am using SPX to render 2 pages one goes to the renderer and 1 goes to Caspar which outputs via a decklink card but I would like to just use CasparCG.

That is possible. But for Caspar to show something on it’s output, you need a controller (client).SPX is just that.

There is the official client, available for download. It can send HTML pages to Caspar also.

Hi didikunz,

I think you might have misunderstood my post. I don’t won’t to send Caspar HTML pages to output I want Caspar CG to ouput a HTML page as a HTML page which I can view in a browser or as a browser input in OBS or vMix.

I am currently using SPX Client to control the output but I would like to just use Caspar CG Client and Caspar CG Server and not use SPX at all.

Caspar CG outputs (Consumers) do not list a HMTL renderer as an output option is there an alternative?

Aha, now I understand. No, CasparCG is made as a broadcast character generator, mainly used in TV broadcasting. The primary objective is outputing to SDI. But, as you said SPX can do that perfectly.

I still don’t understand what is wrong with just use SPX, as Caspar client can not do more.

The reason is that SPX appears to have more limitations in it’s HTML page construction. We need to have js logic embedded in the HTML page and SPX has less flexibility in the amount of js libraries it can access the major example being CasparCg can be used with nodejs but SPX can’t. Because of this I would have liked to use CasparCg client.

I don’t fully understand that.

SPX itself is running under node.js. The source code is free, so you could look, how they do the rendering of the output web page and use a similar approach in your own node.js program.

By the way: SPX has a Discord channel, where you could ask such questions. They are usually very help full.

Thanks didikunz.

I understand you want to insert Caspar’s output into OBS or vMix as an overlay, right? Or did I miss something?

The simplest way is to add an NDI consumer to your channel and it will be available as a source in any NDIcompatible program: vMix natively and OBS using a plugin.

You can also view it from other PCs on the network using NDI Studio Monitor.

CasparCG provides a preview consumer on port 5000. Is this a HTML page or some kind of streamed video channel.

If it is a streamed video channel can it be viewed with VLC and does it have an alpha channel that OBS or vMix could use.

I appreciate the advice about using NDI, I have used this but I would like to avoid NDI as it can be a issue with packet loss from network issues.

Where do you get that from? ChatGPT?

I have never heard of something like that. You could add a streaming output in your config, but it’s not here automatically.

No I’m looking at the preview screen CasparServer generates. On the titlebar at the top it has "Screen Comsumer [1] 1080p5000. I assumed the 5000 was the port number but is it actually the framerate in milliseconds?

Hahaha, ok, I see. Yes, it’s the frame rate multiplied by 100, so that it’s an integer number also in these NTSC based frame rates. 59.94 becomes 5994 for instance.