Question / Help Obs ndi problem

pct

New Member
397/5000



I need help! I'm trying to use the streaming setup of a pc to play and another pc to stream, using obs and ndi. My problem is that I can not make the image of the game pc obs appear in the bos of the pc streaming. The two computers are connected to a switch, and this switch is connected to the router via cable. The switch is 1Gb / s, my router is 100Gb / s. Where is the problem?
 
can I ask if you are having non-responsive issues with obs on the rendering pc? if so, does it cause obs to crash while streaming? anywho your problem was happening to me also. i corrected it by adding obs to programs allowed to bypass my firewall (exemption list). let me know if it works? I believe it was the rendering pc obs that needed to be added.
 

Narcogen

Active Member
Would need logfiles from both PCs to know.

OBS is current on both machines, as well as the NDI runtime and NDI plugins?
 

pct

New Member
yes obs and ndi is runnig in the both machines, the same version of both. How i get the logfiles?
 

Narcogen

Active Member
16:18:23.019: Windows Version: 10.0 Build 17134 (revision: 228; 64-bit)
16:18:23.019: Running as administrator: false
16:18:23.019: Aero is Enabled (Aero is always on for windows 8 and above)
16:18:23.019: Windows 10 Gaming Features:
16:18:23.019: Game DVR: On
16:18:23.019: Game Mode: On

Windows is out of date and Game Mode is on. This hurts OBS performance and should be turned off. Check the link in the signature below for instructions.

I assume this is the game PC, not the streaming PC?
 

Narcogen

Active Member
If that's where you're trying to add the NDI source and it's failing because nothing shows up... then yes. Because the log of the gaming PC shows no errors:

16:18:24.368: [obs-ndi] hello ! (version 4.5.3)
16:18:24.368: [obs-ndi] Trying 'C:\Program Files\NewTek\NewTek NDI 3.8 Runtime\v3'
16:18:24.368: [obs-ndi] Found NDI library at 'C:/Program Files/NewTek/NewTek NDI 3.8 Runtime/v3/Processing.NDI.Lib.x64.dll'
16:18:24.395: [obs-ndi] NDI runtime loaded successfully
16:18:24.483: [obs-ndi] NDI library initialized successfully
16:18:27.926: [obs-ndi] starting NDI preview output with name 'JOGO'
16:18:27.933: [obs-ndi] 'JOGO': ndi output started
 

Narcogen

Active Member
The NDI feed has a bit of lag in it, but that wouldn't explain the streaming PC not seeing it.

16:48:06.083: Output 'NDI Main Output': Number of lagged frames due to rendering lag/stalls: 39 (2.6%)
16:48:06.094: [obs-ndi] starting NDI preview output with name 'JOGO'


It's also not recommended to use the registry hack, but to actually do the update and disable game mode. Just FYI.
 

pct

New Member
16:18:23.019: Windows Version: 10.0 Build 17134 (revision: 228; 64-bit)
16:18:23.019: Running as administrator: false
16:18:23.019: Aero is Enabled (Aero is always on for windows 8 and above)
16:18:23.019: Windows 10 Gaming Features:
16:18:23.019: Game DVR: On
16:18:23.019: Game Mode: On

do i need turn off game dvr? how do i that?
 

Narcogen

Active Member
Ok.

16:47:31.454: Loaded scenes:
16:47:31.454: - scene 'Cena':
16:47:31.454: - scene 'Cena 2':
16:47:31.454: - source: 'NDI™ Source' (ndi_source)
16:47:31.454: ------------------------------------------------
16:47:31.488: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
16:47:31.543: CalculateFileHash: Failed to open file 'C:\Users\bioma\AppData\Roaming\obs-studio\updates\whatsnew.json':
16:47:47.730: User Removed source 'NDI™ Source' (ndi_source) from scene 'Cena 2'
16:47:47.775: [obs-ndi] audio thread for 'NDI™ Source' completed
16:47:54.069: [obs-ndi] started A/V threads for source ''
16:47:54.069: [obs-ndi] A/V thread for 'NDI™ Source' started
16:47:54.071: User added source 'NDI™ Source' (ndi_source) to scene 'Cena 2'
16:48:03.337: [obs-ndi] audio thread for 'NDI™ Source' completed
16:48:03.339: [obs-ndi] started A/V threads for source ''
16:48:03.339: [obs-ndi] A/V thread for 'NDI™ Source' started


So you've added an NDI source to scene 2. When you examine the properties on that source, do you see your named source on the network? Because the above log shows a source being added and starts to start video, but it stops immediately.

I would expect to see log lines like this:

09:19:59.303: [obs-ndi] started A/V threads for source 'DESKTOP-7UQ04L3 (Hacki7 Main)'

This line includes both the name I gave the NDI source when I added it to my streaming machine (Hacki7 Main) and also the name I gave the source on the originating machine (DESKTOP-7UQ04L3).

The gaming machine log says you named the source "JOGO"

16:47:16.434: [obs-ndi] starting NDI main output with name 'JOGO'

But I don't see that the streaming PC is adding a source with that name.

Is it not available to choose from the list of sources in the properties of the NDI source on the streaming machine?

If you downloaded and installed the NDI Tools from NewTek's website, you should also have the Studio Monitor program that lets you monitor NDI streams on your network. Does that see the stream from the gaming machine? Are both machines on the same physical network, and configured to be part of the same subnet?
 

pct

New Member
On the first question when I go in settings of the source ndi, of streming pc, does not appear the game pc for me to select.
 

pct

New Member
I named the game source, in the game pc obs, in the ndi settings. plus it does not appear in the streaming pc obs
 

pct

New Member
I downloaded the plugin of ndi obs, as well as the ndi tools of the newtek site, but still not if you do what you asked for.
 
Top