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
Ario  
#1 Posted : Tuesday, December 27, 2016 10:32:13 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Hi all,

fiddling with the Data Sources in v18 and loving it so far.
We do live streaming of Fiba basketball, and use their stats system.
E.g. choose XML Data Sources and filter teams like this:

XML source
http://live.fibaeurope.c...gameID=109299&lng=en

X-Path:
FE/TEAMSTATS/TEAM[@name="Zorg en Zekerheid Heren 1 "]

(looks like some rascal left a space after our team name)

This filters my home team.
Now, the visiting team name of course changes every week, and there is quite a few Data Sources to set up, since the stats are divided over 6 groups (see below).

Ideally, I would like to do a text search & replace, to change the name of the visiting team in all 6 places at once.
But, this info appears not to rest in the .vmix file.
Can it be 'hacked' anywhere else? Or be replaced in-one-go somehow?

Thanks in advance !
Cheers,
Arie

The various pieces of info are:
http://live.fibaeurope.c...;gameID=80758&lng=en
http://live.fibaeurope.c...;gameID=80758&lng=en
http://live.fibaeurope.c...;gameID=80758&lng=en
http://live.fibaeurope.c...;gameID=80758&lng=en
http://live.fibaeurope.c...;gameID=80758&lng=en
http://live.fibaeurope.c...;gameID=80758&lng=en
Ario  
#2 Posted : Tuesday, December 27, 2016 11:40:53 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
For other basketball-fans;
it seems that these bits are most useful:

http://live.fibaeurope.c...gameID=109299&lng=en
FE/SCOREBOARD/TEAM[@name="Zorg en Zekerheid Heren 1 "]/PLAYER[@no="1"]
FE/TEAMSTATS/TEAM[@name="Zorg en Zekerheid Heren 1 "]
FE/TICKER

http://live.fibaeurope.c...gameID=109299&lng=en
FE/BOXSCORE/TEAM[@name="Zorg en Zekerheid Heren 1 "]/PLAYER[@no="1"]
the 5 starters:
FE/BOXSCORE/TEAM[@name="Zorg en Zekerheid Heren 1 "]/PLAYER[@sta="True"]

http://live.fibaeurope.c...gameID=109299&lng=en
FE/SCOREDEVELOPMENT/EXTRA
FE/SCOREDEVELOPMENT//BiggestLead
FE/SCOREDEVELOPMENT//BiggestLeadTime (in secs)
FE/SCOREDEVELOPMENT//BiggestScoringRun
FE/SCOREDEVELOPMENT//TimeLeading (already in mm:ss)

http://live.fibaeurope.c...gameID=109299&lng=en
/FE/SHOTCHART/TEAM[@Name="Zorg en Zekerheid Heren 1 "]/P[@Nr="1"]
Siroki  
#3 Posted : Saturday, January 7, 2017 1:41:58 PM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
Location: Siroki Brijeg

Thanks: 8 times
Was thanked: 27 time(s) in 24 post(s)
I was trying to get this info for my basketball streamings. Not all but maybe quarter scores, top scorers. top rebounds or player statistics after quarters.

Our league is also on FIBA live stats and every game has stats. How do you get everything earlier, the game ID because in our league the statistic operator puts it live just few minutes nefore game and only than you can click on live game so I don't know how to pickup the statistics.

Do you have some video example of your stream so I can see how do you use it

thx
thanks 1 user thanked Siroki for this useful post.
Ario on 1/7/2017(UTC)
Ario  
#4 Posted : Saturday, January 7, 2017 4:45:41 PM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Hi Siroki,

nice to hear that I am not alone ;-)
Maybe I'll manage to test a road game on Sunday afternoon (CET).
Our first home game is Jan. 21 evening (CET), so that will be the first real test for me.
Our streams are via https://www.youtube.com/user/aaintveld/videos
and our team is Zorg en Zekerheid Leiden (Netherlands).

Yes the URL's are a major PITA, the ID does not increase per club, but globally, so you cannot predict it precisely.
Our operator creates the game about 24 hrs in advance, so that helps.
Even if they do not yet know who will be on the official game sheet, they can create an empty slot (team X vs Y without any player names) so that at least you know the URL.

Another trick could be to do it staggered, so point vMix to XML at a fixed URL (I have a little Wordpress site that may work for this), and then 'redirect' that URL to the actual game URL, which would ideally just be one parameter that you would set (game ID), outside of vMix (somewhere in WordPress, e.g.).

Maybe this brings you to new (better?!) ideas.

Cheers,
Arie
Siroki  
#5 Posted : Saturday, January 7, 2017 6:29:22 PM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
Location: Siroki Brijeg

Thanks: 8 times
Was thanked: 27 time(s) in 24 post(s)
Ario wrote:
Hi Siroki,

nice to hear that I am not alone ;-)
Maybe I'll manage to test a road game on Sunday afternoon (CET).
Our first home game is Jan. 21 evening (CET), so that will be the first real test for me.
Our streams are via https://www.youtube.com/user/aaintveld/videos
and our team is Zorg en Zekerheid Leiden (Netherlands).

Yes the URL's are a major PITA, the ID does not increase per club, but globally, so you cannot predict it precisely.
Our operator creates the game about 24 hrs in advance, so that helps.
Even if they do not yet know who will be on the official game sheet, they can create an empty slot (team X vs Y without any player names) so that at least you know the URL.

Another trick could be to do it staggered, so point vMix to XML at a fixed URL (I have a little Wordpress site that may work for this), and then 'redirect' that URL to the actual game URL, which would ideally just be one parameter that you would set (game ID), outside of vMix (somewhere in WordPress, e.g.).

Maybe this brings you to new (better?!) ideas.

Cheers,
Arie


Yes, I know for ID, thats why it is a problem. Its created here also earlier but in cannot be clicked on match to open URL until game starts. Need to check this option how to get parameters over this stats. This would be great for player lists, rebounds, points and some stats on pre match, after quarters, half time and end of the game.

Will wait for you test to see how it was
Thx
Ario  
#6 Posted : Monday, January 9, 2017 7:12:00 PM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
OK did some work during our live road game;
you can export all your data sources, it provides an example as attached;
a simple search&replace of the game ID should do, before each new game.

Now looking if fiba xml needs to be rewritten, before it is really useful in vMix, or that I just need to understand the .xaml in vMix better.
File Attachment(s):
test.vMixDataSources.txt (2kb) downloaded 35 time(s).

You cannot view/download attachments. Try to login or register.
ask  
#7 Posted : Tuesday, January 10, 2017 5:55:00 PM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
Ario wrote:
OK did some work during our live road game;
you can export all your data sources, it provides an example as attached;
a simple search&replace of the game ID should do, before each new game.

Now looking if fiba xml needs to be rewritten, before it is really useful in vMix, or that I just need to understand the .xaml in vMix better.



Hi, Are you generating the xml via FibaLive Stats? I would love to know how you are normalising it if so as my testing shows that the TV feed generated is a non-standard xml file. That is vMix cannot read it natively. Support from the manuafacturer is sparse unless you a a major network so if we can come up with a solution it would be great!

Andrew
Ario  
#8 Posted : Tuesday, January 10, 2017 7:04:42 PM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Hi Andrew,

yes Fiba (Europe) livestats;
i pushed it through a WordPress plugin (with cron jobs) once ... am now looking into X-path and seeing if I can make like 50 buttons on a tablet, with the vMix webcontroller, so that I can trigger 12+12 players and some other stats with the touch of button.
Will keep updating you guys here in this forum.

PS are you the hero posting the women's game on the SIdiots Facebook ?
ask  
#9 Posted : Tuesday, January 10, 2017 7:11:46 PM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
Ario wrote:
Hi Andrew,

yes Fiba (Europe) livestats;
i pushed it through a WordPress plugin (with cron jobs) once ... am now looking into X-path and seeing if I can make like 50 buttons on a tablet, with the vMix webcontroller, so that I can trigger 12+12 players and some other stats with the touch of button.
Will keep updating you guys here in this forum.

PS are you the hero posting the women's game on the SIdiots Facebook ?


Yep...that was our game. Hero? Or just SIdiot?

Are you using the TV Feed xml directly out of the Stats computer? Or capturing it off the LiveStats website?
Ario  
#10 Posted : Tuesday, January 10, 2017 7:20:29 PM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
ha ha heroic sidiot ;-)
Might have some tips for yer lower third ... will put them in the FB group.

External route, like last Sunday e.g.
http://live.fibaeurope.c...gameID=111576&lng=en

Our stats scouts are usually on a 4G dongle, whereas I have my exclusive Cable Internet LAN, so we are not on the same network/router.
The external route of course gives delay ... do you manage to do it internally (scouting PC) ?

Cheers
A
PS: our streams,
https://www.youtube.com/...qtuL1Nb4uHES0z1HCgIVbOi2
(latest at the very bottom)
ask  
#11 Posted : Tuesday, January 10, 2017 7:44:21 PM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
Fiba LiveStats has three ways to get stats out during a game.

1). the website that you access. And as you pointy out there is significant delay here. The Stats program pushes the xml file out every 60 sec. and then it is processed in the cloud and displayed. The webpages then refresh every 20-60 sec so there can be up to a 2 minute delay between the action and update.
2). Scoreboard out from the stats computer. This is turned on when you have a second monitor attached to the computer and is an overview of the summary stats.
3). The TV Feed- an xml push or pull of the game. To get this you need a special key from Genius Sports. This is the option that I want to make work as it is immediate and provides all of the game data in the one feed.

This is an example of the xml produced
File Attachment(s):
tvclient1712.txt (133kb) downloaded 27 time(s).

You cannot view/download attachments. Try to login or register.
Ario  
#12 Posted : Sunday, January 15, 2017 7:48:37 PM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Great point Andrew, will look into your option #3 as indeed we only use #1 and the delay is significant (understandably so, but still).

/a
ask  
#13 Posted : Sunday, January 15, 2017 11:44:56 PM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
Ario wrote:
Great point Andrew, will look into your option #3 as indeed we only use #1 and the delay is significant (understandably so, but still).

/a


If you find a way of filtering the xml so that vMix datasources will recognise it please let me know.

Talk to Genius Sports about access to a key. It is different to the standard key you get from Fiba.
Ario  
#14 Posted : Monday, January 16, 2017 8:12:11 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
I just e-mailed Genius Sports Andrew, hoping for a positive reply of course.
In the past, Nick Marzoli of FIBA IT has helped me out kindly several times, so that could be an alternative foot in the door.
Will keep you updated.
thanks 1 user thanked Ario for this useful post.
ask on 1/16/2017(UTC)
pvalentin1973  
#15 Posted : Sunday, April 2, 2017 8:23:34 PM(UTC)
pvalentin1973

Rank: Newbie

Groups: Registered
Joined: 4/2/2017(UTC)
Posts: 1
Location: Vienna

Hi,

I am not sure which Software you are using, I could not find it in this topic.

Years ago I used for some events the free software FIBA Europe Stats Suite (http://www.fibaeurope.com/cid_CLnADd0fJ4MZ8xgmecgDF0.html)
+ easy to handle
+ print statistics on paper
- has TV Feed, but could never find/get informations about it
+ could use the SQLite database, which the software is using to save the database (only pulling of statistics was possible)

So if you are using "FIBA LiveStats V6" (http://www.fibaorganizer.com/) then I some informations which should help you a lot.

"FIBA LiveStats V6" has some features which I like
+ statistics for single game, paper and online (live) statistics, and its for free (registration)
- need some learning time
+ also for federations/ tournaments
+ "TV Feed" (dont forget to turn it on), XML data provided via a IP-Service (each IP Address of the statistic computer Port 7676)
+ you can work local in the gym, but you net access to the statistic computer!!
+ XML format is well documented
+ you can write your own service, e.g. which give you informations about
* last score .. minutes ago
* player xxxx which x 3pt shot in ..."
+ with the installation, you get also the program "LiveStatsTVClient.exe" (in the installation path) which you can use to see the "TV Feed" live

Here some useful links to start with your work ...

FIBA/Genius Sport - Support:
http://sportingpulse.freshdesk.com/en/support/home

The entrance to "TV Feed", with document like XML description:
http://support.geniusspo...6-fiba-livestats-tv-feed

Software which provides a web-service (pull service) with simplified statistics:
http://public.mbt.lt/fib...vestats/tv_feed/adapter/

Hope I chould help you ...

Regards, Paul
Ario  
#16 Posted : Tuesday, April 4, 2017 4:16:22 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Thanks so much Paul !

I have part of this running quite well, and will certainly look into your input.
Will be a while, until I get around to that & will post a further update in this thread when I have news.

Cheers & all the best,
Arie
Ario  
#17 Posted : Friday, September 22, 2017 7:57:59 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 166
Location: NL

Thanks: 164 times
Was thanked: 19 time(s) in 16 post(s)
Picking up my old thread:
now that FIBA Stats v7 is out:
is anyone using it to get data into vMix (or into Caspar or NewBlueFX) ?
The info is at http://developer.geniuss...ed/index_basketball.html

Any good practices are welcome. Thanks so much in advance.
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.