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
clair  
#1 Posted : Friday, May 3, 2024 11:27:01 PM(UTC)
clair

Rank: Member

Groups: Registered
Joined: 5/30/2014(UTC)
Posts: 15
Location: tokyo

Thanks: 6 times
I’m using vMix 26.0.0.45.
Does anyone know how to retrieve the name of the currently active source via the API or something similar?

richardgatarski  
#2 Posted : Saturday, May 4, 2024 4:50:11 AM(UTC)
richardgatarski

Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 297 time(s) in 250 post(s)
Yes.

We also know how to use Google. Some people even know how to prompt ChatGPT for vMix scripting solutions.
Roy Sinclair  
#3 Posted : Thursday, May 9, 2024 8:15:02 AM(UTC)
Roy Sinclair

Rank: Advanced Member

Groups: Registered
Joined: 11/23/2020(UTC)
Posts: 166
United States
Location: Wichita

Thanks: 10 times
Was thanked: 23 time(s) in 19 post(s)

The answer you are looking for can be found in the Scripting For Dummies thread but more precisely it's really script to read the vMix Status XML page http://127.0.0.1:8088/api which you can bring up on the PC running vMIX. Many of the scripts in that thread read that XML from vMix and should provide examples of how to find all manner of things you might want to know.

thanks 1 user thanked Roy Sinclair for this useful post.
clair on 5/11/2024(UTC)
clair  
#4 Posted : Saturday, May 11, 2024 3:21:10 PM(UTC)
clair

Rank: Member

Groups: Registered
Joined: 5/30/2014(UTC)
Posts: 15
Location: tokyo

Thanks: 6 times
Originally Posted by: Roy Sinclair Go to Quoted Post

The answer you are looking for can be found in the Scripting For Dummies thread but more precisely it's really script to read the vMix Status XML page http://127.0.0.1:8088/api which you can bring up on the PC running vMIX. Many of the scripts in that thread read that XML from vMix and should provide examples of how to find all manner of things you might want to know.



Thank you very much. So, I can retrieve XML at http://127.0.0.1:8088/api. It's so simple that it didn't occur to me in reverse. There's a Japanese saying, "灯台下暗し" (literal translation: "Dark under the lamppost"), and it's exactly like that.
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.