guanyang/open-agent-hub / skills/remotion-best-practices/remotion-captions
remotion-captions
VerifiedDealing with captions in Remotion
| File | Kind | Size |
|---|---|---|
| REFERENCE.md | markdown | 1.1 KB |
| SKILL.md | skill md | 977 B |
| agents/openai.yaml | config | 305 B |
| assets/remotion-icon.png | binary | 1.3 KB |
| assets/remotion-icon.svg | other | 1.3 KB |
| display-captions.md | markdown | 5.8 KB |
| import-srt-captions.md | markdown | 2.2 KB |
| transcribe-captions.md | markdown | 5.4 KB |
REFERENCE.md
View on GitHub---
name: remotion-captions
description: Transcribing, displaying and animating captions
version: 4.0.545
---
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](transcribe-captions.md) file for more instructions.
## Displaying captions
To display captions in your video, load the [display-captions.md](display-captions.md) file for more instructions.
## Importing captions
To import captions from a .srt file, load the [import-srt-captions.md](import-srt-captions.md) file for more instructions.
## Post-creation
After you're done, load this skill: [Remotion Best Practices](../SKILL.md)
If not already done, open the Remotion Studio, unless instructed otherwise.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |