remotion-captions
About remotion-captions
remotion-captions is a skill for handling captions in Remotion videos. It guides transcription, display, and SRT import using a JSON caption format.
Key features
- 01JSON 字幕格式
- 02音视频转录指引
- 03字幕显示指引
- 04SRT 字幕导入指引
Use cases
- 01将视频或音频转录为字幕
- 02在 Remotion 视频中显示字幕
- 03从 SRT 文件导入字幕
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ remotion-dev/ skills --skill remotion-captionsAfter installing, type/remotion-captionsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
display-captions.mdimport-srt-captions.mdtranscribe-captions.mdagents/openai.yamlassets/remotion-icon.svgDetails
From the project READMEAll captions must be processed in JSON. The captions must use the Caption 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;
};
Generating captions
To transcribe video and audio files to generate captions, load the transcribe-captions.md file for more instructions.
Displaying captions
To display captions in your video, load the display-captions.md file for more instructions.
Importing captions
To import captions from a .srt file, load the import-srt-captions.md file for more instructions.
Post-creation
After you're done, load this skill: Remotion Best Practices
If not alreay done, open the Remotion Studio, unless instructed otherwise.