logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
richardgatarski  
#1 Posted : Wednesday, February 5, 2025 11:39:03 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,841
Location: Stockholm

Thanks: 145 times
Was thanked: 298 time(s) in 251 post(s)
We frequently use an NDI Input for sources from presentation laptops and applications. Typically we name this Input "Laptop" and manually select which NDI source to use by right-clicking the Input.

Selecting the NDI source instead via the shortcut NDISelectSourceByName currently requires that we manually enter the source's name after finding it out by looking at the available NDI sources. For example from the list shown when right-clicking the Input, our by an external application like NDI Studio monitor.

But we would like to automate this with scripting and Companion. Hence it would be perfect if vMix's API contained a XML element with all available NDI sources. In addition it would be useful if the <Input> element also included the currently selected NDI source as an attribute. For example as ndisource="PC1 (Display 2)". This would also allow use to change the name of the Input to also include the NDI source (e.g. "Laptop - PC1 (Display 2)".

I believe this feature would also come in handy for other types of NDI Input uses, like NDI feeds from Teams. In effect offering us a way to build an NDI router with vMix that only uses the bandwidth required for the currently selected NDI source.

Side notes (v27 and v28):
1. When opening a Preset, vMix's NDI Inputs does NOT include a checkmark that shows the currently selected NDI source.
2. The shortcut NDISelectSourceByName does not change the Input's original name (manual selection of NDI source do change the original name).
3. We still have the problem that we cannot disconnect all NDI sources from an NDI Input (compare this FR)

nikosman88  
#2 Posted : Thursday, February 6, 2025 6:35:45 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 588
Greece
Location: athens

Thanks: 146 times
Was thanked: 79 time(s) in 75 post(s)
+1
Peter Berglund  
#3 Posted : Thursday, February 6, 2025 7:58:46 AM(UTC)
Peter Berglund

Rank: Advanced Member

Groups: Registered
Joined: 1/9/2019(UTC)
Posts: 85
Man
Sweden
Location: Stockholm

Thanks: 22 times
Was thanked: 5 time(s) in 4 post(s)
+1
WaltG12  
#4 Posted : Friday, February 7, 2025 12:16:50 PM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 337
United States

Thanks: 8 times
Was thanked: 51 time(s) in 42 post(s)
Wouldn't this be better suited as a data source so it can be configured optionally by those who need it, rather than constantly scanning for new NDI sources on the the network and potentially bogging down the API tracking them all?
richardgatarski  
#5 Posted : Friday, February 7, 2025 9:23:51 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,841
Location: Stockholm

Thanks: 145 times
Was thanked: 298 time(s) in 251 post(s)
Originally Posted by: WaltG12 Go to Quoted Post
Wouldn't this be better suited as a data source so it can be configured optionally by those who need it, rather than constantly scanning for new NDI sources on the the network and potentially bogging down the API tracking them all?

To begin with, Data sources feed Title Inputs, one source row at a time. This is not the way I want it for a smart integration with scripts and Companion. Also, the Data source scan interval is determined by a setting in the Data source manager, not "constantly".

Furthermore, I do not know how the NDI SDK keep track of available NDI sources or how much impact vMix would have on system resources when getting that info into the API. I think that's a question that the vMix developers can answer in order to assess the feasibility of this FR.

One way for vMix to limit the resource impact would perhaps be a new Settings/Option "Update NDI source data every xxxx milliseconds". Where 0 would mean "never", for those who does not need this information.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.