Deft
Ask AI

Search

Search skills, authors and topics

remotion-dev / skills

remotion-captions

Transcribe, display, and animate captions in Remotion compositions.

Install

npx skills add https://github.com/remotion-dev/skills --skill remotion-captions
version
4.0.543

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 [blocked] file for more instructions.

Displaying captions

To display captions in your video, load the display-captions.md [blocked] file for more instructions.

Importing captions

To import captions from a .srt file, load the import-srt-captions.md [blocked] file for more instructions.

Post-creation

After you're done, load this skill: Remotion Best Practices (remotion-best-practices skill)

If not already done, open the Remotion Studio, unless instructed otherwise.