Remotion captions
Skill gabros20/product-skill/.agents/skills/remotion-captions
Dealing with captions in RemotionFrom its SKILL.md
npx -y skills add gabros20/product-skill --skill remotion-captionsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, 210 tokens by cl100k_base, as published. Nobody here has run it
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;
};
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.
What ships with it: 3 files
9.4 KB alongside SKILL.md
- display-captions.md5.3 KB
- import-srt-captions.md2.2 KB
- transcribe-captions.md1.9 KB