Question / Help UDP Streaming Computer Bug

darthclide

Member
Buy a gigabit switch for connecting your streaming and gaming computers together.
Plug the two computers in to two of the ports and plug a third port of it into the router.
Why should I need a switch if I am connected directly with 1Gbps speed?


Your connection between computers is only 100 mbits?
NDI for optimal use of quality requires a local network connection of up to 400 mbits, depending on the resolution and quality.

NDI works only in the local network, the signal is not sent to the internet.

From what you write, you have 3 points through which the signal has to pass, game computer, server and streaming computer, NDI will connect directly from the game computer to the streaming computer short track.

I am always able to connect NDI source with NDI Output, but sometimes it happens that the NDI Output signal is not detected, then just change the NDI Output name.

When it comes to desynchronization is a big problem, I do not know what is caused, just refresh NDI Source and everything goes back to normal, I assume it is a problem with OB S and support for buffering video.
I often use rtmp sources, after 30 minutes I can see the differences between the sound and the image, I noticed that the rtmp stream is not reproduced with a constant speed (fps) as if the information received eg 25 fps when connecting, the timer is set to 40 ms if the system is 40 ms late, the frame is not decoded and in the next cycle we have a 1fps shift, such micro-jams, if several are collected, visible desynchronization appears.

It is a pity that you can not set the number of frames in advance, eg if the source is live, I know that I have 25 fps, I set 30 fps, the system receives frames at the appropriate 40 ms rate, and the playback tries to keep up.

No.... I am saying that my computers have 1Gbps between them, and this should be where NDI sends traffic. But I can't specify where NDI sends stuff which is part of the problem. The bigger problem is as you mentioned: OBS developers couldn't care less about making RTMP servers work perfectly. This is only a good business decision, because very few Twitch streamers care about having the best quality stream possible. I have run into a few developers of RTMP packages that say their is nothing wrong with their modules and that it is up to OBS developers to get things working properly.
 

darthclide

Member
Also, I am looking at bug reports on the NDI github, and it is still broken as of 1 month ago. Why is it so hard to get an 8 hour 60fps stream that never gets out of sync, and never starts to stutter?
 

Tomasz Góral

Active Member
My biggest problem now is, if OBS loses the Media Source connection (stream rtmp) and resumes it, sometimes it receives the image and sound and everything is ok, sometimes the image is standing and there is sound, and in another case is the picture is sound (Audio Monitoring is playing properly ) and the stream emitted for recording I have micro silence intervals for literally 80-200 ms), then I am forced to restart OBS.

And for another case, after connecting to the rtmp stream, OBS sends silence, the audio channel with quality drops from 173kbits to 3kbits.

Is it so hard, i work for my family and i now how get of 8h free time to write.

You must remember 60fps, every new frame generate to 16,66 ms there is very little time left.
 

darthclide

Member
I think your problems are more specific than mine, but they stem from the same problem. As I said, until OBS developers finally admit that there is a problem instead of saying "hurr durr, go get a capture card", we just have to deal with it I guess.
 

darthclide

Member
Yep, I just spent the last 30 minutes trying OBS with NDI, and SLOBS with NDI. When I tried it last year, it would have massive 1-2 second pauses. This time around, the only problem are micro stutters at random. This wouldn't be such a big deal except for the fact that the audio stutters at the same time the video does, so it really disrupts the experience. This is of course setting aside the fact, that I am one of the few streamers who won't settle for less. So even if the audio didn't skip, I won't tolerate 20ms jumps just because the underlying obs libraries are broken.

On a sort of positive note, it appears that NDI does not have the pixelated preview that I am getting with MonaServer. So it appears this Windows 10 update really messed things up. This is my only guess.

As it stands, I will keep using MonaServer, because my only problem is it gets really bad stutter after about 1-2 hours of streaming. (much better than micro stutters every 10 seconds). The point of this thread however, is to find out if OBS can fix this, because I don't want to sit on an old version of Windows forever.

FYI, I tried nginx last week, but I have no idea how to get the audio to work. I don't remember having this problem before, but with the 1000 versions bundled with the rtmp module that don't even work (server doesn't even start), it could just be that nginx is forever lost for WIndows 10 users.
 

darthclide

Member
So I was so tired after dealing with OBS being stupid, that I didn't have a full Sunday to work on it. However, on Monday I started using NVENC to send the signal from my gaming computer to my streaming computer. Things seemed perfect until the streaming computer preview started stuttering at random intervals. I put up with this because it happened maybe once every 30 minutes. But then every 30 minutes the OBS preview on the streaming computer would turn completely grey + freeze (Similar to a graphics card dying and the screen going fuzzy). Again, I thought "oh well, at least it is 60fps most of the time". But starting today I couldn't even stop the stuttering and gave up and played HOI 4. After this, I started up War Thunder and somehow magically it had fixed itself. But then after 4 hours streaming it started stuttering again... Seriously, what is so messed up with the code, that it randomly works and randomly doesn't? Reminder: I am on a 1.0 Gbps connection between the computers and I am only using 40,000 kbps bitrate.
 

darthclide

Member
And even better is when the previews on both computers show smooth 60fps, but then when I watch the stream playback it is stuttery....
 

darthclide

Member
Also, apparently when OBS preview is in a smaller window (not fullscreen) it shows the stutter much better than when you are in fullscreen. Because in fullscreen you can only see little "hiccups" every 2 seconds, instead of full on "looks like my stream is 30fps" stutter.
 

darthclide

Member
I might have found a janky work-around. Is there a simple way to script an event that stops streaming to the rtmp server, and then starts again? As well as a script that disables a source and then enables it again. All of this on a timer?
 
Top