# Remotion Captions

> Guides the agent through captions in Remotion videos: stores them as JSON using the Caption type from @remotion/captions, transcribes audio or video to generate them, imports .srt files, and displays and animates them in compositions. Official Remotion skill.

- Type: Skill
- Repository: https://github.com/remotion-dev/skills/tree/main/skills/remotion-captions
- Page: https://hebbmind.com/ja/skill/remotion-captions
- Stars: 5316
- Professions: [Frontend](https://hebbmind.com/ja/tools.md?profession=frontend), [Video / Media](https://hebbmind.com/ja/tools.md?profession=media)
- Tags: video-generation, video-editing, remotion, react
- Listed on: 2026-10-08

## Install

### Claude Code

```bash
npx skills add remotion-dev/skills --skill remotion-captions -a claude-code -y
```

### Codex

```bash
npx skills add remotion-dev/skills --skill remotion-captions -a codex -y
```

## README

> The content below comes from the upstream repository https://github.com/remotion-dev/skills/tree/main/skills/remotion-captions . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

```yaml
name: remotion-captions
description: Transcribing, displaying and animating captions
version: 4.0.536
```

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](https://github.com/remotion-dev/skills/blob/main/skills/remotion-captions/transcribe-captions.md) file for more instructions.

## Displaying captions

To display captions in your video, load the [display-captions.md](https://github.com/remotion-dev/skills/blob/main/skills/remotion-captions/display-captions.md) file for more instructions.

## Importing captions

To import captions from a .srt file, load the [import-srt-captions.md](https://github.com/remotion-dev/skills/blob/main/skills/remotion-captions/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.

