heavenchenggong

Demo Video Subtitler — Development skill for Claude Code

Development community

Agent skill: caption a screen-recorded product demo — analysis, copy, styling, focus-aware placement, ffmpeg burn-in.

How to install Demo Video Subtitler

This entry records only its repository, not the path inside it, so there is no exact command to give. Open heavenchenggong/demo-video-subtitler and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Demo Video Subtitler does

Agent skill: caption a screen-recorded product demo — analysis, copy, styling, focus-aware placement, ffmpeg burn-in.

Alternatives in Development

README

demo-video-subtitler

An agent skill that turns a screen-recorded product demo into a captioned, shareable video: analyse the recording, write the caption copy, style it, place it so it never hides the thing being demonstrated, and burn it in with ffmpeg.

Built for the case where a demo is silent (or its audio is only background music) and its UI is in the wrong language for the audience — the caption has to carry the whole story.

What it does

Phase Output
1. Inventory duration, resolution, and whether the audio is speech, music, or nothing
2. Visual analysis beat sheet, verbatim on-screen UI text, pixel map of the demo panel
2.5 Timing calibration every cue pinned to the moment the operator actually acted — not to when text appeared
3. Caption copy one idea per cue, measured against a per-script reading-speed budget
4. Style white text, thick coloured outline, soft halo (two ASS layers)
5. Placement anchored next to the current focus — beside a side panel, under a toast, in a measured gap
6. Burn-in hard subtitles via libass; the source audio track is preserved
7. Verify frame-level checks for occlusion, clipping, and reading speed
8. Delivery swap the burned file into a site or offline mirror, verify through the server

Also covered: **batch mode** for a 10–40 video series (one config per video, timing patched by cue index, burn serially, verify in labelled sheets), and the **accumulating-viewport trap** — in an agent console the whole conversation stays on screen, so "OCR found this keyword at t=X" is not when the click happened. That single mistake cost three re-timing passes.

Quick start

git clone  && cd demo-video-subtitler

scripts/bootstrap.sh --dry-run     # what is missing on this machine?
scripts/bootstrap.sh               # install it (asks once)

scripts/probe.sh my-demo.mp4       # inventory
scripts/split_frames.sh my-demo.mp4 frames/ 2
scripts/doctor.sh