Advice for multicast streaming using ffmpeg

streaming

#1

Hello, i am new in Casparcg world , and i like his power. Trying to make udp stream from ffmpeg consumer, but i have problems with config. Please,if someone using casparcg for this purpose, to post some sample config for ffmpeg consumer stream. Thank you


#2

AMCP command:

ADD 1 STREAM udp://192.168.0.255:9250 -format mpegts -vcodec libx264 -crf 0 -tune zerolatency -preset ultrafast

In casparcg.config:

<ffmpeg>
    <path>udp://192.168.0.255:9250</path>
    <args>-format mpegts -vcodec libx264 -crf 0 -tune zerolatency -preset ultrafast</args>
    <separate-key>false</separate-key>
    <mono-streams>false</mono-streams>
</ffmpeg>

For playback in VLC: udp://@:9250
For playback using ffmpeg: udp://192.168.0.255:9250