一键导入
remotion-captions
Dealing with captions in Remotion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Dealing with captions in Remotion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multimedia handling with the Mediabunny library
Creating a new Remotion video
Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.
Best practices for writing Remotion React Markup
Best practices for rendering videos
Building video apps with Remotion - framework, rendering and Player advice
| name | remotion-captions |
| description | Dealing with captions in Remotion |
| metadata | {"tags":"subtitles, captions, remotion, json"} |
All 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;
};
To transcribe video and audio files to generate captions, load the transcribe-captions.md file for more instructions.
To display captions in your video, load the display-captions.md file for more instructions.
To import captions from a .srt file, load the import-srt-captions.md file for more instructions.