OBS-Studio: Send an UDP Stream to a second PC using OBS

OBS-Studio: Send an UDP Stream to a second PC using OBS

Doesn't work. Says "An unspecified error occurred while recording". Very informative!
I used VLC 2.2.8 to make this tutorial work.

Doesn't work with 3.x.x, it doesn't show the video stream at all.
Be sure to add udp://xxx.0.0.xx:xxxx?pkt_size=1316

Couldn't get the video feed to come through on VLC (2018) until I found this. :)

via https://obsproject.com/forum/threads/obs-studio-send-an-udp-stream-to-a-second-pc-using-obs.55379/page-3
This worked flawlessly for me. Great alternative to a RTMP server
For the sake of completeness, I want to mention that you can use a direct IP address for UDP (Multicast over WiFi can be very resource heavy), and to minimize your latency you will need to run your player with command line options:

$ ffplay -fflags nobuffer udp://@0.0.0.0:9999

$ mpv --no-cache udp://@0.0.0.0:9999

For MPV, you might also want to configure a shortcut to `drop-buffers` command in ~/.config/mpv/input.conf (https://mpv.io/manual/master/#input-commands-that-are-possibly-subject-to-change):

c drop-buffers
Thanks! I've been having issues with RTMP with Nginx. This looks like a great alternative.
Followed the instructions and it works perfectly
Thanks
Top