I have some issues setting this up. OBS setup works fine but there seems to be an issue with the output. Everytime I'm opening the stream there are huge artefacts in the stream. Didn't make a screenshot yet but the stream looks something like this picture
https://i.stack.imgur.com/jAJYI.png
I tried different bitrates from 2500 - 20000 it stays the same. Maybe some problems with 120hz refreshrate?
Maybe someone could help me with this. thanks in advance.
Did you solve this issue?
I have the same problem. I'm using the following settings with 4500 kbps bitrate and 25 as keyframe interval:
udp://239.1.1.2:5000?pkt_size=1316
What I have seen is that by default ffmpeg writes to the socket as soon as new data is available. This leads to traffic bursts which cause the receiver buffer to overflow or underflow, which seems to be my case (see
https://brokenpipe.wordpress.com/2016/11/02/ffmpeg-constant-udp-output/). Sniffing ethernet output with Wireshark I can see the bursts and the bitrate raise up to 10000 kbps in I/O Graph.
Following recomendation in
https://brokenpipe.wordpress.com/2016/11/02/ffmpeg-constant-udp-output/, I set this config for ffmpeg in OBS Studio to set a constant bitrate to 4500 kbps :
udp://239.1.1.2:5000?pkt_size=1316&bitrate=4500000
But it seems it doesn't work. I set the bitrate to 2500000, even 256, but I dont get any change.
When I set udp://239.1.1.2:5000?pkt_size=1316&bitrate=4500000&ttl=15 I can see that ttl is changed in IP packets in wireshark from 16 (default) to 15, so it seems the command is right.
Can anybody help?
Thanks in advance.