Rank: Newbie
Groups: Registered
Joined: 8/29/2020(UTC) Posts: 6   Location: Arizona Thanks: 1 times
|
At my Church I've been using vMix HD since 2021. vMix is used and streamed on YouTube every Sunday, during Holy Week and Advent. I've used the countdown timer manually to start the triggering of events. I have 15 or 16 thumbnails, so it's not an elaborate use of vMix. I've been unsuccessful in using OnCountDownTime or OnCountDownTimeRemaining. I’ve used AI with ChatGPT, Copilot, Perplexity and Gemini. I don’t think they have caught up to vMix 29, They’re almost correct but the suggestions still don’t work. I come in at approx. 07:45. Ideally, I wish vMix would use the PC clock and fire trigger events off of the PC Clock. I want 1st trigger to fire at 08:54 AM, it’s automatic until all subsequent lead in slides with music and layers have been completed. Then I have control of my PTZ cameras for the rest of the service. I haven’t found any training videos on the new countdowns. Windows Task Scheduler won’t help me start a preset for the service. Any ideas would be appreciated
|
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 636
Thanks: 64 times Was thanked: 151 time(s) in 135 post(s)
|
Originally Posted by: neuegs  At my Church I've been using vMix HD since 2021. vMix is used and streamed on YouTube every Sunday, during Holy Week and Advent. I've used the countdown timer manually to start the triggering of events. I have 15 or 16 thumbnails, so it's not an elaborate use of vMix. I've been unsuccessful in using OnCountDownTime or OnCountDownTimeRemaining. I’ve used AI with ChatGPT, Copilot, Perplexity and Gemini. I don’t think they have caught up to vMix 29, They’re almost correct but the suggestions still don’t work. I come in at approx. 07:45. Ideally, I wish vMix would use the PC clock and fire trigger events off of the PC Clock. I want 1st trigger to fire at 08:54 AM, it’s automatic until all subsequent lead in slides with music and layers have been completed. Then I have control of my PTZ cameras for the rest of the service. I haven’t found any training videos on the new countdowns. Windows Task Scheduler won’t help me start a preset for the service. Any ideas would be appreciated
The countdown triggers don't work with the countdown to time function, only with the countdown timer. https://www.vmix.com/help29/Title.htmlA vMix version with scripting capabilities could use a script like this: https://forums.vmix.com/...ng-for-Dummies#post74242
|
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/23/2020(UTC) Posts: 226  Location: Wichita Thanks: 11 times Was thanked: 29 time(s) in 25 post(s)
|
When I come in on Sunday I startup the PC and vMix then I switch the Live output to a countdown screen which starts a countdown script that DOESN'T use the vMix countdown events. Our service starts at 10:00 AM and the countdown I have running shows Hours, minutes and seconds until the service starts. This displays in a GT Title box with a window displaying the current announcement slides which is displayed in the sanctuary on screens at the front and back at first but at 9:45 AM it starts the streaming the countdown and slides so anyone at home can make their connection before the service starts. At 10:00 AM the countdown ends and an animated logo for our church is played and the Input in preview is made live. The real key is you check the real time in the main loop and when it reaches the appropriate times for the events to occur the appropriate actions are taken. Here is a chopped down version of my script that you can use to build what you want
Code:
' Because this partial implementation of VBSCRIPT doesn't support basic programming features like Functions or Subs everything has to be top down inline code.
' I'm going to have to see if I can't use Visual Studio and the vMixAPI.DLL
'Countdown to Service start Script
' vMix Inputs - All will be referenced using their unique "key" (GUID) which will only change if the input is deleted and then added again, otherwise changing the name or input number will not affect this script
Dim CountdownScreen as string = "17abeafe-9243-45a7-879d-94491046b873"
Dim CountdownTitle as string = "3e500d73-872c-4841-aa5c-67ebbf46d486"
Dim CountdownTitleText as string = "Sunday Service begins in "
Dim ServiceTime as string
Dim StreamingStartTime as string
Dim dtServiceTime as DateTime
Dim dtStreamingStartTime as DateTime
Dim Streaming as boolean = false
CountdownTitleText = "Sunday Service begins in "
dtServiceTime = new DateTime(Datetime.Now.Year, DateTime.Now.Month, DateTime.Now.Day ,10,00,00)
dtStreamingStartTime = new DateTime(Datetime.Now.Year, DateTime.Now.Month, DateTime.Now.Day ,09,45,00)
StreamingStartTime = dtStreamingStartTime.ToString("hh:mm")
ServiceTime = dtServiceTime.ToString("hh:mm")
console.writeline ( "ServiceTime=" & ServiceTime & " Stream starting time=" & StreamingStartTime & " Current time=" & DateTime.Now.ToString("hh:mm"))
' Main timer Loop
'
' We check for everything that needs to happen during the countdown in this loop:
' 1. End of the countdown
' 2. Time to start streaming (15 mins before end of countdown as of this comment being written)
'
Do While True
If ServiceTime = DateTime.Now.ToString("hh:mm") Then
' The times match so exit the loop!
Exit do
End If
If StreamingStartTime = DateTime.Now.ToString("hh:mm") and (not Streaming) Then
' Time to start the streaming
API.Function("StartStreaming","0")
Streaming = true
End If
' Here we will update the countdown time in the "HeadlineText" of the countdown screen
Dim tsHowLong as TimeSpan = dtServiceTime - DateTime.Now
Dim stHowLong as String = tsHowLong.ToString.Substring(0,8)
If stHowLong.Substring(0,2) = "00" Then
stHowLong = stHowLong.Substring(3,5)
End If
API.Function("SetText",Input:=CountdownTitle,SelectedName:="Headline.Text",Value:= CountdownTitleText & stHowLong)
'console.writeline("Time Left = " & TimeLeft & " Hours left " & Hoursleft & " Minutes left " & CStr(MinutesLeft) & " Seconds left " & Secondsleft)
sleep(1000) ' Sleep for one second
Loop
Console.writeline("Starting service")
|
|
|
|
|
|
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