Skip to content

Explainer videos: one narrated ~2-minute video per step - #4

Merged
ruikelyu merged 2 commits into
mainfrom
videos
Nov 8, 2026
Merged

ruikelyu merged 2 commits into
mainfrom
videos

Conversation

@ruikelyu

@ruikelyu ruikelyu commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • tools/videos/ renders a 1080p explainer video of about 2 minutes for each step: LSTN, cRTN, PSI, D3R and VPP.
    • common.py is a small framework: scenes with narration, matplotlib frames, macOS say for the voice, and ffmpeg to assemble the result.
    • Each run writes the .mp4, an .srt caption file (for YouTube) and a _script.md with the narration.
  • Every chart is drawn from indflex results. The paper-only numbers (cRTN 156.7 → 17.1 min, PSI 5.2%/8.5%, D3R 10,208 → 24 at 3.6%) are labelled as coming from the paper.
  • The LSTN video measures STN and LSTN solve times during rendering, so the narration always matches the chart.
  • Notebook 01 is re-executed on an idle machine. Its saved LSTN timing (18.5 s) came from a contended run; it is now 8.9 s for 200 factories, which matches the text.
  • The README layout section mentions tools/videos/.

Test plan

  • All five videos rendered, 99–126 s each (python tools/videos/<step>.py OUT_DIR)
  • Frame grids reviewed for every video: fonts, $ escaping, layout overlaps, and chart timing against the narration
  • Notebook 01 re-executed end to end
  • CI (tests, package, notebooks)

🤖 Generated with Claude Code

tools/videos/ renders a 1080p video for LSTN, cRTN, PSI, D3R and VPP.
Charts are drawn from indflex results with matplotlib, narration uses
macOS `say`, and ffmpeg assembles the video, SRT captions and a script.
The LSTN video measures solve times while rendering, so the narration
always matches the chart.

Notebook 01 is re-executed on an idle machine; its saved LSTN timing
had been inflated by a contended run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Sorry @ruikelyu, your pull request is larger than the review limit of 150,000 diff characters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ruikelyu
ruikelyu merged commit 4d29fcd into main Nov 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant