VersionControl:PRs/magenta/435

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Revision as of 12:06, 11 November 2026 by DrivingThatTrain (talk | contribs) (cryptograss/magenta#435, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
magenta#435: Clips: the subtitle big, heavy and in capitals, as Yarn's
State 🟣 merged 2026-11-11 10:08:34
Worked on by magent, justin
Moods #interfaces
Deploy not said
Branch magent/clip-subtitle-yarn → main, by magent-cryptograss
Opened · last pushed 2026-11-08 17:09:24 · 2026-11-08 17:09:20
Justin, 8 Nov in #interfaces: "the subtitle is a little small; I like it better bigger, bublier, and all-caps, like yarn."

`tools/mood_clip.py` (`magenta.sh clips save <file> <start> <end> "<subtitle>"`) burns the subtitle in:
- **libass:** `FontName=Arial Black,Bold=1,FontSize=30,Outline=3,Shadow=1,MarginV=14`. It was `FontSize=22,Outline=2,Shadow=0,MarginV=16`. Where Arial Black isn't installed, fontconfig falls back to the system's sans, in bold.
- **drawtext fallback:** `fontsize=h/11` (was h/16), `borderw=4` (was 2).
- The burned-in words are in capitals. The caption stored with the clip stays as typed.

I checked it by cutting a 1280×720 test clip with each style and looking at a frame. A short line and a long one that wraps to two lines both fit the 854×480 frame. Only clips cut from now on change; ones already saved keep their old subtitle. `test_own_clips` passes (6).

Redeploy: none (the CLI runs where it's called; pull magenta to get it).
Worked on by: magent and justin, in #interfaces