Generates video highlights for an NBA player.
Project description
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/.
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
Beta
The full play videos can be made from the reliable play by play rather than the unreliable box score. This does not work for compilations yet.
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"
}
)
Process
- Specify the player last name (as per NBA.com website), team abbreviation, and date (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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nba_video_generator-3.0.5.tar.gz.
File metadata
- Download URL: nba_video_generator-3.0.5.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f114203e487b0219ba304fe2eff4976999dad743dda5556fa233f37d2443bba7
|
|
| MD5 |
ccac61dcc7167e09333ee6c2fd2f8759
|
|
| BLAKE2b-256 |
d6c33d29b1ae7b8ed132083b78c053fb6b81e6e02c07b6f3574e589108307f62
|
Provenance
The following attestation bundles were made for nba_video_generator-3.0.5.tar.gz:
Publisher:
python-publish.yml on ronenh24/nba_video_generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nba_video_generator-3.0.5.tar.gz -
Subject digest:
f114203e487b0219ba304fe2eff4976999dad743dda5556fa233f37d2443bba7 - Sigstore transparency entry: 1453738482
- Sigstore integration time:
-
Permalink:
ronenh24/nba_video_generator@e3838f7cd6a9c1c1857c219d6f34f6e5ee39f11a -
Branch / Tag:
refs/tags/v3.0.5 - Owner: https://github.com/ronenh24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e3838f7cd6a9c1c1857c219d6f34f6e5ee39f11a -
Trigger Event:
release
-
Statement type:
File details
Details for the file nba_video_generator-3.0.5-py3-none-any.whl.
File metadata
- Download URL: nba_video_generator-3.0.5-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d4e273bec996ad07235062ac129017a31ddb469a242e2c6d1012f70a0799908
|
|
| MD5 |
9c30a8b153a39707c9e6820904a82369
|
|
| BLAKE2b-256 |
63cfe2d78e62e7a795a6a0633a9b868787d64bf8086700590bce99b23a722f85
|
Provenance
The following attestation bundles were made for nba_video_generator-3.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on ronenh24/nba_video_generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nba_video_generator-3.0.5-py3-none-any.whl -
Subject digest:
2d4e273bec996ad07235062ac129017a31ddb469a242e2c6d1012f70a0799908 - Sigstore transparency entry: 1453738727
- Sigstore integration time:
-
Permalink:
ronenh24/nba_video_generator@e3838f7cd6a9c1c1857c219d6f34f6e5ee39f11a -
Branch / Tag:
refs/tags/v3.0.5 - Owner: https://github.com/ronenh24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e3838f7cd6a9c1c1857c219d6f34f6e5ee39f11a -
Trigger Event:
release
-
Statement type: