Data / tutorials / q23-video-frames
Tutorial Q-23: Read a video frame by frame and save every tenth frame
Tutorial
Read a running clip's header, loop over its frames, save every tenth picture on your own computer, and publish a table with one row per frame.
Files for the tutorial Read a video frame by frame and save every tenth frame (https://apopt.com/course/tutorials/q23-video-frames/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.
Some inputs are linked rather than copied: runner.mp4
Files
| File | Size | Rows | What it is |
|---|---|---|---|
| clean/frames.csv | 591 B | 22 rows | Cleaned copy written by the tutorial |
| expected/printed-output.txt | 1.2 KB | Everything the tutorial prints, cell by cell |
Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.
Preview of clean/frames.csv
| frame | t_s | brightness | change | saved |
|---|---|---|---|---|
| 0 | 0.0 | 125.0 | True | |
| 1 | 0.033 | 126.3 | 34.62 | False |
| 2 | 0.067 | 127.9 | 35.2 | False |
| 3 | 0.1 | 129.6 | 34.68 | False |
| 4 | 0.133 | 130.9 | 32.94 | False |
| 5 | 0.167 | 132.4 | 32.44 | False |
| 6 | 0.2 | 133.8 | 31.91 | False |
| 7 | 0.233 | 134.8 | 30.96 | False |
First 8 of 22 rows.
Where it came from
- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission: Published with the course under CC BY 4.0
- Prepared with:
dda/tutorials/build.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q23-video-frames/clean/frames.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q23-video-frames/clean/frames.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-23: Read a video frame by frame and save every tenth frame. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q23-video-frames/