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
fcvideo  
#1 Posted : Monday, November 25, 2024 11:53:43 PM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

Hi there, sorry if this has already been asked before - have searched but cant find something that fits

Scenario:
We live stream football (Soccer) matches, which has a time from 00:00 to 45:00 (and 2nd half 45:00 to 90:00)
After the 45 mins has completed, but whilst play continues (ie in additional time) I need the 45:00 to stop at 45:00, but a 2nd clock starting at 0:00 to commence for the additional time. There is no end time for this, although normally max 15, but in theory could go on indefinitely

Current Solution:
At present I have 2 Video files, lasting an hour which is the actual clock (created in after effects) - see below
Capture.JPG (7kb) downloaded 0 time(s).

Would Like:
Ideally I would like to run this all through vmix, with the scoreboard on an input (prob need 2 per half, 1 for 0-45 & the other for 45+)
The initial clock would start from streamdeck shortcut, but the transfer at 45:00 (or 90:00) would be automatic

Is this even possible?

Any help appreciated
spinfold  
#2 Posted : Tuesday, November 26, 2024 12:58:28 AM(UTC)
spinfold

Rank: Advanced Member

Groups: Registered
Joined: 1/23/2022(UTC)
Posts: 99
United Kingdom
Location: Milton Keynes

Thanks: 13 times
Was thanked: 6 time(s) in 6 post(s)
I'd use a second, hidden timer counting DOWN from 45:00 to 00:00, with an "OnCountdownEnd" trigger setup to start the other clock and bring it on screen.

Your Companion shortcut then starts both 45min timers together.
fcvideo  
#3 Posted : Tuesday, November 26, 2024 2:04:16 AM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

I hadn't considered Triggers - but can see the benefit of that

Quick question though is can a countdown (up in my case) be started just by making it visible? If so, that would so work. If not, the other (convoluted) way is to start both timers at once, but have the 'Additional time' timer start at -45 mins, so when the 45 mins countdown stops on the main timer, the additional timer would then be at 0 and just continue.
elvis55  
#4 Posted : Tuesday, November 26, 2024 2:50:37 AM(UTC)
elvis55

Rank: Advanced Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 429
Switzerland
Location: Luzern - Schweiz

Thanks: 65 times
Was thanked: 56 time(s) in 50 post(s)
mavik  
#5 Posted : Tuesday, November 26, 2024 3:25:14 AM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,231
Man
Location: Germany

Thanks: 3 times
Was thanked: 168 time(s) in 150 post(s)
onTransitionIn or onOverlayIn
spinfold  
#6 Posted : Tuesday, November 26, 2024 10:14:11 AM(UTC)
spinfold

Rank: Advanced Member

Groups: Registered
Joined: 1/23/2022(UTC)
Posts: 99
United Kingdom
Location: Milton Keynes

Thanks: 13 times
Was thanked: 6 time(s) in 6 post(s)
Originally Posted by: fcvideo Go to Quoted Post
I hadn't considered Triggers - but can see the benefit of that

Quick question though is can a countdown (up in my case) be started just by making it visible? If so, that would so work. If not, the other (convoluted) way is to start both timers at once, but have the 'Additional time' timer start at -45 mins, so when the 45 mins countdown stops on the main timer, the additional timer would then be at 0 and just continue.


As far as I know you can't have a timer start in negative. Triggers can carry out multiple actions - I'd probably for safety do

1) Reset count up to zero
2) Start count up
3) display count up
nikosman88  
#7 Posted : Tuesday, November 26, 2024 12:46:27 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 545
Greece
Location: athens

Thanks: 130 times
Was thanked: 74 time(s) in 70 post(s)
Originally Posted by: spinfold Go to Quoted Post
Originally Posted by: fcvideo Go to Quoted Post
I hadn't considered Triggers - but can see the benefit of that

Quick question though is can a countdown (up in my case) be started just by making it visible? If so, that would so work. If not, the other (convoluted) way is to start both timers at once, but have the 'Additional time' timer start at -45 mins, so when the 45 mins countdown stops on the main timer, the additional timer would then be at 0 and just continue.


As far as I know you can't have a timer start in negative. Triggers can carry out multiple actions - I'd probably for safety do

1) Reset count up to zero
2) Start count up
3) display count up

Right. These 1 to 3 you write,are enough to do the trick. No need for negative trigger as if we select in GT timer title when we setup it the reverse tick box, it will start from 0 to 45:00 (or what we set) and then in this timer input,we use the "oncountdown completed" trigger to overlay in and start the 2nd trigger that will also be checked as "reverse" so it will be started from 0 to x time we set.
So no need of negative timer

nikosman88  
#8 Posted : Tuesday, November 26, 2024 12:48:38 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 545
Greece
Location: athens

Thanks: 130 times
Was thanked: 74 time(s) in 70 post(s)
Originally Posted by: mavik Go to Quoted Post
onTransitionIn or onOverlayIn

Exactly "on overlayIn" trigger to main 45:00 vmix input title timer and then to this vmix input the "oncountdown completed" for the 2nd additional timer


Originally Posted by: spinfold Go to Quoted Post
Originally Posted by: fcvideo Go to Quoted Post
I hadn't considered Triggers - but can see the benefit of that

Quick question though is can a countdown (up in my case) be started just by making it visible? If so, that would so work. If not, the other (convoluted) way is to start both timers at once, but have the 'Additional time' timer start at -45 mins, so when the 45 mins countdown stops on the main timer, the additional timer would then be at 0 and just continue.


As far as I know you can't have a timer start in negative. Triggers can carry out multiple actions - I'd probably for safety do

1) Reset count up to zero
2) Start count up
3) display count up

Right. These 1 to 3 you write,are enough to do the trick. No need for negative trigger as if we select in GT timer title when we setup it the reverse tick box, it will start from 0 to 45:00 (or what we set) and then in this timer input,we use the "oncountdown completed" trigger to auto overlay in (or layer on in 1 one layer of the main timer) and start the 2nd trigger that will also be checked as "reverse" so it will be started from 0 to x time we set.
Peter1000  
#9 Posted : Tuesday, November 26, 2024 3:42:24 PM(UTC)
Peter1000

Rank: Advanced Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 303
Switzerland

Thanks: 17 times
Was thanked: 79 time(s) in 60 post(s)
Use the tiny little soccerclock.
It is a free Client that exactly does this.
https://tvcrew.ch/wiki/d...php?id=vmix_soccer_clock
fcvideo  
#10 Posted : Tuesday, November 26, 2024 6:29:08 PM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

Thanks for all your suggestions guys - i now have it working.

Will def have a look at vmix_soccer_clock, but for the time being I do have a working 'fully vmix' solution.

I need to refine it, so I only have 3 inputs (scoreboard, clock normal time, clock additional time), with basic scripting in place and the use of triggers.

Once I have it sorted (still work in progress, but does work in tests) - I will put in here my final solution, so anyone searching in the future of something similar can see the solution I used, and have that as a starting point
doggy  
#11 Posted : Tuesday, November 26, 2024 7:01:21 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,246
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 post(s)
Originally Posted by: fcvideo Go to Quoted Post


I need to refine it, so I only have 3 inputs (scoreboard, clock normal time, clock additional time), with basic scripting in place and the use of triggers.



What about just one and use pages within the GT Title , Or scripting to shown/hide title items ?
fcvideo  
#12 Posted : Tuesday, November 26, 2024 8:57:11 PM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

Originally Posted by: doggy Go to Quoted Post


What about just one and use pages within the GT Title , Or scripting to shown/hide title items ?


Never dealt with Pages before - but I think that is a great idea..... Need to work on that. Thanks for the suggestion (and another learning opportunity)

fcvideo  
#13 Posted : Tuesday, November 26, 2024 11:43:04 PM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

Update.... Anyone know if i can display a Page (defined in GT) via a script or trigger. I have set up the design as i want it - Page 1 being just the score - Page 2 being the score plus timer (up to 45 mins) - Page 3 being score plus additional time timer

But i cant see how i can automate the movement from Page 1 to 2 to 3.

In shortcuts, I can only see to bring up the total graphic (as set up in Page 1), but cant see how to switch to Page 2 through a shortcut, or a trigger that will select page 3 when the countdown completes.

update for those who may come later - SelectIndex is what you use to select the page
fcvideo  
#14 Posted : Wednesday, November 27, 2024 8:12:50 AM(UTC)
fcvideo

Rank: Newbie

Groups: Registered
Joined: 5/7/2024(UTC)
Posts: 9
United Kingdom

So I have it all working - thanks to everyone who helped.

Page 1.png (19kb) downloaded 2 time(s). Page 2.png (24kb) downloaded 0 time(s). Page 3.png (29kb) downloaded 3 time(s). Page Field Names.png (25kb) downloaded 0 time(s).

GTDesigner - see above for screenshots
Transition in – everything hidden
Page 1 – ScoreBoard Only
Page 2 – ScoreBoard plus Normal Timer
Page 3 – ScoreBoard plus Additional Time Timer


5 Shortcuts (streamdeck)
1 – Scoreboard Only ScriptStart ScoreBoardVisible
2 – 1st Half ScriptStart ScoreBoard1stHalf
3 – 2nd Half ScriptStart ScoreBoard2ndHalf
4 – 1st Half Extra Time ScriptStart ScoreBoard1stExtra
5 – 2nd Half Extra Time ScriptStart ScoreBoard2ndExtra

Scripts:
ScoreBoardVisable
Function=OverlayInput1IN&Input=ScoreBoard
Function=SelectIndex&Value=1&input=ScoreBoard

ScoreBoard1stHalf
Function=ChangeCountdown&Input=ScoreBoard&SelectedName=Clock.Text&Value=00%3A00%3A00 (this sets the start of the timer, so 00:00 for 1st Half, 45:00 for 2nd half etc)
Function=SetCountdown&Input=ScoreBoard&SelectedName=Clock.Text&Value=00%3A45%3A00 (this sets the end of the timer, so 45:00 for 1st Half, 90:00 for 2nd half etc)
Function=ChangeCountdown&Input=ScoreBoard&SelectedName=Additional.Text&Value=00%3A00%3A00 (this sets the additional timer start back to 0)
Function=SetCountdown&Input=ScoreBoard&SelectedName=Additional.Text&Value=00%3A55%3A00 (this sets the additional timer end back to 55 - just so it does not set off oncompletion)
Function=SetText&Input=ScoreBoard&SelectedName=Half.Text&Value=45:00+ (this just sets the additional time visible (left side))
Function=StartCountdown&Input=ScoreBoard&SelectedName=Clock.Text (this starts the timer)
Function=OverlayInput1IN&Input=ScoreBoard (this sets the scoreboard input to overlay 1)
Function=SelectIndex&Value=2&input=ScoreBoard (this sets the scoreboard to Page 2 - which is the normal match clock)

Repeated for other halves, with adjustment to time in 1st 2 rows (starting time, ending time eg 45:00 to 90:00
NB 90 mins needs to be 1 hour 30 mins

Scoreboard – Triggers
OnCountdownCompleted selectindex scoreboard value = 3
OnCountdownCompleted ChangeCountdown scoreboard value = 00:00:00 (for additional text)
OnCountdownCompleted StartCountdown scoreboard value = 1 (for additional text)

This selects Page 3 (Additional Time), then sets Additional Timer to 00:00, and then starts that timer

This may not be the most elaborate way of doing this (but significantly better than other options i had originally) - and most 'competent' coders will probably be pulling their hair out! But it works for me, and can give someone looking for something similar ideas of how i done it.

nikosman88  
#15 Posted : Wednesday, November 27, 2024 8:45:25 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 545
Greece
Location: athens

Thanks: 130 times
Was thanked: 74 time(s) in 70 post(s)
Originally Posted by: fcvideo Go to Quoted Post
So I have it all working - thanks to everyone who helped.

Page 1.png (19kb) downloaded 2 time(s). Page 2.png (24kb) downloaded 0 time(s). Page 3.png (29kb) downloaded 3 time(s). Page Field Names.png (25kb) downloaded 0 time(s).

GTDesigner - see above for screenshots
Transition in – everything hidden
Page 1 – ScoreBoard Only
Page 2 – ScoreBoard plus Normal Timer
Page 3 – ScoreBoard plus Additional Time Timer


5 Shortcuts (streamdeck)
1 – Scoreboard Only ScriptStart ScoreBoardVisible
2 – 1st Half ScriptStart ScoreBoard1stHalf
3 – 2nd Half ScriptStart ScoreBoard2ndHalf
4 – 1st Half Extra Time ScriptStart ScoreBoard1stExtra
5 – 2nd Half Extra Time ScriptStart ScoreBoard2ndExtra

Scripts:
ScoreBoardVisable
Function=OverlayInput1IN&Input=ScoreBoard
Function=SelectIndex&Value=1&input=ScoreBoard

ScoreBoard1stHalf
Function=ChangeCountdown&Input=ScoreBoard&SelectedName=Clock.Text&Value=00%3A00%3A00 (this sets the start of the timer, so 00:00 for 1st Half, 45:00 for 2nd half etc)
Function=SetCountdown&Input=ScoreBoard&SelectedName=Clock.Text&Value=00%3A45%3A00 (this sets the end of the timer, so 45:00 for 1st Half, 90:00 for 2nd half etc)
Function=ChangeCountdown&Input=ScoreBoard&SelectedName=Additional.Text&Value=00%3A00%3A00 (this sets the additional timer start back to 0)
Function=SetCountdown&Input=ScoreBoard&SelectedName=Additional.Text&Value=00%3A55%3A00 (this sets the additional timer end back to 55 - just so it does not set off oncompletion)
Function=SetText&Input=ScoreBoard&SelectedName=Half.Text&Value=45:00+ (this just sets the additional time visible (left side))
Function=StartCountdown&Input=ScoreBoard&SelectedName=Clock.Text (this starts the timer)
Function=OverlayInput1IN&Input=ScoreBoard (this sets the scoreboard input to overlay 1)
Function=SelectIndex&Value=2&input=ScoreBoard (this sets the scoreboard to Page 2 - which is the normal match clock)

Repeated for other halves, with adjustment to time in 1st 2 rows (starting time, ending time eg 45:00 to 90:00
NB 90 mins needs to be 1 hour 30 mins

Scoreboard – Triggers
OnCountdownCompleted selectindex scoreboard value = 3
OnCountdownCompleted ChangeCountdown scoreboard value = 00:00:00 (for additional text)
OnCountdownCompleted StartCountdown scoreboard value = 1 (for additional text)

This selects Page 3 (Additional Time), then sets Additional Timer to 00:00, and then starts that timer

This may not be the most elaborate way of doing this (but significantly better than other options i had originally) - and most 'competent' coders will probably be pulling their hair out! But it works for me, and can give someone looking for something similar ideas of how i done it.


Nice. It’s commendable that you found a solution and came to write it on the forum to help others as well. Most people come, ask something, and then don’t even return to reply whether what the other members wrote to help actually worked.
Users browsing this topic
Guest (2)
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.