Community编程与开发github.com

remotion-captions

Dealing with captions in Remotion

remotion-captions 是什么?

remotion-captions is a Claude Code agent skill that dealing with captions in Remotion.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/remotion-dev/skills/tree/main/skills/remotion-best-practices/remotion-captions

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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;
};

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.

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

相关技能