remotion-dev/skills

remotion-captions

Transcribing, displaying and animating captions

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/remotion-dev/skills --skill remotion-captions

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

All captions must be processed in JSON. The captions must use the `Caption` 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 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.

from this repository

More skills

All skills