vMix Forums
»
General
»
Feature Requests
»
countdown to specific time with trigger
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
it would be great to use the timer for a specific countdown time (i.e. 08:25:16 PM), what is possible, but there is no trigger function to use, when the time was reached. Also it would be usefull, to safe in the title several presets, if you need more than one timer. It would help to time and controle many many productions.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/14/2021(UTC) Posts: 10 Location: Chicago Was thanked: 1 time(s) in 1 post(s)
|
+1 We do so many streams where we go live at 6:55pm and a video plays at 7pm and that is the entire stream. Being able to automate this would be a huge benefit for us.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
why to script? We cannot script every eventual happening. So that is why a trigger would be usefull. Sometimes we use 5 or 6 countdowns, so it would be an easy solution to do this with the timerfunction. And why not?! The basic function already exists. Why to invent something new?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
Explanation: we have a playlist, it runs some hours, after that, a picture is shown and a time runs. But we chance the playlist every week, so it should be easy to trigger what to do, when it is 8 o'clock in the morning, or 1 pm, 6:30 pm and so on. it is much individual so it it cannot be a script, because we had to change it over and over again. That is not usefull.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: growup when it is 8 o'clock in the morning, or 1 pm, 6:30 pm and so on. it is much individual so it it cannot be a script, because we had to change it over and over again. That is not usefull. WHy could it not be? Would you not have to set the time of the trigger (if existed) too? So a quick edit of a time variable in a script would take the same time, even a Dynamic value could be used . Heck a data source could come in handy for a weeks schedule or so Cool username btw ;-)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
I would say no, because we have many projects on different mashine, it is much easier to setup a timer widget than write a code snippet. And also, I am not the big programmer ;)
I already tried the script, even it worked, one time, the 2nd day at the same time it did not. So I do not understand what is happening and in some productions it has to be fixed fast. Scripting is no fast thing. Titles also can be saved with templates. Just push a button on my streamdeck, the next time appears and runs down. I could not image how to do this with a script ;)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 11/8/2021(UTC) Posts: 11 Location: new delhi Thanks: 1 times
|
I am using VMix Basic HD licensed version.
There is one query.
I want to utilize "countdown to time" feature.
What I want to achieve:-
I have set this countdown to time {0:3:00 PM|HH:mm:ss}. And I also have added trigger, that after countdown ends, it must switch to defined input.
But, as countdown completes, it displays 00:00:00 and it doesn't switch the defined input which I have added in trigger. I have tried a lot but it doesn't work.
My point is, after countdown completes, why it's not triggering????
In addition,
Actually, it's working when after adding "Oncountdowncompleted" but I had to add duration in countdown setting, in that case it is working, but it is a very lengthy process. I am sure, there will be a way out for this, because when there is option for countdown to time {0:3:00 PM|HH:mm:ss},then it should be triggering the selected input in trigger option.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: ravi.singh I want to utilize "countdown to time" feature.
What I want to achieve:-
I have set this countdown to time {0:3:00 PM|HH:mm:ss}. And I also have added trigger, that after countdown ends, it must switch to defined input.
But, as countdown completes, it displays 00:00:00 and it doesn't switch the defined input which I have added in trigger. I have tried a lot but it doesn't work.
My point is, after countdown completes, why it's not triggering????
Triggers apply to the countdown , not the clock (of which countdown to time is part of) Quote:
In addition,
Actually, it's working when after adding "Oncountdowncompleted" but I had to add duration in countdown setting, in that case it is working, but it is a very lengthy process. I am sure, there will be a way out for this, because when there is option for countdown to time {0:3:00 PM|HH:mm:ss},then it should be triggering the selected input in trigger option.
there are shortcut options allowing to set/change countdown times quickly As you have basic HD you cannot use vMix scripts (as linked before in this post ) . can do external ones though as done before vMix scripting was even available ;-)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
sorry, but that is not what we want to do. We all understand how countdowns are working, but often it is needed, that something will hapen to a specific time. I.E. when there is a picture in pgm, or a camera, there is nothing to use for triggers, so that is why it should work. Otherwise the whole function is useless.
Please do not try to explain why we DO NOT need this function, we DO need this, that is why we are asking for it.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 11/8/2021(UTC) Posts: 11 Location: new delhi Thanks: 1 times
|
I was using this below script in scripting section of vmix. It was working fine but suddenly it stopped working. Can anybody help me on this.
'Trigger a function at a specific time of day
dim triggertime as string = "12:25"
'console.writeline ( DateTime.Now.ToString("hh:mm"))
Do While True If triggertime = DateTime.Now.ToString("hh:mm") Then ' The times match so do something like API.Function("Merge",Input:="4") 'replace 1 with the to overlay input nr ' And we are done Exit do
End If sleep(1000) Loop
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: ravi.singh I was using this below script in scripting section of vmix. It was working fine but suddenly it stopped working. Can anybody help me on this.
Script is set for 12 hr time (AM/PM) Change to DateTime.Now.ToString("HH:mm") for a 24 hr clock time (capital H instead of h)
|
2 users thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
Originally Posted by: doggy Originally Posted by: ravi.singh I was using this below script in scripting section of vmix. It was working fine but suddenly it stopped working. Can anybody help me on this.
Script is set for 12 hr time (AM/PM) Change to DateTime.Now.ToString("HH:mm") for a 24 hr clock time (capital H instead of h) but script is stopping anywhere, so it will not start again the next day?!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: growup Originally Posted by: doggy Originally Posted by: ravi.singh I was using this below script in scripting section of vmix. It was working fine but suddenly it stopped working. Can anybody help me on this.
Script is set for 12 hr time (AM/PM) Change to DateTime.Now.ToString("HH:mm") for a 24 hr clock time (capital H instead of h) but script is stopping anywhere, so it will not start again the next day?! It stops somewhere ;-) specifically when the time of day is reached . This is just an example, and is open to modification or adaptation to own needs , add multiple times for multiple triggering or... all up to ones imagination Like one can encapsulate the script into another unconditional loop so it never stops and repeats its trigger each day ( unless you close vMix) but add a pause to cover that 1 minute the check time is the same or one just starts the script again manually or by shortcut
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
ok, got this. done with trigger a script and back. Nice. But not usefull, if more times are needed. But it is a solution so long. Thanks for inspiration
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: growup ok, got this. done with trigger a script and back. Nice. But not usefull, if more times are needed. But it is a solution so long. Thanks for inspiration it's as useful as you make it be and there are several ways for more times to be triggered (dynamic values, datasource, etc..). One can make scripts as simple or as functional as one wants them to be be it internal vMix ones or external apps
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/1/2021(UTC) Posts: 12 Location: Berlin Thanks: 1 times
|
Originally Posted by: doggy Originally Posted by: growup ok, got this. done with trigger a script and back. Nice. But not usefull, if more times are needed. But it is a solution so long. Thanks for inspiration it's as useful as you make it be and there are several ways for more times to be triggered (dynamic values, datasource, etc..). One can make scripts as simple or as functional as one wants them to be be it internal vMix ones or external apps Sounds great what possible, but I am not able to programm what you are talking about ;)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 11/8/2021(UTC) Posts: 11 Location: new delhi Thanks: 1 times
|
Originally Posted by: doggy Originally Posted by: ravi.singh I was using this below script in scripting section of vmix. It was working fine but suddenly it stopped working. Can anybody help me on this.
Script is set for 12 hr time (AM/PM) Change to DateTime.Now.ToString("HH:mm") for a 24 hr clock time (capital H instead of h) Thank you so much. It worked!!!!!!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/4/2021(UTC) Posts: 309 Thanks: 8 times Was thanked: 40 time(s) in 35 post(s)
|
Originally Posted by: doggy Triggers apply to the countdown , not the clock (of which countdown to time is part of) What if, and stay with me, because this is a crazy concept for the "Feature Requests" section, but what if they changed that? If it can be scripted, it can be built-in. Everyone gets how it works. Nobody's questioning how it works. People, myself included, would prefer if it worked differently. That's, again, why we're having this discussion in the "Feature Requests" section. This isn't one of those cases where the option is already available. It's inferior to a Countdown to Time timer in a number of ways: it's a lot more likely to be a second or two off, it's more involved to program, the script constantly running in the background takes CPU usage, etc. Yes, it's a suitable stopgap for people who need the feature now, but, as far as I'm concerned, that's all it is.
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
countdown to specific time with trigger
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