Short-Form Captions
Use When
- The user wants captions that feel native to short-form platforms
instead of generic subtitles.
- You need to decide how captions should look, pace, group, animate,
and sit against the frame.
- You are changing caption styling, timing, emphasis, or readability in
this repo.
- You need to translate a creative brief into a caption treatment and
then implement it in the repo's render stack.
Non-Negotiables
- Captions are part of the edit, not an afterthought.
- Start from clean speech timing. Bad timestamps cannot be fixed by
styling.
- Never use already-captioned published shorts as raw footage.
- Keep captions inside platform-safe zones.
- Reject caption layouts that force the viewer to read full sentences at
once while the cut keeps moving.
- Prefer fewer, stronger words on screen over perfect transcript
fidelity.
Style Selection
capcut: default kinetic short-form treatment. Use for creator-led
explainers, product hooks, punchy commentary, and most general shorts.
tiktok: bold uppercase with pill highlight. Use when you want the
caption treatment to feel obviously native and high-contrast.
youtube: cleaner educational style. Use when the information density
is higher and you want less visual aggression.
reels: vibrant lifestyle treatment. Use when the visuals are softer
or more aesthetic and the captions should feel less industrial.
hormozi: large centered impact phrases. Use for hard-sell hooks,
numbers, and challenge/claim statements.
karaoke: word-by-word highlighting. Use when lyric feel, exact sync,
or spoken cadence is the point.
minimal: restrained business style. Use when the speaker and
composition should dominate.
boldorneon: use sparingly for hooks, gaming, or entertainment
where impact matters more than density.
Read style-recipes.md before changing the
caption treatment. That file is the fast map from content type to
layout, emphasis, and motion choices.
Visual Rules
- Hooks want short chunks, heavier emphasis, and faster turnover.
- Educational content wants steadier paging, lower CPS, and fewer
effects.
- Numbers, negations, and payoff words deserve emphasis. Most other
words do not.
- Two clean lines beat one overstuffed line.
- Center captions only when the frame is simple or the style explicitly
demands impact.
- Bottom captions are default, but they still need enough edge distance
to survive platform chrome.
- Use background-pill highlighting when the active word must snap
instantly. Use color-only highlighting when the frame is already busy.
- Uppercase increases punch but also visual load. Use it where energy
matters, not by default everywhere.
Technical Rules In This Repo
- Caption behavior lives in
src/render/captions/. config.tsis the full styling and pacing contract.presets.tsis the tested preset registry.paging.tsis where cleanup and grouped reading rhythm come from.Caption.tsxis the actual visual implementation in Remotion.render/service.tsresolves preset plus overrides and passes the
effective config into render.
Read technical-map.md before changing the
implementation. It maps the repo files to the design choices and notes
what this repo already borrowed from other short-form caption systems.
Implementation Workflow
- Pick the caption role: native-social, educational, impact, karaoke,
or restrained.
- Pick the closest existing preset. Do not start from scratch unless
the preset family is genuinely wrong.
- Tune layout first:
maxCharsPerLine, maxLinesPerPage, maxWordsPerPage,
maxCharsPerSecond, minOnScreenMs.
- Tune emphasis second:
highlight mode, emphasis rules, word animation, stroke, shadow.
- Tune placement third:
position, edge distance, safe zones, badge spacing.
- Only then tune polish:
page animation, timing offset, font choice, special notation.
- Validate against actual rendered video, not just JSON or screenshots.
Failure Cases To Catch
- Source footage already has burned-in text.
- Chunks flash too quickly to read.
- Captions cover faces, UI, or gameplay affordances.
- Every word is emphasized, which means nothing is emphasized.
- Stroke and shadow are fighting each other and making edges muddy.
- The style matches neither the content nor the platform.
- The captions are technically in sync but feel late because the visual
emphasis lands after the spoken punch.
Validation Checklist
- The chosen preset matches the content type.
- Average chunks can be read once without replay.
- Active-word emphasis lands on the important word, not a filler word.
- The frame remains readable on a phone-sized viewport.
- Safe-zone placement survives TikTok/Reels/Shorts overlays.
- The rendered result looks intentional without relying on already-made
demo footage.