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
nowski  
#1 Posted : Friday, December 16, 2022 7:28:08 PM(UTC)
nowski

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 135
Location: UK

Thanks: 15 times
Was thanked: 11 time(s) in 9 post(s)
Hi there, a great workaround for running a script or sortcut at startup (or so I thought)
use a browser input to point to http:/127.0.0.1:8088/api/Function=ScriptStart&Value=scriptname where script has:
API.Function("MasterAudioPluginShow",Value:="2")
To open a loudness meter - this works I have tested, however the browser doesnt load the script until it it active (eg sent to program)
I understood that browser inputs would load on startup.

I am sending the plug-in window to the VMIX call multiview via a desktop capture to enable callers to see their audio level. But as the browser doesnt appear to run the script at statup making the window appear, the desktop input cant find that plugin window and then has to be setup manually each time. RI am trying to reduce the number of steps a guest producer or host has to go through to run the show by automating as much as I can.
As far as I can see I can't call the API to set a desktop capture input to a specific window either.

Any ideas how to acheive this automatically?

I'm on 25.0.0.31 x64
nikosman88  
#2 Posted : Friday, December 16, 2022 8:11:16 PM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Do you have something that can do a overlay in or transition in before you run the script? If so you can use this input as trigger. In overlay in or transition in -->script start
nowski  
#3 Posted : Friday, December 16, 2022 9:50:48 PM(UTC)
nowski

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 135
Location: UK

Thanks: 15 times
Was thanked: 11 time(s) in 9 post(s)
Yeah trying that, but it seems that the browser input is caching or something, only seems to trigger the script when first inputting the URL, or a right click page reload.

Ideally I need to load the vmix session, browser input triggers plug-in window open (either by overlay activate or calling the script) then the desktop input will see the window and it will work.

As it is, the browser does not load when vmix session loads
nikosman88  
#4 Posted : Friday, December 16, 2022 10:03:57 PM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
But if you have the ability to do this by trigger you dont need browser input/reload. Simply make a trigger overlay/transition -->script start-->name of the script to start directly your script without need of browser input. You can even see if possible to start directly from trigger the plugin
nowski  
#5 Posted : Friday, December 16, 2022 11:23:40 PM(UTC)
nowski

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 135
Location: UK

Thanks: 15 times
Was thanked: 11 time(s) in 9 post(s)
Yes, but this needs to happen on load of VMIX document. If it requires user interaction then the desktop capture input will need to be manually set each time. If the Plug-in window is not open, then it will just randomly select whatever there is (often the entire VMIX UI) My intention is:

Load document - browser fires off the call to open the plug-in window immediately, so that when the desktop input is looking for its window, its there and doesnt need manually setting up each time the document is loaded. Which is what currently happens.
I dont think there's a way to set the input to NDI/desktop capture, then specify the window to grab?

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.