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
stigaard  
#1 Posted : Sunday, January 22, 2017 1:30:05 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
Hi Martin, Tim and the rest of the vMix team, and ofc also all you vMixers.

My case
I've been trying to setup a scoreboard with a game clock countup from 00:00 to 20:00 (20 minutes), and two penalty countdowns (one for the home team and one for the away team).
All countdowns is therefore: game clock field + home penalty field + away penalty field

The requirements I wanted for the shortcuts that I wanted to bind to the scoreboard was as following:
- One button for starting all the countdowns
- One button for stopping all the countdowns
- (Alternatively a toggle start/stop for all countdowns)
- One button to (re)set the penalty of the home team to 02:00 (two minutes)
- One button to (re)set the penalty of the away team to 02:00 (two minutes)
- One button to remove the penalty of the home team if there's one present
- One button to remove the penalty of the away team if there's one present

The case is, that the penalty should only be present when they are needed.

I created a custom XAML title where the penalty countdowns are only visible when the text of the field is NOT equal to 00:00.

My initial idea was to use only button to start all of the three countdowns.

I achieved 90 % of what I wanted, but I stumbled upon some problems:

Proposal to new function: RemoveCountdown
When trying to reset/remove a countdown (using the function StopCountdown) on a field, the countdown will restart when I start the countdown again, which is not expected, since I want to remove the countdown. Therefore, my proposal is that a new function is needed RemoveCountdown, which totally unbinds all information regarding the countdown on the field.

Sync of the countdowns (reset tick when countdown is suspended/paused)
Another proposal is that when several countdowns are running, the ticks of the seconds on each of the fields are very likely to be out of sync. And my proposal is therefore that when a countdown is suspended or paused, the tick should be reset to the start of the second, and by that, enabling that when the timer is paused, and a penalty is noted and the timer is started again, the timers are synced on the tick.

Alternatively, this option of resetting the tick can be implemented as a tickbox under the countdown settings window for the title.


Thanks!

Jens Stigaard
DWAM  
#2 Posted : Sunday, January 22, 2017 2:25:37 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi Jens

you can do all of this with vMixUTC. Have a look if you don't know this app already. For sport score boards, it includes many useful features and gives the ability build an optimized UI (for your assistant or yourself) to handle the overlays for your score bugs, start your replays and so on...

The attached file is a screencap of my vMixUTC interface for handling tennis tournaments (With several independant clocks and buttons to manage them easily - on the left side)

vMixUTC : http://forums.vmix.com/d....aspx?g=posts&t=6468

Best regards
Guillaume
DWAM attached the following image(s):
screencap04.png (316kb) downloaded 34 time(s).

You cannot view/download attachments. Try to login or register.
stigaard  
#3 Posted : Sunday, January 22, 2017 3:43:24 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
DWAM wrote:

you can do all of this with vMixUTC. Have a look if you don't know this app already. For sport score boards, it includes many useful features and gives the ability build an optimized UI (for your assistant or yourself) to handle the overlays for your score bugs, start your replays and so on...


Thanks Guillaume,

I already looked into vMixUTC before, but didn't try the timers, and have now tried to achieve what I explained in my original post, but was not able to achieve it. As in vMix, I'm not able to reset and disable a countdown timer, and still being able to have it bound to the same shortcut key as the other countdown timers.

But thanks for referencing to vMixUTC, I see that it really has some great features.

I see that you have a button called "Pause Active Timers" in vMixUTC, can you please explain/show how you set that up? I have tried to setup a similar button, but without luck.
thanks 1 user thanked stigaard for this useful post.
thole on 4/12/2019(UTC)
DWAM  
#4 Posted : Sunday, January 22, 2017 6:18:11 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Here's a little help for having synchronized functions in vMixUTC

- create 2 timers, set them the way you want and map them to your xaml titles, make sure they work manually
- for each of them, click the "start" option in the "hotkeys" section and put a name like "StartMyTimers" in the "Link" field

- now create a "button", call it the way you want, starttimers for example
- in this button properties, add a "script" and then select "ExecLink" as a command
- and simply indicate "StartMyTimers" in the string value field for this command

Now when you click this button, both timers start in sync

You can do the same for pausing them or stopping them for sure. You simply choose a different " hotkey name" for the ExecLink command and you set in your widgets.

If you have this working, now you can add commands to button. For example you can decide that when you click the button it will start your timers as said before but also that it will activate your xaml title on overlay 2

To do that:
- simply go back to your button widget properties and add another script
- this time select "OverlayInputToggle" as a command,
- next choose the good xaml title file in the "input" dropdown box,
- and finally indicate "2" for the "int value" (where 2 is the overlay you want to use)

Now with only 1 click, your timers are started and your title is displayed. Click again, it goes away...

Tip : if you tick the "state dependent" box, you will get an indicator on your button showing its status

Hope this helps (for a start). Many more excellent features...

PS : Just added basic screencaps...
DWAM attached the following image(s):
timers01.png (32kb) downloaded 16 time(s).
timers02.png (37kb) downloaded 11 time(s).
timers03.png (46kb) downloaded 12 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked DWAM for this useful post.
stigaard on 1/22/2017(UTC)
DWAM  
#5 Posted : Sunday, January 22, 2017 6:40:44 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Quote:
The case is, that the penalty should only be present when they are needed.


It's quite easy to this also with the "SetImage" command in buttons. We'll discuss about this later if you want.

PS : If you check carefully my Tennis UI screencap, in the NDI PGM windows, you can see "Break Point" just under the score bug... This is displayed only when needed, just like your penalty timer... I can manage that with my green section called "Score Bug Xtras" in the middle, each button modifies the score bug according to the game.
stigaard  
#6 Posted : Sunday, January 22, 2017 6:53:10 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
DWAM wrote:

PS : If you check carefully my Tennis UI screencap, in the NDI PGM windows, you can see "Break Point" just under the score bug... This is displayed only when needed, just like your penalty timer... I can manage that with my green section called "Score Bug Xtras" in the middle, each button modifies the score bug according to the game.


The thing is, that ideally, I wanted the penalty bug only to show on the condition that the timer was set to anything else than 00:00. That's the condition. The idea is that the producer then just need to set and remove the penalty, and should not be aware whether it is present in the title. It just should be present, when the timer is anything else than 00:00.
DWAM  
#7 Posted : Sunday, January 22, 2017 6:58:18 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
This can be done easily using the "timer" command that you can add in the scripts of your buttons

command 1 : display title with timer penalty 2min
command 2 : timer 2 min
command 3 : remove title

stigaard  
#8 Posted : Sunday, January 22, 2017 7:11:41 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
I see your point.

But lets say that the timer was paused. How can the timer inside the script be paused? It must follow the exact time that's left on the timer. Any suggestions?

EDIT: The "timer" inside a script should be renamed to "sleep" or "wait", since that is what is actually is doing, and is normal programming convension.
IceStream  
#9 Posted : Sunday, January 22, 2017 7:15:38 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,603
Man
Location: Canada

Thanks: 33 times
Was thanked: 501 time(s) in 470 post(s)
@ stigaard

My best recommendation for using start/stop game and penalty clocks with vMix is to use an actual camera shot of the official clock if at all possible within your workflow.
I realize this isn't always realistic, but the task of managing various clocks within vMix can quickly become a "fulltime" job during a live broadcast (I have yet to accomplish an error free production when managing clocks manually).
I have tried similar custom XAML titles as you with all clocks (in my case 5 -> 1 main and 4 penalty clocks) on one Input.
I quickly discovered that any discrepancies or errors were not easily recovered from and why I chose to abandon the single XAML Input approach.
I instead opted for multiple clocks from multiple Inputs and simply overlay On/Off the appropriate clock when needed.
Activating/de-activating each timer is accomplished with the "Pause Timer" function as opposed to the Start and Stop functions and resets can also be accomplished with "SetText" but I usually found resetting manually was the best solution.
Although your request is valid and may assist in managing clocks during a "Live" broadcast, the reality is, the clock is generally a minor detail to the viewer that you will undoubtedly spend too much time focusing on compared to more important aspects of the broadcast and why I suggest capturing to official clock if you are able (use multiple Virtual copies to crop appropriate clock for placement on your graphic).

Just my thoughts.


Ice
stigaard  
#10 Posted : Sunday, January 22, 2017 7:24:18 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
IceStream wrote:
@ stigaard

My best recommendation for using start/stop game and penalty clocks with vMix is to use an actual camera shot of the official clock if at all possible within your workflow.
I realize this isn't always realistic, but the task of managing various clocks within vMix can quickly become a "fulltime" job during a live broadcast (I have yet to accomplish an error free production when managing clocks manually).
I have tried similar custom XAML titles as you with all clocks (in my case 5 -> 1 main and 4 penalty clocks) on one Input.
I quickly discovered that any discrepancies or errors were not easily recovered from and why I chose to abandon the single XAML Input approach.
I instead opted for multiple clocks from multiple Inputs and simply overlay On/Off the appropriate clock when needed.
Activating/de-activating each timer is accomplished with the "Pause Timer" function as opposed to the Start and Stop functions and resets can also be accomplished with "SetText" but I usually found resetting manually was the best solution.
Although your request is valid and may assist in managing clocks during a "Live" broadcast, the reality is, the clock is generally a minor detail to the viewer that you will undoubtedly spend too much time focusing on compared to more important aspects of the broadcast and why I suggest capturing to official clock if you are able (use multiple Virtual copies to crop appropriate clock for placement on your graphic).

Just my thoughts.

Ice


I totally agree with you Ice, our current solution on production is also bringing in a camera input, cropping it and so on, but my opinion is just that it looks so much more professional when you can do it only with true graphics. The solution using XML titles (+shortcuts) all the way, needs this particular details (missing features at the moment) on functionality to make it easy to work with.

The time spent on start/stopping game clocks should be as little as possible. An alternative solution would be to use OCR scoreboard for vMix, which has also been proposed in another thread, but the development of that program is totally dead, sadly.
DWAM  
#11 Posted : Sunday, January 22, 2017 7:53:40 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Quote:
But lets say that the timer was paused. How can the timer inside the script be paused? It must follow the exact time that's left on the timer. Any suggestions?


I wouldn't do that either. I don't think it's possible to manage complex score boards graphics (TV-like) without a dedicated person for it.
I designed this UI in vMixUTC for allowing an assistant on another PC to handle entirely this aspect of the production while I focus on switching only. This is why I consider vMixUTC a good companion for vMix as it allows to split responsabilities over several people.
IceStream  
#12 Posted : Sunday, January 22, 2017 8:02:57 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,603
Man
Location: Canada

Thanks: 33 times
Was thanked: 501 time(s) in 470 post(s)
stigaard wrote:
An alternative solution would be to use OCR scoreboard for vMix, which has also been proposed in another thread, but the development of that program is totally dead, sadly.


There are "professional" OCR solutions out there as well if you have the budget...

ScoreOCR



Ice

(Yes, I was quite excited with dark_ata's efforts and wish it could be completed properly)
DWAM  
#13 Posted : Monday, January 23, 2017 6:57:31 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Quote:
The "timer" inside a script should be renamed to "sleep" or "wait", since that is what is actually is doing, and is normal programming convension.


You can name it the way you want in functions.xml and besides you can also add any function you want regarding vMix API capacities.
DWAM  
#14 Posted : Wednesday, January 25, 2017 10:32:33 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
FYI, Elgarf, the creator of vMixUTC, just added 3 triggering options on Timers/Countdowns : OnStart, OnPause and OnStop. For each trigger, you can create a multifunction button that will autostart and execute whatever you define or simply pass hotkeys to other widgets. Really cool!

It would be nice if vMix could do it aswell.

Guillaume
Users browsing this topic
Guest
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.