UDP Stream

I am using the CasparCG Playout to generate a channel with many video files. However, I can’t configure a multicast output (UDP). Does anyone know if this is possible?

I tried to change the carparcg.config file with this line:

				<system-audio />					
					<args>-format mpegts -vcodec libx264 -crf 0 -tune zerolatency -preset ultrafast </args>

But it doesn’t work. Could you help me?

Thank you.

Try moving the -format switch to the end of the argument string.

<args>-vcodec libx264 -crf 0 -tune zerolatency -preset ultrafast -format mpegts</args>

-format often assumes the rest of the properties up to the end of the line are switches for the format. The -format switch at the start of the line does sometimes work, for example when the standard client asks for a preview stream from the server.

Occasionally you need to specify a maximum packet size as well. The example below uses a custom command to add a stream to channel 1 on localhost:

ADD 1-1001 STREAM udp:// -codec:v libx264
-tune:v zerolatency -preset:v ultrafast -crf:v 25 -format mpegts

It can be received in VLC with a command udp://@