mcpField
R
remotion-captions

remotion-captions

github.com/remotion-devCreative & media66109 installsUpdated 4d ago
Repository

About remotion-captions

A Remotion skill for handling captions in video projects. It standardizes captions as JSON using the `Caption` type and points to guidance for transcription, display, and SRT import.

Key features

  1. 01JSON caption data using `Caption`
  2. 02Guidance for audio and video transcription
  3. 03Caption display instructions
  4. 04SRT caption import guidance

Use cases

  1. 01Prepare caption data for a Remotion project
  2. 02Transcribe audio or video for captions
  3. 03Import captions from an SRT file

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/remotion-dev/claude-code-plugin --skill remotion-captions

After installing, type/remotion-captionsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

display-captions.md
import-srt-captions.md
transcribe-captions.md
agents/
openai.yaml
assets/
remotion-icon.svg

Details

From the project README

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

Comments

Markdown supported