NBA Highlights Video Generator
Videos
Posted on NBA Full Play Highlights.
Author
Ronen Huang
Time Frame
August 2025 to Present
FFmpeg Build
Download from https://www.gyan.dev/ffmpeg/builds/.
Ollama Build
Download from https://ollama.com/download and pull one time.
ollama pull llama3.1
NBA Team Abbreviations
- atl - Atlanta Hawks
- bkn - Brooklyn Nets
- bos - Boston Celtics
- cha - Charlotte Hornets
- chi - Chicago Bulls
- cle - Cleveland Cavaliers
- dal - Dallas Mavericks
- den - Denver Nuggets
- det - Detroit Pistons
- gsw - Golden State Warriors
- hou - Houston Rockets
- ind - Indiana Pacers
- lac - Los Angeles Clippers
- lal - Los Angeles Lakers
- mem - Memphis Grizzlies
- mia - Miami Heat
- mil - Milwaukee Bucks
- min - Minnesota Timberwolves
- nop - New Orleans Pelicans
- nyk - New York Knicks
- okc - Oklahoma City Thunder
- orl - Orlando Magic
- phi - Philadelphia 76ers
- phx - Phoenix Suns
- por - Portland Trail Blazers
- sac - Sacramento Kings
- sas - San Antonio Spurs
- tor - Toronto Raptors
- uta - Utah Jazz
- was - Washington Wizards
Manually Make Videos
The full play videos can be made from the reliable play by play rather than the unreliable box score.
from nba_video_generator.beta_search import pipeline
pipeline(
[
("DiVincenzo", "2026-04-20", "min"),
],
{
"ffmpeg_path": r"C:\Users\ronen\Documents\Projects\nba_video_generator\src\nba_video_generator\ffmpeg-2025-10-21-git-535d4047d3-essentials_build\bin\ffmpeg.exe"
}
)
A date range can be specified as well.
from nba_video_generator.beta_search import pipeline
pipeline(
[
("Booker", "2026-04-19", "2026-04-27", "phx"),
],
{"ffmpeg_path": r"C:\Users\ronen\Documents\Projects\nba_video_generator\src\nba_video_generator\ffmpeg-2025-10-21-git-535d4047d3-essentials_build\bin\ffmpeg.exe"}
)
Process
- Specify the player last name (as per NBA.com website), team abbreviation, and date(s) (yyyy-mm-dd).
- Programs crawls through play by play by quarter, keeping a list of links and times.
- Events within 5 seconds of each other are merged to a single event.
- Plays are concatenated together to make the video.
A video of the process is provided below.
https://www.youtube.com/watch?v=84GDSAL5CeE
Automatically Make Videos With Agent - NEW
Makes videos of the LLM determined best player performances of specified date.
from nba_video_generator.run_agent import nba_agent
date = "2025-12-25"
ffmpeg_path = r"C:\Users\ronen\Documents\Projects\nba_video_generator\src\nba_video_generator\ffmpeg-2025-10-21-git-535d4047d3-essentials_build\bin\ffmpeg.exe"
nba_agent(date, ffmpeg_path)
Release files for nba-video-generator 3.0.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nba_video_generator-3.0.22.tar.gz | 26.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nba_video_generator-3.0.22-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.1 kB
Release files / nba_video_generator-3.0.22.tar.gz
| Download URL | nba_video_generator-3.0.22.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bedb12f419a33e4d39035e9e3f4c6c9de4868f549c6b376e38b2c137811c00cf
|
|
BLAKE2b-256 checksum How to use checksums |
d981596eb789e1193ee5dcab8014eee51ba395a4f291b52e1700202b3960e23f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / nba_video_generator-3.0.22-py3-none-any.whl
| Download URL | nba_video_generator-3.0.22-py3-none-any.whl |
|---|---|
| Size | 31.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b4239c627fa43b25856a549729d9ef665e203cde31891816650206cbeb55254
|
|
BLAKE2b-256 checksum How to use checksums |
c5b390d443148fc9137e932fa182611516173df47e377dc5d1cdfe1d03ad79d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log