vMix Forums
»
General
»
General Discussion
»
API to run Overlay doest work. Please help
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
Hi everyone, Sorry I'm new here. So, I have a preset of vMix that contains: Input 1 = VIDEO Input 2 = vMix call video Input 3 = Still Image (Logo) I wanna schedule auto show the logo on my vMix video output, using .bat file: start http://192.168.x.xxx:8088/api/?Function=OverlayInput1&Input=3 but when I run that .bat, it's doesn't overlay the Input 3, instead overlay Input 2. What's wrong with the code? Thank you.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2014(UTC) Posts: 1,837 Location: Stockholm
Thanks: 144 times Was thanked: 297 time(s) in 250 post(s)
|
you need to specify the Value
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
I've tried ?Function=OverlayInput1&Value=Input&Input=3
and it's still overlays the input 2.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: richardgatarski you need to specify the Value not for the overlay function Richard
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: arekkipli Hi everyone, Sorry I'm new here. So, I have a preset of vMix that contains: Input 1 = VIDEO Input 2 = vMix call video Input 3 = Still Image (Logo) I wanna schedule auto show the logo on my vMix video output, using .bat file: start http://192.168.x.xxx:8088/api/?Function=OverlayInput1&Input=3 but when I run that .bat, it's doesn't overlay the Input 3, instead overlay Input 2. What's wrong with the code? Thank you. try using Curl Code:Curl "http://127.0.0.1:8088/api/?Function=OverlayInput1&Input=3"
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
Originally Posted by: doggy Originally Posted by: richardgatarski you need to specify the Value not for the overlay function Richard checked the shortcut function tabel and yes I didnt see any Value in Overlay, except multiview move or something. For now I already got my problem solved, though I wish someone would reply for the solution :) What I did: 1. Assign shortcut on vMix to Overlay the logo. 2. Create vbs script to press the key 3. Create bat file to automatically run the vbs.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
Quote:try using Curl Code:Curl "http://127.0.0.1:8088/api/?Function=OverlayInput1&Input=3"
Tried this curl too, the result still the same. (vMix overlays the Input 2)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: arekkipli Quote:try using Curl Code:Curl "http://127.0.0.1:8088/api/?Function=OverlayInput1&Input=3"
Tried this curl too, the result still the same. (vMix overlays the Input 2) Well it worked here
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
Originally Posted by: doggy
Well it worked here
Thank you so much. Maybe something wrong with my vMix. I'll try later on another PC. anyway, what version of vMix You use?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: arekkipli anyway, what version of vMix You use?
what's yours ?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/5/2022(UTC) Posts: 11 Location: east java Thanks: 2 times
|
Ohhh I'm sorry, I missed to add "" <-- this quote mark.
It works! Thank you so much. Appreciated.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: arekkipli 25.0.0.29 Lisence?
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
API to run Overlay doest work. Please help
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close