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
Slaver  
#1 Posted : Wednesday, November 18, 2020 4:55:07 PM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Hey Folks,

i need to build a scoreboard for basketball in the gt title designer and need to know if several things are possible:

1. when the time is running the color of the numbers has to be green and when it stops it has to be red

2. in the last minute of a quarter the time has to changed from minutes and seconds to seconds and tens of a seconds

Thank you so much
doggy  
#2 Posted : Wednesday, November 18, 2020 5:09:14 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
Quote:
need to know if several things are possible:


GT Titling does not handle logic itself but other than that for displaying (same as with XAML titles) :

1. YES (what is controlling the change run/pause ?)

2. YES (better have scripting capabilities)
Slaver  
#3 Posted : Sunday, November 22, 2020 4:39:58 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Thanks @doggy

1. Its controlled by a start/stop shortcut (PauseCountdown).

2. Can you give me a hint where the scripting has to be made?

Thank you!
doggy  
#4 Posted : Sunday, November 22, 2020 5:38:04 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: Slaver Go to Quoted Post

1. Its controlled by a start/stop shortcut (PauseCountdown).

Use same shortcut to change color of text in the title

Quote:

2. Can you give me a hint where the scripting has to be made?


In the scripting section (settings)
Check out "scripting for dummies "post
The "problem" with your goal is that the clock display formatting will have to be handled by the script. Basically a hidden clock in your title read by the script and reformatted for display in the visual location

Slaver  
#5 Posted : Thursday, December 31, 2020 6:36:16 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
okay, my challenge just changed a lot.

I get the scoreboard data by vMix API. So there is no shortcut to change the color of the time.

Shotclock, Gametime, ScoreHome and ScoreAway are running well. But i also get the period and the Teamfouls. Problem is that the Period is coming in 1,2,3,4 and i need it in 1/4, 2/4, 3/4, 4/4. Also the teamfouls has to show as a graphic and not just the number (1,2,3,4,5....)

Thanks in advance.
doggy  
#6 Posted : Thursday, December 31, 2020 5:12:45 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: Slaver Go to Quoted Post

I get the scoreboard data by vMix API.


I assume through a DataSource instead

Quote:

So there is no shortcut to change the color of the time.


Scripting (check out scripting for Dummies post )

Quote:

Problem is that the Period is coming in 1,2,3,4 and i need it in 1/4, 2/4, 3/4, 4/4.


Add /4 to the Datasource format in Title editor ( {0}/4 )


Quote:

Also the teamfouls has to show as a graphic and not just the number (1,2,3,4,5....)


Again scripting to check the value and based on that replace the image or maybe change title page or similar

thanks 1 user thanked doggy for this useful post.
Slaver on 1/1/2021(UTC)
Slaver  
#7 Posted : Friday, January 1, 2021 2:24:33 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
@doggy

First of all, thank you for your help and all the hints in 2020.

I don´t get the data by data sources. It is sending directly in to the input because of the delay of the clocks which shows also the tenth of a second. The scoreboard data is sent by a raspberry pi into the network to my vmix pc address 192.168.1.10:8099/1 It is running perfectly instead of the problem not to be able to edit the data.

You know what i mean?
doggy  
#8 Posted : Friday, January 1, 2021 3:04:17 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: Slaver Go to Quoted Post
@doggy

First of all, thank you for your help and all the hints in 2020.

I don´t get the data by data sources. It is sending directly in to the input because of the delay of the clocks which shows also the tenth of a second. The scoreboard data is sent by a raspberry pi into the network to my vmix pc address 192.168.1.10:8099/1 It is running perfectly instead of the problem not to be able to edit the data.

You know what i mean?


Not really , what type of input is the data being displayed in ?
kross  
#9 Posted : Saturday, January 2, 2021 3:15:33 PM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 137
United States

Thanks: 2 times
Was thanked: 28 time(s) in 28 post(s)
Originally Posted by: Slaver Go to Quoted Post
I get the scoreboard data by vMix API. So there is no shortcut to change the color of the time.


If you're using the SetText API shortcut to set the text, there's also a SetTextColor API shortcut as well. Won't that do what you want?
Slaver  
#10 Posted : Sunday, January 3, 2021 12:02:10 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
@doggy

I don´t know how to explain it in a better way that you can understand.

Facts:

The scoreboard data is sent by a raspberry pi into the network to my vmix pc to address port and input number in vMix by 192.168.1.10:8099/1 (Thats the IP address of my vMix computer.) It send the data into the input and it is getting into it when i have a XAML oder GZIP where the fields have the same name like the data inputs i send by network.

Here is a good explaination of what i mean:
https://scoreboard-ocr.com/vmix

Thanks!
doggy  
#11 Posted : Sunday, January 3, 2021 12:20:55 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: Slaver Go to Quoted Post
@doggy

I don´t know how to explain it in a better way that you can understand.

Facts:

The scoreboard data is sent by a raspberry pi into the network to my vmix pc to address port and input number in vMix by 192.168.1.10:8099/1 (Thats the IP address of my vMix computer.) It send the data into the input and it is getting into it when i have a XAML oder GZIP where the fields have the same name like the data inputs i send by network.

Here is a good explaination of what i mean:
https://scoreboard-ocr.com/vmix

Thanks!


ok, basically datasource similar
check out "scripting for dummies" post as there are a few ways described there to how to retrieve the values from your title and make decisions on what to do with them. thats the easiest and flexible way of making decisions based on data in a title ( might have to add a few dummy textblocks in your title depending if the content itself has to change or not )

Quote:
1. when the time is running the color of the numbers has to be green and when it stops it has to be red

2. in the last minute of a quarter the time has to changed from minutes and seconds to seconds and tens of a seconds


1. the script check to see if the time is changing ( still running ) if not set the textcolor to red else to green

2. check if the time is less then a minute, if so change the display formatting of the time string
thanks 1 user thanked doggy for this useful post.
Slaver on 1/4/2021(UTC)
Slaver  
#12 Posted : Monday, January 4, 2021 4:21:48 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
I will check that. Thank you doggy.
Users browsing this topic
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.