name: caption-sync
description: Creates and synchronises subtitles and captions for video, aligning timings to speech, splitting lines at natural pauses, and enforcing reading-speed and platform limits. Use when adding captions to a video, fixing captions that drift, or preparing subtitles for translation.
license: MIT
metadata:
author: community-list
version: "1.0.0"
created: "2026-11-22"
Caption Sync
Captions are read at a different speed than speech is heard. Good captions follow the speech
rhythm, respect reading limits, and never cover the thing the viewer is looking at.
When to use
- Adding captions to a video.
- Existing captions drift out of sync.
- Preparing subtitles for translation.
- Repurposing long video into short clips.
Workflow
1. Get an accurate transcript first
Machine transcription gives a starting point, not a finished caption file. Correct:
- names, brands, and technical terms;
- numbers, units, and currency;
- filler words, if the style guide removes them (be consistent);
- homophones that change meaning (
their/there, principal/principle).
Keep a copy of the raw transcript; re-transcribing to fix one word loses other corrections.
2. Split into caption cues
Rules per cue:
| Rule |
Value |
| Characters per line |
32–42 (CPS-dependent) |
| Lines per cue |
1–2 |
| Duration |
1.0–6.0 s |
| Reading speed |
≤ 17 characters per second for adult content |
| Gap between cues |
≥ 2 frames, so the eye registers a change |
| Minimum duration |
1.0 s, even for a short word |
Break at natural boundaries: clause ends, punctuation, breath pauses. Never split an article
from its noun (the / table) or a name across cues.
3. Align to the waveform
- Snap cue in-points to the first phoneme, not to silence before it. Late captions feel laggy;
100 ms early is more comfortable than 100 ms late.
- Snap out-points to the end of the last phoneme, then extend slightly into the pause.
- Check drift at 0%, 25%, 50%, 75%, and 100% of the runtime. Constant offset → shift everything.
Increasing drift → wrong frame rate (23.976 vs 24, 25 vs 25 fps), fix the conversion, not each
cue.
4. Handle the awkward cases
| Case |
Approach |
| Overlapping speech |
Two cues on separate lines, or one cue with speaker labels |
| Very fast speech |
Reduce text (remove filler), do not exceed reading speed |
| Song lyrics |
Caption only if licensed; otherwise [music] |
| Sound effects |
[door slams] in square brackets, only if meaningful |
| Speaker changes |
Use a label or a consistent colour; state the convention |
| Text already on screen |
Do not duplicate it verbatim in a caption over it |
5. Position safely
- Keep captions out of the lower-third where platform UI overlays them (especially 9:16).
- Avoid covering faces, product labels, or on-screen text.
- Use a background box or outline sufficient for contrast over any frame; check on the brightest
and darkest shots.
6. Export and verify
- Primary:
.srt or .vtt in UTF-8 without BOM.
- Burned-in variant only if the platform requires it; keep the sidecar file too.
- Play the full video once with captions on. Check: no cue is unreadable, none is out of sync,
none is truncated mid-word, and no cue is under 1 second.
Rules
- Never machine-translate a caption file without a native-speaker review pass.
- Never exceed the reading-speed limit to preserve every spoken word; edit the text.
- Never let a cue span a scene cut.
- Never put a caption where it hides the subject's mouth in a talking-head video if it can be
avoided.
- Preserve speaker labels consistently; do not invent names.
Output format
captions/
├── transcript.raw.txt
├── transcript.corrected.txt
├── captions.srt
├── captions.vtt
└── CAPTION_NOTES.md # conventions, reading speed, known issues, translation status
Error handling
| Condition |
Action |
| Audio is unintelligible for a passage |
Mark [inaudible 00:04:12]; do not invent dialogue |
| Frame rate mismatch detected |
Convert timings with the correct ratio; report the factor used |
| Multiple speakers overlap heavily |
Use positional captions and a speaker key; note reduced readability |
| Platform requires burned-in captions |
Produce both burned-in and sidecar; keep the sidecar as the source of truth |
Example
Input: 12-minute interview, 25 fps, YouTube plus vertical clips.
Output: a corrected transcript, 214 cues at ≤17 CPS, zero cues over 6 s, a note that two
passages were inaudible, and a second vertical-safe caption track positioned above the UI zone.
1---2name: caption-sync3description: Creates and synchronises subtitles and captions for video, aligning timings to speech, splitting lines at natural pauses, and enforcing reading-speed and platfo4---5---6name: caption-sync7description: Creates and synchronises subtitles and captions for video, aligning timings to speech, splitting lines at natural pauses, and enforcing reading-speed and platform limits. Use when adding captions to a video, fixing captions that drift, or preparing subtitles for translation.8license: MIT9metadata:10 author: community-list11 version: "1.0.0"12 created: "2026-11-22"13---1415# Caption Sync1617Captions are read at a different speed than speech is heard. Good captions follow the speech18rhythm, respect reading limits, and never cover the thing the viewer is looking at.1920## When to use2122- Adding captions to a video.23- Existing captions drift out of sync.24- Preparing subtitles for translation.25- Repurposing long video into short clips.2627## Workflow2829### 1. Get an accurate transcript first3031Machine transcription gives a starting point, not a finished caption file. Correct:3233- names, brands, and technical terms;34- numbers, units, and currency;35- filler words, if the style guide removes them (be consistent);36- homophones that change meaning (`their`/`there`, `principal`/`principle`).3738Keep a copy of the raw transcript; re-transcribing to fix one word loses other corrections.3940### 2. Split into caption cues4142Rules per cue:4344| Rule | Value |45|------|-------|46| Characters per line | 32–42 (CPS-dependent) |47| Lines per cue | 1–2 |48| Duration | 1.0–6.0 s |49| Reading speed | ≤ 17 characters per second for adult content |50| Gap between cues | ≥ 2 frames, so the eye registers a change |51| Minimum duration | 1.0 s, even for a short word |5253Break at natural boundaries: clause ends, punctuation, breath pauses. Never split an article54from its noun (`the` / `table`) or a name across cues.5556### 3. Align to the waveform5758- Snap cue in-points to the first phoneme, not to silence before it. Late captions feel laggy;59 100 ms early is more comfortable than 100 ms late.60- Snap out-points to the end of the last phoneme, then extend slightly into the pause.61- Check drift at 0%, 25%, 50%, 75%, and 100% of the runtime. Constant offset → shift everything.62 Increasing drift → wrong frame rate (23.976 vs 24, 25 vs 25 fps), fix the conversion, not each63 cue.6465### 4. Handle the awkward cases6667| Case | Approach |68|------|----------|69| Overlapping speech | Two cues on separate lines, or one cue with speaker labels |70| Very fast speech | Reduce text (remove filler), do not exceed reading speed |71| Song lyrics | Caption only if licensed; otherwise `[music]` |72| Sound effects | `[door slams]` in square brackets, only if meaningful |73| Speaker changes | Use a label or a consistent colour; state the convention |74| Text already on screen | Do not duplicate it verbatim in a caption over it |7576### 5. Position safely7778- Keep captions out of the lower-third where platform UI overlays them (especially 9:16).79- Avoid covering faces, product labels, or on-screen text.80- Use a background box or outline sufficient for contrast over any frame; check on the brightest81 and darkest shots.8283### 6. Export and verify8485- Primary: `.srt` or `.vtt` in UTF-8 without BOM.86- Burned-in variant only if the platform requires it; keep the sidecar file too.87- Play the full video once with captions on. Check: no cue is unreadable, none is out of sync,88 none is truncated mid-word, and no cue is under 1 second.8990## Rules9192- Never machine-translate a caption file without a native-speaker review pass.93- Never exceed the reading-speed limit to preserve every spoken word; edit the text.94- Never let a cue span a scene cut.95- Never put a caption where it hides the subject's mouth in a talking-head video if it can be96 avoided.97- Preserve speaker labels consistently; do not invent names.9899## Output format100101```102captions/103├── transcript.raw.txt104├── transcript.corrected.txt105├── captions.srt106├── captions.vtt107└── CAPTION_NOTES.md # conventions, reading speed, known issues, translation status108```109110## Error handling111112| Condition | Action |113|-----------|--------|114| Audio is unintelligible for a passage | Mark `[inaudible 00:04:12]`; do not invent dialogue |115| Frame rate mismatch detected | Convert timings with the correct ratio; report the factor used |116| Multiple speakers overlap heavily | Use positional captions and a speaker key; note reduced readability |117| Platform requires burned-in captions | Produce both burned-in and sidecar; keep the sidecar as the source of truth |118119## Example120121**Input:** 12-minute interview, 25 fps, YouTube plus vertical clips.122**Output:** a corrected transcript, 214 cues at ≤17 CPS, zero cues over 6 s, a note that two123passages were inaudible, and a second vertical-safe caption track positioned above the UI zone.