DistroAV - Network Audio/Video in OBS-Studio using NDI® technology

DistroAV - Network Audio/Video in OBS-Studio using NDI® technology 6.0.0

EvenTS

New Member
There are several reasons Streamlabs Desktop has an NDI source. Everything is built in with nothing else to install. Furthermore, there is no plugin support, so there is no way to extend Streamlabs Desktop's functionality. Furthermore, what Streamlabs did to make this happen may have violated the OBS Project's, NewTek's or both entities' licenses. I can 't be sure without understanding the implications of the licensing models that OBS Studio and NewTek's runtime libraries are distributed under as well as copyright law. I'm not a lawyer, nor do I play one on TV.

That said, it is now time to set Streamlabs Desktop to the side as this forum is not about Streamlabs Desktop nor is it about open source software licensing and linking with proprietary runtime libraries.

There are some questions I have to ask:
  1. Did you install the plugin at all? (Kind of hard to have NDI support without the plugin installed.)
  2. Did you tell the plugin installer where to install the NDI plugin? Make sure it's pointed to the base of where your OBS Studio installation lives, e.g. C:\Program Files\obs-studio for a normal system install.
  3. Did you install the NDI runtime or tools? Either of these must be installed for the plugin to even function. You will not have an NDI source as an option for a scene source or the output under Tools or as a filter if neither are installed.
I would like to know what kind of answers you have to these questions.

Another note: If you correctly installed the NDI plugin but not the required runtime, OBS Studio will tell you this, giving you a link to download it.

Hope this helps.

--Katt. =^.^=
everything worked well until on February 20 I decided to reinstall Windows (22631.3155) and after that I stopped seeing NDI.
All installations were by default
NDI is conducted everywhere except OBS
 
everything worked well until on February 20 I decided to reinstall Windows (22631.3155) and after that I stopped seeing NDI.
All installations were by default
NDI is conducted everywhere except OBS

Again, assuming you (correctly) installed the NDI plugin into your OBS Studio installation, did you follow it up with the NDI runtime or the NDI Tools package? Either one is REQUIRED for the NDI plugin to even function.

--Katt. =^.^=
 

EvenTS

New Member
Again, assuming you (correctly) installed the NDI plugin into your OBS Studio installation, did you follow it up with the NDI runtime or the NDI Tools package? Either one is REQUIRED for the NDI plugin to even function.

--Katt. =^.^=
During installation obs-ndi-4.13.1-windows-x64-Installer , some of the files are placed on *С* part on *D* I copied everything to *C* and it worked
I noticed when recording the screen, ("D:\work progs\{autopf}\obs-studio") although there was no choice where to put it and only the disk was in the settings *C*
 

zamn

New Member
Hi peeps! Having a hang up with the plugin I can't seem to overcome... I can see my Camera source (iPhone) in Studio Monitor just fine but every time I attempt to add an NDI Source in OBS the Camera source does not appear in the list (nothing does). I've triple checked that the plugin is current and that I have the latest Runtime installed.

Anyone have some tips that might help solve this problem?

Screenshot 2024-03-23 182114.png

Screenshot 2024-03-23 182214.png
 

BolikexMachina

New Member
Hi peeps! Having a hang up with the plugin I can't seem to overcome... I can see my Camera source (iPhone) in Studio Monitor just fine but every time I attempt to add an NDI Source in OBS the Camera source does not appear in the list (nothing does). I've triple checked that the plugin is current and that I have the latest Runtime installed.

Anyone have some tips that might help solve this problem?

View attachment 102802
View attachment 102803
I have the same actually, im not able to see the full NDI, only the PREVIEWS of my machines! And of course it is enabled main and preview.

1711341278083.png
1711341324981.png



the problem is the preview doesnt stream audio!
 

hilc

New Member
Hi all. Hope this is the right place to post this question. I'm having trouble playing streams recorded with KiloView Recorder Software that are generated by OBS and re-encoded by NDI bridge to h.264. No player (VLC, ...) can handle the "UYVA" format.

In detail: I am using the OBS NDI Plugin to output NDI Streams of video captured by several video devices attached to a PC. I can see the streams on my network an can also record them using the KiloView Recorder Software. The recorded files play well with e.g. VLC. Now, to reduce bandwith, I did a test using NDI Bridge to re-encode the NDI streams to NDI-HX (h.264). I still can receive and preview those NDI-HX streams and record them using KiloViews Recorder Software. But this time, the recorded files cannot be played. VLC complains that it does not know how to handle the "UYVA" format. Actually I could not find any player or conversion tool being able to handle the recorded files because of that format. KiloView say they do not change the frame format in the stream, and just write to disk what is coming from the source. I actually did find references to that UYVA format in the OBS-NDI Plugin sources, so the plugin seems to generate that.

I would be very thankful if somebody could explain why this happens (I am not a video expert). Then, is there a way to configure the OBS-NDI Plugin to use a more widely recognized frame format rather than UYVA?

Thnaks for your support!
 

hilc

New Member
Hi all. Hope this is the right place to post this question. I'm having trouble playing streams recorded with KiloView Recorder Software that are generated by OBS and re-encoded by NDI bridge to h.264. No player (VLC, ...) can handle the "UYVA" format.

In detail: I am using the OBS NDI Plugin to output NDI Streams of video captured by several video devices attached to a PC. I can see the streams on my network an can also record them using the KiloView Recorder Software. The recorded files play well with e.g. VLC. Now, to reduce bandwith, I did a test using NDI Bridge to re-encode the NDI streams to NDI-HX (h.264). I still can receive and preview those NDI-HX streams and record them using KiloViews Recorder Software. But this time, the recorded files cannot be played. VLC complains that it does not know how to handle the "UYVA" format. Actually I could not find any player or conversion tool being able to handle the recorded files because of that format. KiloView say they do not change the frame format in the stream, and just write to disk what is coming from the source. I actually did find references to that UYVA format in the OBS-NDI Plugin sources, so the plugin seems to generate that.

I would be very thankful if somebody could explain why this happens (I am not a video expert). Then, is there a way to configure the OBS-NDI Plugin to use a more widely recognized frame format rather than UYVA?

Thnaks for your support!

We did further testing and re-encoded other NDI-Sources (multiple NDI-streams generated with "NDI Screen Capture" (not HX) on different Win 10 and Win 11 laptops; an NDI-stream generated with a Kiloview N4 HDMI-NDI converter) using NDI-Bridge (from NDI-Tools 6.0) to h.264 and saved the re-encoded streams to disk using the KiloView Recorder Software. All those files can be played without issue using VLC or can be used in Camtasia or PremierePro. Only the re-encoded streams originating from the OBS NDI-Plugin cannot be played with any available video player (e. g. VLC says "Codec not supported: VLC could not decode the format "UYVA" (No description for this codec)") or used in any editing software.

Is there any way to configure the OBS NDI-plugin to use another video frame format? We are evaluating OBS and NDI for use in education, so our students would certainly be very thankful for any help we can get :)
 

robles

New Member
Hello, I have had a problem with the plugin or I don't know if it is a configuration error, but I would like to know a solution.

The gaming PC is not detected by the streaming PC, however, the gaming PC does detect the streaming PC... I would like to know how to solve that, since the streaming PC is a low-power laptop for gaming. I hope someone can help me. If possible here or email: feik04@yahoo.com it would be very helpful <3

Psdt: I have obs 30.0.0 on both PCs, as recommended. In my opinion, the configuration is all good, but I don't know if I'm missing something, since as mentioned, the gaming PC does capture the streaming PC.)
 

leeroiyy

New Member
wanted to know if its worth it to get 2 extra ports of both PC and plug in to each athor ? so it can just send the NDI info over just 1 cable insted of going to modem then pc then back to modem ? is that doable ? and will help at all ?
 

Lawrence_SoCal

Active Member
wanted to know if its worth it to get 2 extra ports of both PC and plug in to each athor ? so it can just send the NDI info over just 1 cable insted of going to modem then pc then back to modem ? is that doable ? and will help at all ?
Could you use a cross-over cable direct from PC#1 to PC#2... maybe, but why? the ONLY reason I'd think to do this is i you don't have your own network (ex, on campus) and security or other settings on network are interfering (unlikely, but possible)... then .. maybe... with a bunch of caveats of it will take networking configuration outside the normal to get it to work (easy for someone who knows networking, not so much for others)

With typos, I'm no entirely sure the question
A typical modem usually only have one Ethernet port (and if multiple, it would be for link aggregation). Though the device maybe a modem, it would be more appropriate to call it a Gateway, if the device is BOTH a modem and an Ethernet switch for the LAN. In which case, unless known problem, I'd use the switch... then again... I don't trust ISPs. So I have a dedicated modem, and then my own personal router/firewall (business grade, not consumer), and then a separate switch behind that. And that is geeking out.. a bit.. granted :^) but even 25+ years ago with my first cable modem, I still had my own (consumer grade) router (with built-in Ethernet switch)... I recall doing cross-over cables back in the '90s... with more recent switches (this century), I've not had a reason/need
 
Could you use a cross-over cable direct from PC#1 to PC#2... maybe, but why? the ONLY reason I'd think to do this is i you don't have your own network (ex, on campus) and security or other settings on network are interfering (unlikely, but possible)... then .. maybe... with a bunch of caveats of it will take networking configuration outside the normal to get it to work (easy for someone who knows networking, not so much for others)

With typos, I'm no entirely sure the question
A typical modem usually only have one Ethernet port (and if multiple, it would be for link aggregation). Though the device maybe a modem, it would be more appropriate to call it a Gateway, if the device is BOTH a modem and an Ethernet switch for the LAN. In which case, unless known problem, I'd use the switch... then again... I don't trust ISPs. So I have a dedicated modem, and then my own personal router/firewall (business grade, not consumer), and then a separate switch behind that. And that is geeking out.. a bit.. granted :^) but even 25+ years ago with my first cable modem, I still had my own (consumer grade) router (with built-in Ethernet switch)... I recall doing cross-over cables back in the '90s... with more recent switches (this century), I've not had a reason/need

I mainly have separate networks (in my case, I use VLANs on my Cisco ethernet switch to keep them on separate collision domains) because Beam wants more bandwidth, preferring NDI where possible, falling back to Beam if needed like I did on a stream a couple of nights ago. My biggest issue with NDI in OBS is that there is no easy way (assuming it's even possible) to tell the sending OBS process (apart from maybe setting the interface in Settings, but I don't know) to use a different interface. I like keeping things separate here so then I don't saturate any links which have (other) mission-critical traffic on them.

--Katt. =^.^=
 

Lawrence_SoCal

Active Member
I too use VLANs, both on router/firewall, and PoE switch
Those of use with such networking knowledge, know how to work around these sorts of issues, when needed (usually).
In the case of OBS Studio sending out NDI (completely separate from receiving NDI video feeds, which is what I'd assume (maybe wrongly??) that most OBS Studio users are using NDI for, manual (command line) adjustment to Operating System routing table to handle interface for a given output might make sense, but still presumes a non-overlapping network space.

Then again, takes a fair amount of traffic to flood a 1GbE network, and if that is the case, I'd be more inclined to keep it simple with 2.5/5 GbE 802.11bz or even 10GbE (which I do have here at home, though no SFPs at the moment ... awaiting new workstation)
And then again, if OBS Studio traffic is mission-critical, that has a whole other set of implications from video processing and power redundancy, to physical path divergence even at ISP level, etc. True mission critical gets really damn expensive really quick.
I love the one commercial datacenter facility I we had space in ... where the guards included many ex-special forces, and were nation state gov't authorized to commandeer fuel trucks, if need be, to keep certain generators (facility segments) running.
 

picsnmore

New Member
Just to let you know:

I had problems installing the plugin (macOS Sonoma 14.1). After installing NDI Tools I installed the plugin, but it reported that it cannot find the lib and I have to install it. So I separately installed the lib from NDI, no change.

i figured out that OBS just don't had the rights to access the folder with the lib installed (/usr/local/lib). They were set to rwx/none/none (700), and since I am working as a normal user (not as admin), OBS could not access the folder. Logging in as admin and changing the rights to rwx/rx/rx (755) (sudo chmod 755 /usr/local/lib) solved the problem for me and OBS can work with NDI now.
 

Terry Locke II

New Member
NDI HX Camera on iPhone will not show in OBS. I dose i fact show in Studio Monitor. Issue on both my desktop and Laptop. Cannot get it to show up as and NDI Source. Any help? OBS is 30.1.2 windows 64 bit installed NDI 4.13.0 and will not work. Can see outside of OBS but not OBS.
 
NDI HX Camera on iPhone will not show in OBS. I dose i fact show in Studio Monitor. Issue on both my desktop and Laptop. Cannot get it to show up as and NDI Source. Any help? OBS is 30.1.2 windows 64 bit installed NDI 4.13.0 and will not work. Can see outside of OBS but not OBS.

Have you tried newer releases? 4.13.2 appears to have been recently released.

--Katt. =^.^=
 

Terry Locke II

New Member
Have you tried newer releases? 4.13.2 appears to have been recently released.

--Katt. =^.^=
Yes! Here is the deal.... Will not work on my desktop or my laptop but a laptop I have for use at the township I work for to videotape does... Same files only works on one computer and not the other 2. Don't know why. Please help.
 

TRYIRD7

New Member
Hi, I was trying to set up NDI to use my 2-PC setup to stream, it worked fine for the last month until recently it started to be laggy most of the time, this happens with the NDI OBS plugin and NDI Tools. I tried monitoring network usage with Windows Task Manager and it turns out that when I see the source going smoothly network usage is at around 150Mbps, while when I see it lagging it is far lower (20Mbps and below).

I don't understand what can cause this as I have both my PCs connected to the same router via ethernet cables (gigabit ofc).
this a video that shows the problem
https://youtu.be/5rTSbDZi45Y
Thanks in advance for your time and help :)
 
Top