Previous topicNext topic

Spout to NDI for Magic

Questions, comments, feedback, etc.
Post Reply
leadedge
Posts: 33
Joined: Fri Mar 06, 2015 6:47 am

Spout to NDI for Magic

Post by leadedge »

Hello Magic people.

The latest update of "Spout to NDI" for NDI Version 3.7 (http://spout.zeal.co/forums/topic/spout ... r-ndi-3-7/) includes sender and receiver modules developed specifically for Magic. Spout is not required for these modules and they will send from and receive to Magic itself.

with Eric's help they appear to work quite well. Keep in mind that setting the sender fps for NDI will also clock the Magic application. This will not have any effect if the sender fps is set to the same as Magic, usually 60 fps, but if it is lower you should select Asynchronous sending as well.
damstraversaz
Posts: 176
Joined: Tue Aug 26, 2014 11:22 am

Re: Spout to NDI for Magic

Post by damstraversaz »

that's really great ! A very useful option, thanks a lot Lynn for your work. I will try it as soon as possible !
Slavi
Posts: 54
Joined: Thu Mar 31, 2016 7:15 am

Re: Spout to NDI for Magic

Post by Slavi »

Hi,

I am sorry for the noob question, but what is different from the Spout we had before that ? What has changed and what can we do more with this improvement ?
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Spout to NDI for Magic

Post by Sadler »

NDI stands for Network Device Interface. It allows you to send video over a network so you can have one machine doing some heavy lifting of graphics then sending over a network to another machine to compose and output.
Slavi
Posts: 54
Joined: Thu Mar 31, 2016 7:15 am

Re: Spout to NDI for Magic

Post by Slavi »

Sadler wrote:NDI stands for Network Device Interface. It allows you to send video over a network so you can have one machine doing some heavy lifting of graphics then sending over a network to another machine to compose and output.
Oh! :oops: All clear now! Thank you!
leadedge
Posts: 33
Joined: Fri Mar 06, 2015 6:47 am

Re: Spout to NDI for Magic

Post by leadedge »

Spout To NDI Magic modules have been updated for Magic 2.2.
Modules for previous versions of Magic are also included in the distribution zip file.
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Thanks for making this. Works beautifully! :D
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

This stopped working for me. Tried on 2 different PCs. I get the plugins to show up in Magic but the receiver doesn't see any of my NDI sources (even ones on the same PC that show up using any other NDI software). Sender doesn't work either.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Spout to NDI for Magic

Post by Magic »

Hard to say. If NDI is working for other apps, then make sure Magic can get through your firewall. Or try testing Magic on a different computer. Etc. Eliminate variables until you whittle down the problem to its core, you know?
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Eric wrote:Hard to say. If NDI is working for other apps, then make sure Magic can get through your firewall. Or try testing Magic on a different computer. Etc. Eliminate variables until you whittle down the problem to its core, you know?
Yes I've tried all these things. One machine is a new build. I was thinking maybe the new Windows update borked it. If you tell me it works for you on the latest version of Windows then I'll keep troubleshooting.
The documentation is a little unclear about exactly which files to put where.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Spout to NDI for Magic

Post by Magic »

It works fine on my machine. Windows 10.0.17763

As for files, just make sure that Processing.NDI.Lib.x64.dll is in the same folder as the modules.
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Eric wrote:It works fine on my machine. Windows 10.0.17763

As for files, just make sure that Processing.NDI.Lib.x64.dll is in the same folder as the modules.
Ok I figured it out. If I don't have "Spout Output" checked then the NDI stuff doesn't work. If I enable it then all the NDI stuff magically works.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Spout to NDI for Magic

Post by Magic »

Ok, but that shouldn't be necessary at all. The NDI modules aren't really Spout-related except in name. They don't use any of the same technology that is involved in transferring video between apps using the graphics card.
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Eric wrote:Ok, but that shouldn't be necessary at all. The NDI modules aren't really Spout-related except in name. They don't use any of the same technology that is involved in transferring video between apps using the graphics card.
Ok. I don't know what to tell you. I uncheck it and immediately all the NDI senders and receivers stop working. I enable it and they all start working again.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Spout to NDI for Magic

Post by Magic »

Do you also have Use V2 enabled for Spout in the Magic Window Options menu?
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Eric wrote:Do you also have Use V2 enabled for Spout in the Magic Window Options menu?
Yes but it doesn't affect anything if I change it.
ToxMox
Posts: 20
Joined: Mon Jul 31, 2017 6:43 pm

Re: Spout to NDI for Magic

Post by ToxMox »

Eric wrote:Do you also have Use V2 enabled for Spout in the Magic Window Options menu?
I figured it out. Under Graphics Resolution in the Magic WIndow Options. If you enable Use size of Magic Window it breaks the NDI stuff unless the Spout Output is also enabled.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Spout to NDI for Magic

Post by Magic »

Ok that makes sense. So apparently the NDI modules require the graphics resolution to be fixed. Good detective work ;)
leadedge
Posts: 33
Joined: Fri Mar 06, 2015 6:47 am

Re: Spout to NDI for Magic

Post by leadedge »

Thanks to the methodical testing by ToxMox, I am pretty sure that I have found the problem in the receiver module.

Magic uses an OpenGL framebuffer which needs to be checked for the sender or there is nothing to send. The same check was included for the receiver, although the framebuffer is not used. It happens that a framebuffer is bound when Spout output is enabled and when graphics resolution is fixed. All the development testing was done with Spout output enabled so it always worked.

ToxMox has tested the modified receiver dll and it works OK, so I have updated Spout to NDI :

http://spout.zeal.co/download-spout-to-ndi/

Also the current modules are compiled for NDI version 3.7. Please use the NDI dll provided with the distribution because earlier or later versions will not work.

For future reference, if anybody has problems with these modules then either send me a PM from this forum or post on the Spout forum. Otherwise I don't get any notification.

Cheers to all.
leadedge
Posts: 33
Joined: Fri Mar 06, 2015 6:47 am

Re: Spout to NDI for Magic

Post by leadedge »

Quick rebuild for the latest NDI Version 3.8. Same download file name. As before, use the NDI dll provided with the distribution.
LazerCatcher
Posts: 1
Joined: Sat Feb 05, 2022 12:36 am

Re: Spout to NDI for Magic

Post by LazerCatcher »

Hello, I am having huge difficulties getting Magic to show up on my Spout to NDI. This software is not recognizing a sender at all. It works perfectly fine on my desktop but does not work at all on my laptop with almost identical specs.

I have tried to put the files in the correct order and tried several different suggested steps on github and within this forum. Of course I have tried uninstalling and reinstalling both softwares several times.

Any clue what it could be?
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Spout to NDI for Magic

Post by Sadler »

Old/conflicting paths?
Wrong version of NDI installed?
Network issues?
Tested with different host/client?
Using the up-to-date Magic NDI plugin?
Have you tried using an older version of plugin/NDI?
Valis
Posts: 21
Joined: Thu Feb 11, 2021 6:37 am

Re: Spout to NDI for Magic

Post by Valis »

Is it trying to use a network adapter that isn't connected? NDI is a bit easier to configure, I can't recall if Spout2NDI picks up any changes from the configuration app that ships with the distro version of Spout. Also not clear from the post what platform (mac/pc/linux) you're using...
Post Reply