vMix Forums
»
General
»
General Discussion
»
Howto "trigger" input as overlay for example every 60 seconds?
Rank: Advanced Member
Groups: Registered
Joined: 2/14/2016(UTC) Posts: 117 Location: Oss Thanks: 12 times Was thanked: 15 time(s) in 14 post(s)
|
Don't know if it is possible, but I want an input as overlay for example every 60 seconds. Now I have created a shortcut for this, but when I don''t push that button the input is not shown as overlay!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Hi
I don't think it's possible with vMix only, but I can see 2 ways at least
- vMixUTC can do it by default with no scripting - you can write a script (any language) that will do it
Both solutions underlies the use of a timer and sending commands to vMix API
Guillaume
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 2,645 Location: Canada Thanks: 33 times Was thanked: 506 time(s) in 475 post(s)
|
@ Mari The "Trigger" feature will work for this, BUT you would have to set-up a "Trigger" for each instance (i.e. an hour show would require a series of 60 "Triggers"), not exactly convenient or practical, but possible. I have not played with the "3rd Party Software" vMixUTC, but I would seriously consider taking DWAM's advice (he has some extensive experience with it) and look into your options there if you are looking at an extended or continuous use of such 'automation'. Ice
|
1 user thanked IceStream for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/14/2016(UTC) Posts: 117 Location: Oss Thanks: 12 times Was thanked: 15 time(s) in 14 post(s)
|
thnx for the replies! As suggested I have downloaded vMixUTC, it's up and running but have no clue what's next... maybe someone can explain what to do with vMixUTC to get me going.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
A very basic way to do it is to create a webpage that reloads every 60 seconds. There are dozens of way to do this with HTML or javascript or any web language like ASP, PHP and so on.
This webpage can then send the API command for the overlay. An easy way is to use a function in javascript with "window.location=myURL;" where myURL is the command to send to vMix
Now the choice of the command depends on what you really want to do in vMix. I guess you just don't want to send the same overlay every 60 sec and that you probably want to remove the overlay after a period of time. So it has to be adapted the way you want.
For vMixUTC, the idea is to create a countdown timer widget and to define an internal command name in the "OnStop" field. Then to create a button widget using this command name in the "link" area of the "execute" section. This button also needs a "script" where the "command" will be one for selecting overlay behaviour type and associating it to any of your inputs.
Practicaly it's better to start creating the button and to make sure it works the way you want when pressed manually. When ok, add the timer to automate the process.
|
1 user thanked DWAM for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/14/2016(UTC) Posts: 117 Location: Oss Thanks: 12 times Was thanked: 15 time(s) in 14 post(s)
|
I was able to create a button in vMixUTC, when pressed it does what I want (input via overlay).
Can add timer, but have no clue "what" to put "where" in timer-settings.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
I just found an easier way to it vMixUTC with only 2 buttons - Create button like screencap1 > tick the execute box and fill name with "DoIt1" > adapt the overlay for your input > in my example, it activates my xaml input on overlay 2, waits for 5 sec, removes it, waits for 5 sec and calls button #2 When you have this first button, click the small icon called "copy widget" > it creates a second button with same settings (screencap2) > change the execute name to "DoIt2" > change the last command "ExecLink" to "DoIt1" So basically, button 1 runs and calls button 2 which runs and calls button 1 and so on. Adapt to your values and let it run... Enjoy! DWAM attached the following image(s): 01_button.png (52kb) downloaded 34 time(s). 02_button.png (52kb) downloaded 26 time(s).You cannot view/download attachments. Try to login or register.
|
2 users thanked DWAM for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
And when you want to stop this everlasting loop, click the little white square in the currently active button (or close vMixUTC)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Here is another method with 2 buttons and a countdown timer. Every 10 sec it toggles overlay 2. The Push2Start button starts the loop. DWAM attached the following image(s): loop01.png (42kb) downloaded 22 time(s). loop02.png (41kb) downloaded 19 time(s). loop03.png (40kb) downloaded 16 time(s).You cannot view/download attachments. Try to login or register.
|
6 users thanked DWAM for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/14/2016(UTC) Posts: 117 Location: Oss Thanks: 12 times Was thanked: 15 time(s) in 14 post(s)
|
Thanks for the examples, with these I was able to get it going. Need to learn more about vMixUTC ;-)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Howto "trigger" input as overlay for example every 60 seconds?
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