来源信息
- 仓库
- remotion-dev/remotion
- 最近来源活动
- 2026年9月29日 12:37
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 61,066
- 分支
- 4,714
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
6 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- remotion-captions
- description
- Transcribing, displaying and animating captions
- version
- 4.0.530
All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:
```ts
import type { Caption } from "@remotion/captions";
```
This is the definition:
```ts
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](transcribe-captions.md) file for more instructions.
## Displaying captions
To display captions in your video, load the [display-captions.md](display-captions.md) file for more instructions.
## Importing captions
To import captions from a .srt file, load the [import-srt-captions.md](import-srt-captions.md) file for more instructions.
## Post-creation
After you're done, load this skill: [Remotion Best Practices](../remotion-best-practices/SKILL.md)
If not alreay done, open the Remotion Studio, unless instructed otherwise.
在 GitHub 查看