Send an UDP Stream to a second PC using OBS

thadeshammer

New Member
Hi everyone!

This guide previously existed (in fact, it was removed at like 6:06AM this morning!) and - I'm not joking - I was about to start playing around with it. I recognize the guide was old but I have a need for precisely what it addresses: I do collaborative streams and right now I capture my collaborators cameras in Discord, but I really want them to be able to show me their own perspectives in game and if they just run their streams in OBS and push it to me, I get their full quality everything to put on Twitch.

I actually had the post open on my phone and managed to screen grab it there (cached version of it) but it'd be nice to share it with my collaborators so we can work together to get it working for us. Is there any plan to update this guide? If so, I'm excited! If not...I'm REALLY happy to dive in and help get it working! Would the author be willing to share the old content with me?

Thank you soooo much!!!
 

thadeshammer

New Member
Testing video only right now, if I direct it at a file with these settings (attached pic) it works, but if I flip to Output to URL, it doesn't complain or stop, it seems happy, but VLC pointed at that same URL isn't seeing anything.

1634922142522.png

The logs seem pretty happy, no errors of any kind during the test.

Code:
12:59:49.184: ==== Recording Start ===============================================
13:00:41.904: last caption line was sent 15.529706 secs ago, > 15.000000, clearing
13:01:01.893: last caption line was sent 15.664755 secs ago, > 15.000000, clearing
13:01:40.898: last caption line was sent 15.770147 secs ago, > 15.000000, clearing
13:02:42.898: last caption line was sent 15.055101 secs ago, > 15.000000, clearing
13:03:52.894: last caption line was sent 15.702285 secs ago, > 15.000000, clearing
13:04:01.470: Output 'adv_ffmpeg_output': stopping
13:04:01.470: Output 'adv_ffmpeg_output': Total frames output: 7574
13:04:01.470: Output 'adv_ffmpeg_output': Total drawn frames: 7580
13:04:01.470: ==== Recording Stop ================================================
13:04:01.470: recording_stopped_event

Both VLC and OBS have full in/out on the firewall table.

Anybody else ever wrangle with this? I'm just poking different things to see if anything changes.

Thanks for your time!!!
 

thadeshammer

New Member
ADDENDUM btw it may be obvious my experience in networking stuff is really minimal (I haven't done anything with it that wasn't wrapped in a library in years) so... I tried my PC's literal IP, localhost, and 127.0.0.1, all of which result in no stream. :(
 

norihiro

Member
I can see it's working with these settings.
  1. Setup first OBS instance to stream with mpegts on UDP as shown in my screenshot, then click "Start Recording".
  2. Open another OBS instance and create a new "Media Source", configure as my screenshot.
However, I'm concerning it's latency is slow, it takes several seconds.
 

Attachments

  • obs-udp-receiver.png
    obs-udp-receiver.png
    285.9 KB · Views: 5,394
  • obs-udp-sender.png.png
    obs-udp-sender.png.png
    97.1 KB · Views: 5,412
Last edited:
Top