Skip to content

v0.5.1 — clean self-recorded screen footage (M101) + the cp950 build crash (M102)

Choose a tag to compare

@Hao0321 Hao0321 released this 25 Jun 13:38
· 77 commits to main since this release

Two new field-lessons from a teaching long-form rebuild (knowledge-only; no code change).

  • M101 — cleaning self-recorded screen footage used as b-roll. The reliable fix is to re-record with the target app maximized (covering the browser / AI panels / IDE beside it) and crop only the OS taskbar — not to post-crop, which clips panels and leaves blur bars (and the app's own UI isn't PII, so don't over-crop). Plus: the clean window can be in the middle (recorder/notification UI is often at both ends → dense per-second scan, bound extraction to the clean core); a "short" played inside a full browser page needs cropping to the player rectangle (bookmark bar + others'-videos sidebar leak otherwise); and a low-res contact sheet hides chrome — check each main-footage window at full resolution.
  • M102 — the Windows cp950 build crash. When a build script's stdout is redirected to a file/pipe it defaults to cp950, so a `print()` containing `≤` / `✓` / emoji throws `UnicodeEncodeError` and kills the whole build — and only in background/scheduled runs, never interactively. Reconfigure stdout/stderr to UTF-8 at the top of every build script + pass `PYTHONIOENCODING=utf-8` to subprocesses; test once in redirect mode before shipping.

`knowledge/programmatic-video-build.md` §0 now carries both notes. `M1-M100` → `M1-M102` across the docs.

Examples + all module self-tests pass. Sanitization verified by a 5-angle adversarial PII scan returning zero (M100).