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
David_in_Philly  
#1 Posted : Monday, October 12, 2020 2:41:18 AM(UTC)
David_in_Philly

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2017(UTC)
Posts: 71
Location: Philadephia, PA

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Hi.

I have an urgent need to simultaneously control the Vmix start/stop record function on at least 10 PCs simultaneously (best case) or sequentially if necessary. If this app doesn't already exist, I'm happy to pay for its development (you keep all the rights), but it needs to happen within a few days.

I'm using multiple instances of Vmix to act as ISO recorders; particularly for Vmix calls over NDI (since Multicorder won't record those cleanly).

Preferably I could control any number of instances on any number of PCs on the network, but the initial minimum requirement is 10.
I need some visual feedback in the UI that the recorder in each instance of Vmix has started or stopped.
I'd like to run multiple instances of Vmix on some of the PCs.

Thanks in advance for your help.

Best,

David
doggy  
#2 Posted : Monday, October 12, 2020 3:15:54 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 2,396
Belgium
Location: Belgium

Thanks: 130 times
Was thanked: 424 time(s) in 351 post(s)
HTTPrequests that start/stop recording send to each individual pc's local IP (can be done in vMix script)
same for is recording checking by reading each individual PC's xml api and displa all in a title input

prob wont work with multiple instances on same pc (same IP)
thanks 1 user thanked doggy for this useful post.
David_in_Philly on 10/12/2020(UTC)
David_in_Philly  
#3 Posted : Monday, October 12, 2020 5:15:15 AM(UTC)
David_in_Philly

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2017(UTC)
Posts: 71
Location: Philadephia, PA

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks. I'll give it a look.
David_in_Philly  
#4 Posted : Monday, October 12, 2020 5:13:24 PM(UTC)
David_in_Philly

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2017(UTC)
Posts: 71
Location: Philadephia, PA

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Hey, Doggy.

Do you know how to turn an API request like this:

http://192.168.1.91:8088/API/?Function=StartRecording

into a Vmix Script? I can't seem to figure out how to target the ip address of the vmix instance that I want to control.

Any help would be appreciated.

Thanks.

-David
doggy  
#5 Posted : Monday, October 12, 2020 6:13:15 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 2,396
Belgium
Location: Belgium

Thanks: 130 times
Was thanked: 424 time(s) in 351 post(s)
adjust ip accordingly


Code:

Dim client = WebRequest.Create("http://127.0.0.1:8088/api/?Function=StartRecording")
Dim response = client.GetResponse()

thanks 1 user thanked doggy for this useful post.
David_in_Philly on 10/13/2020(UTC)
David_in_Philly  
#6 Posted : Tuesday, October 13, 2020 1:02:30 AM(UTC)
David_in_Philly

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2017(UTC)
Posts: 71
Location: Philadephia, PA

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, Doggy. That worked well.

Do you also know if there's a way to get the remote instance of Vmix to send a message back that will confirm that it's recording - so I can use that to trigger an activator (which I'll use to light-up a button on my Streamdeck)?
doggy  
#7 Posted : Tuesday, October 13, 2020 2:00:19 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 2,396
Belgium
Location: Belgium

Thanks: 130 times
Was thanked: 424 time(s) in 351 post(s)
Originally Posted by: David_in_Philly Go to Quoted Post
Thanks, Doggy. That worked well.

Do you also know if there's a way to get the remote instance of Vmix to send a message back that will confirm that it's recording - so I can use that to trigger an activator (which I'll use to light-up a button on my Streamdeck)?


with scripting
- The remote could do a check (API XML) if it's recording and send you a message (check "scripting for dummies" for examples ) by http request
- the main could check if the remotes are recording in a similar fashion as above (not tested due to no multi on lan to test )


Edit: can confirm the second one
David_in_Philly  
#8 Posted : Thursday, October 15, 2020 4:45:01 PM(UTC)
David_in_Philly

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2017(UTC)
Posts: 71
Location: Philadephia, PA

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Much appreciated, Doggy.

I'm clearly not a programmer, but I will check out the book.

I'm wondering, could I hire you to do some occasional scripting for me - like this one? Please contact me directly if that would work for you - or if anyone else is reading this and would like some occassional hourly or project-based scripting work, I'm interested.

Thanks to all!

Best,

David
Dominic  
#9 Posted : Friday, October 16, 2020 8:00:35 PM(UTC)
Dominic

Rank: Newbie

Groups: Registered
Joined: 10/16/2020(UTC)
Posts: 2
United Kingdom

We have this, we fixed the IP address of the machine with vMix running on it.

We set up a button on our streamdeck, not as a vmix button but a 'System' 'Website' and put the appropriate function request in there (make sure to mark as 'access in background'

http://192.168.*.*:8088/api/?Function=StartRecording

Users browsing this topic
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.