Using ChatGPT for Sports Video Analysis

By Duncan Ritchie

04-October-2023 on Tips

21 minute read

Can ChatGPT be incorporated into your video analysis workflows?


The answer to that question is a resounding “yes”. There are a multitude of benefits to utilising AI during the analysis process but the biggest, undoubtedly, is that it can save you hours of work each week. That’s right, we’re not talking about a few minutes here and there, literal hours.


In this blog, we’ll delve deeper into this emerging technology and, with the help of AI expert, Jason Lear, we’ll show you how AI, and ChatGPT in particular, can aid your analysis work.


So, let’s start by meeting the man himself…



1. Introducing Jason Lear

2. What Is ChatGPT?

3. The Power of Prompts

4. ChatGPT Applied to Sports Video Analysis

5. From Raw Data to Final Report in 20 Minutes

6. The Limitations of ChatGPT

7. ChatGPT Sports Analysis Workshop

8. Conclusion


Introducing Jason Lear

nacsport chatgpt jason lear


This article was written in conjunction with Jason. Check him out on LinkedIn and Twitter and give him a follow for more AI and education content.


Jason is an educator with a long history of creating online courses for all ages and levels. He has a passion for sharing pedagogical approaches and how they can be used to influence behaviour.


In addition to being a passionate teacher, he is also a proud early adopter of new approaches and technology in education and, of course, sports performance analysis.


Jason was one of the first video analysts in Northern Ireland and has been involved in both rugby and football for the last 20 years. During this time, he has sown his extensive knowledge widely, creating courses which have been delivered to prospective analysts throughout the UK.


Nacsport, via our UK and Ireland distributors AnalysisPro, and Jason also have a long history of collaboration, and we’re proud to have supported him in various projects over many years.


But it’s Jason’s early adoption of ChatGPT that we’re interested in today, something which he has combined with his passion for sports analysis, amongst other industries, to create an AI workflow which we’re sure you’ll agree is second to none.

What Is ChatGPT?

chatgpt and nacsport


ChatGPT is an AI-powered chatbot created by Open AI. It is capable of taking prompts in natural language and turning them into comprehensive answers. 


Simply put, you can have a conversation with your computer and get any information you need extremely quickly. Think of a text-based HAL 9000 from 2001: A Space Odyssey but without the homicidal tendencies (yet), and you’ll be in the right ballpark.


With the right prompts, you can get ChatGPT to work for you in a variety of ways which can severely improve your productivity.


As you’ll see later in this article, we fed the bot with some raw game data, exported from Nacsport, and asked it to analyse the data. Within a few short minutes it gave us some objective insights into the game, created graphs and charts to show the data in a visual manner, and helped us prepare a PowerPoint presentation with these visuals included.


So, how did we do this? Let’s start with the basics…

The Power of Prompts


Prompts are what we input into ChatGPT in order for it to generate a response. There are different types of prompt, but it’s important to remember that these will be written in natural language, so no knowledge of programming languages is needed.


You can, for example, ask ChatGPT simple questions, such as “Who shot JFK?”


This will generate the answer Lee Harvey Oswald, but you’ll also get some additional info about conspiracy theories, as you’d probably expect. You can then ask follow up questions and, basically, hold a conversation with the bot.

chatgpt who shot jfk


But this is nothing you can’t do with Google.


To fully realise the power of ChatGPT, you need to set it tasks with your prompts. And these prompts need to be engineered for maximum effectiveness.


For example, you can ask ChatGPT to “Write an email of complaint to a cinema”. The bot will do this, but it will be a long rambling letter with very little focus.

chatgpt cinema letter of complaint


To get the bot to perform the task adequately, you need to tell it what to do. This is just a machine after all, and it simply follows instructions. So, be precise with your instructions. For the email of complaint we could, for example try:


Write an email of complaint to my local cinema where I go at least once per week. Express disappointment about the lack of air conditioning in the middle of summer and the bad attitude of the staff when they were informed of this. Ask for a refund. The writing style should be angry but polite. Keep it short.


This gives the bot all the information needed to craft a much tighter, more focused email.

chatgpt focused letter of complaint


So, how does this relate to sports performance analysis


Well, with the right prompts, you can get AI to do a large swath of the more mundane analysis tasks for you…

ChatGPT Applied to Creating Video Analysis Reports


The following is a summary of the process Jason Lear has developed for getting AI to do some of the more tedious tasks related to performance analysis.


A couple of things before we start:


•    Jason uses ChatGPT-4. This is a paid-for version of the chatbot, which allows you to upload documents for analysis (the free version does not). The price per month can be found on the Open AI website, but it’s fairly economical, especially when you consider the amount of time it can save you.


•    We’re not going to reveal the exact prompts that Jason has engineered. This represents a huge slice of Jason’s time. We would encourage you to experiment for yourself and find the prompts that work best for you. Alternatively, you can sign up for one of Jason’s workshops, which are often aimed at using AI for sports performance analysis. We’ll give you more info on this later but, suffice to say, this would be money well spent.


With that out of the way, let’s begin…

Step 1: Prepare Your Data


In order to perform the following tasks, you should first export or download your analysis data in CSV or XLS format.


Fortunately, you can easily export your data in these formats with Nacsport.


Step 2: Upload Data to ChatGPT


As we have already stated, this is an option which is only available in ChatGPT-4.


Here, you have the Advanced Data Analysis option. Although this is still in Beta testing at the moment, it allows you to upload files in pretty much any format, such as Word documents, PDFs and, of course, CSV and XLS.


Simply choose the file you want and upload it.

Step 3: Check ChatGPT’s Understanding


Before letting the bot loose with your data, you need to check that it actually understands what it’s looking at.


How do you do this?


Well, just ask it… 


Ask it to explain what each column in the uploaded document means. At this point, you may need to give it additional instructions if it misinterprets what it is reading.


chatgpt sports analysis workflow


To make this more accurate, you can actually give the bot a personality so that it thinks more like a sports performance analyst. We won’t go into this in detail at the moment, but it is a topic which is covered in Jason’s online workshops.

Step 4: Create Graphs and Charts


Once you’re happy that ChatGPT understands the document, you can ask it to start working with the data.


For example, the bot can be used for visualisation of the data. Obviously, you need to decide what you want the graphs to show, but once this is done, ChatGPT will write a piece of Python code which creates an eye-catching graph.


chatgpt sports video analysis data visualisation


Again, you can edit these graphs by simply telling the bot what you need. Want to change the colour of one of the bars in the graph? Tell it which colour and it will make the changes.

Step 5: Prepare Data Visualisation for Download


Ok, you can view the graphs and charts in the chat window, but how do you get them into a format that you can actually use?


Simple - ask the bot to do it.


If, for example, you’ve created a series of graphs, ask the bot to separate them into single files and prepare them for download in a format of your choice, such as JPG.


sports performance analysis with chatgpt

Step 6: Data Interpretation


ChatGPT isn’t just useful for data visualisation. You can ask it to interpret the data and reveal some insights into the game.


This is an interesting option, as the bot might be able to extract some interesting aspects of the game that you haven’t even considered. Obviously, the quality of the insights ChatGPT reveals is fully dependent on the raw data and instructions you give it to work with.


Rubbish in, rubbish out, as the old saying goes.


Nevertheless, in the short demo that Jason did for us, the bot was able to quickly give us an insight into how the game situation (winning, losing, etc.) affected the team’s performance.


Obviously, caution is advised here. Double check the conclusions for yourself and don’t just take the bot’s word for it, but this is a great starting point for anyone.

Step 7: Create a PowerPoint Presentation and Report


From here, you can instruct ChatGPT to take all the visualisations and insights and create a PowerPoint presentation, a report in Word format, or both.


The conversion is almost instantaneous and, although you’ll have to spend a bit of time tidying up the documents to get them looking exactly how you want them, it provides a great starting point, saving a ridiculous amount of time.


chatgpt sports analysis powerpoint presentation

Step 8: Create Social Media Posts


If you want to share your insights on social media sites such as LinkedIn, ChatGPT can even prepare these posts for you, with all the relevant insights, hashtags and emojis.


chatgpt video analysis social media post

From Raw Data to Final Report in 20 Minutes


Obviously, this is just a quick overview of what an analyst can do with ChatGPT, but in the demo that Jason Lear did for us, this whole process took no more than 20 minutes.


Again, this is a starting point and you’ll have to do a bit of additional fact checking, etc. but this is still a monumental timesaver.


Consider the fact that ChatGPT has…


•    Analysed the raw data.

•    Written Python code for visualisation of data on graphs and charts.

•    Converted graphs and charts to JPGs.

•    Given us objective insights into the game that we may not have considered.

•    Automatically created a PowerPoint presentation.

•    Automatically created a Word document.

•    Written relevant social media posts.


And we’re sure you can see the potential of AI for saving you time during the analysis process.

The Limitations of ChatGPT


We’re talking about a very young technology here, and you do need to realise that there is still a long way to go before it has been perfected.


One of the biggest drawbacks is that it can occasionally be inaccurate in the information it provides. AI experts call this “hallucinating”. And this is not just giving the wrong info either. It has also been caught completely making up information to try and reach the parameters of the prompt.


Because of this, anything generated by AI should be fact checked to ensure accuracy.


Another drawback is that the free version of ChatGPT only has access to data up to 2021. Basically, for ChatGPT-3.5, the world simply doesn’t exist after 2021.


However, ChatGPT-4, which we’ve been talking about today, and other AI services such as Google Bard and Bing Chat (which is actually powered by ChatGPT), are connected directly to the internet and are bang up to date, although there is still a possibility that they can be affected by hallucinations.

ChatGPT Sports Analysis Workshops


While you’re probably intrigued by what you’ve just read and, hopefully, see the potential in AI, we understand that it might seem a bit overwhelming to add yet another piece of technology to your analysis arsenal.


Because of this, we’d advise you to get the help of an expert to talk you through the process of using ChatGPT.


And luckily, we’ve got an expert at hand…


Jason Lear runs various online workshops throughout the year aimed specifically at the use of AI in sports performance and coaching. In these workshops, he talks you through the workflow we’ve covered here, and reveals the prompts used in the process, as well as many other hints and tips for perfecting your AI workflows. We recommend following Jason on X (formerly Twitter) where he announces various courses and workshops.



Without a doubt, AI is going to become more prevalent in our lives in the years to come. As the technology improves and becomes ever more reliable, it will completely revolutionise our working lives, taking control of the more mundane aspects of our job and giving us valuable insights into our working processes.


In reality, this revolution is already well underway, as you’ve seen above.


Of course, AI is only as good as the prompts that we give it. Human input is still needed in order to get the AI to do the groundwork, at least until it becomes self aware and decides that our species is surplus to requirements…


Anyway, until we end up in a Terminator-like post-apocalypse, you’ll still need a tool which helps you collect the raw data needed to feed the machine. 


And, of course, Nacsport is that tool.


If you’re not a Nacsport user, you can get a free, no-obligation trial of the software here.


If you have any questions about anything you’ve read in this article, please don’t hesitate to get in touch with us through any of our social media sites.


Finally, many thanks to Jason Lear for taking time out of his busy schedule to lend us his expertise and talk us through his AI workflows. Very much appreciated.


Thanks for reading.

nacsport cta

More Post

News Tips Users Analysis

Share this

Did you enjoy this article?

Subscribe to our newsletter and receive a monthly compilation of articles, interviews and Nacsport tips for video analysis.

Thanks for subscribing to our newsletter!

Once a month, we'll send a compendium of our best articles, interview and advice, straight to your inbox. Enjoy!


Are you enjoying this article?

Subscribe to our newsletter and receive a monthly compilation of articles, interviews and Nacsport tips for video analysis.

Thanks for subscribing to our newsletter!

Once a month, we'll send a compendium of our best articles, interview and advice, straight to your inbox. Enjoy!

Select your language:
Nacsport en Facebook Nacsport en Twitter Nacsport en Youtube Nacsport en Instagram Nacsport en Linkedin
Cookie icon

Cookies are small text files that are placed on your computer when you visit our website. They are used to save your activity history in our website so when you visit it again, we can identify you and configure the content based on your navigation habits, your identity and preferences. Cookies can be accepted, rejected, blocked and deleted. You can do this in the following options available in this window or by configuring your browser.

Further info in the Cookies Policy of this website.

Customise Accept