top of page
Engineering Background.png

Engineering

Blog posts containing technical projects

Wallpaper

Building a Custom Vizrt Scorebug with Live Player Data

Apr 13
2 min read

Updated: Jul 7

I recently led a project to engineer and optimize dynamic scorebug updates for our live Football, Basketball, and Softball broadcasts. To achieve this, I built a custom Python script running a Flask server that writes key-value pairs to a text file. Vizrt’s DataCenter then parses this data, allowing dynamic text fields within Viz Artist to update automatically in real-time.


The scorebug’s graphical assets were designed by Ted Dougherty, with the initial animation framework built in Viz Artist by Ethan Hallas. When integrating my dynamic backend, I discovered the original graphic assets were not correctly sized for the engine. To resolve this and preserve the animation logic, I restructured the scene architecture, utilizing three large base pieces controlled by custom masks.




Building Dynamic Base-Runner Logic for Softball

For softball broadcasts, I developed a solution to display dynamic base-runner graphics. I structured a layer where each base references a specific file name driven by binary logic (e.g., base1=1 triggers visibility). While this logic is highly effective, the Viz engine currently reloads for a brief second when the value updates having a minor rendering flicker that I am actively working to optimize.



Integrating Live Player Stats via XML Scraping

To push the broadcast's production value further, I integrated live player statistics. Since our athletics department utilizes Sidearm Stats I leveraged their live XML feeds. By identifying each player's unique data identifier, I developed a Python script that scrapes and parses the live XML feed every few seconds.

This backend powers a custom control interface for the graphics operator, who can seamlessly select a specific player and highlight three targeted stats on-air. The interface pushes these updates as key-value pairs directly to DataCenter.


To automate the player headshots, I standardized our asset management workflow. Producers now export transparent headshots named exclusively by the athlete's unique ID. In Viz Artist, I configured a dynamic image path for each team, setting a prefixed directory on the control object that instantly calls the correct graphic based on the active player ID.




 
 
bottom of page