Skills
Skill 2 of 12
Transcribing, displaying and animating captions
1 minute · 67 words · 3 sections
Install
npx skills add remotion-dev/skills --skill remotion-captionsnpx skills add remotion-dev/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
All captions must be processed in JSON. The captions must use the Caption (opens in a new tab) type which is the following:
import type { Caption } from "@remotion/captions";This is the definition:
type Caption = {
text: string;
startMs: number;
endMs: number;
timestampMs: number | null;
confidence: number | null;
pageBreakAfter?: boolean;
};To transcribe video and audio files to generate captions, load the transcribe-captions.md (opens in a new tab) file for more instructions.
To display captions in your video, load the display-captions.md (opens in a new tab) file for more instructions.
To import captions from a .srt file, load the import-srt-captions.md (opens in a new tab) file for more instructions.
main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md./remotion-dev/skills.md, and each skill at its own .md URL.5 files · 11 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 2.
Templates, schemas and fixtures the skill draws on.
Everything else published alongside the skill.