Documentation
¶
Overview ¶
Command episodes builds the course's YouTube episodes. Each lesson's shot list in docs/learn/episodes/NN.yaml names the cards, the terminal clips (a VHS tape each, recorded against the demo API from a scratch directory holding the files the lesson has created by then) and the push-ins, with the lines the voice says over each shot. Those lines set the timing: a shot runs as long as they take to say, or as long as its clip, whichever is longer, so a voice recorded afterwards to the captions fits the cut. Given a voice directory (-voice) holding one recorded clip per line, the shots are timed to the recording instead and the clips go on the audio track, so the cut fits the voice rather than the other way round. For each episode it writes, under dist/episodes: the captioned MP4 with a silent track where the voice goes, a clean MP4 without captions, their voiced copies when there is a voice, the captions as SRT, the YouTube title, chapters and description (from docs/learn/_episode-template.md), the narration script and the thumbnail. Run it with `task episodes` (vhs, ttyd, ffmpeg and a chromium on PATH); `task episodes:check` validates every shot list and tape with vhs alone, recording nothing; `task episodes:voice` muxes a narration recorded in one take onto an episode already built.