FIXED: Lag in NDI input

Hi,
We are having issues with NDI in top. We built a network in which multiple ndi cameras switch for a livestream. The cameras we are using are from iphones with the ndi app and TD is installed in a windows PC. In touchdesigner seems to be a soft lag that is not visible from the ndi studio monitor app. We tried to change the bandwidth from high to low and nothing changed. Considering the fact that we are going to stream live on twitch, how can we solve this issue to avoid further problems?
tx
(we’re running TD on Windows, tried on a MacOS and the problem got solved
Suggestions to optimize it on win?)

2 Likes

Reviving, following and hoping that someone can provide more information, because NDI in TD has been giving me headaches for years now.

1 Like

any solution on this? im going nuts too lol

Sorry for not responding to this post before. Can you tell me how much lag you are experiencing, and what resolution you are sending? Is the stream NDI or NDI/HX?

thank you for that answer, its NDI, right now testing on 1 or 2 feed of 1920 by 1200. one or the other dont seem to change anything. Network wise, ive looked into all our possible settings at hand. Ive noticed that this lag is NOT present when using the NDI Tools to display both my feed. Network perfos gets significantly lower when using 2 feed on NDI Tools but no drops as seen on touchdesigner. The lag looks like NDI catching up on a buffer of some sort. Slowly loses pace, till freeze, and coming back.

tested again, and ndi tools still catches up two feed way more steadily. no fps drop seen

Can you give me more details about your source. What is sending the feeds? If i was to try to reproduce your setup exactly as you have it, what would I need to do?

Its TD to TD, right now testing with two animated noises for debugging but 8bit feed regardless, set un skip frame to avoid stalls. The network setup is a bit particular but its a Unifi router, thoroughly explored each settings, no limit or whatsoever. The same setup works better at home (which is another router, but also another PC). the fact that tells me its 99% sure not the router is the fact that NDI tools works well. I feel maybe that its windows throttling TD at time but that would be weird. I tried executing as admin, as well as went through all the settings of my ethernet adapter. Hard to see exactly what features should or shouldnt be disabled, but I overall managed to get it a tiny bit better with those adjustments without really fixing the issue. The network isnt supposed to be especially clogged either.

Thanks, and what kind of lag are you seeing. half a second? a second?

heres a quick upload, very typical of what im experiencing since the beginning of debugging this issue

sorry, replying cuz I suppose you havent got a notif. I’d really like this problem to be handled as I find it quite hella weird. Also, I am running a slightly older build but tried the same with the most recent build without success

Yes, this is high on my list to try to reproduce and look at. I have a few things to get through first.

Thanks for your patience on this one. It took a bit to reproduce but I think I have this fixed now. Fixed in builds 2023.12312 and later.