Skip to content
Skillv1.0.0

remotion-captions

Dealing with captions in Remotion

by aiskillstore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aiskillstore/marketplace (skills/remotion-dev/remotion-captions/SKILL.md). Install upstream with npx skills add aiskillstore/marketplace --skill remotion-captions. Copyright stays with the author.

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.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aiskillstore-marketplace-remotion-captions/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aiskillstore-marketplace-remotion-captions.ocm.jsonjson
{
  "ocm": "1",
  "id": "aiskillstore-marketplace-remotion-captions",
  "kind": "skill",
  "name": "remotion-captions",
  "description": "Dealing with captions in Remotion",
  "publisher": "aiskillstore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "subtitles",
      "captions",
      "remotion",
      "json",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Dealing with captions in Remotion"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/aiskillstore/marketplace",
      "path": "skills/remotion-dev/remotion-captions/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/aiskillstore/marketplace/blob/HEAD/skills/remotion-dev/remotion-captions/SKILL.md",
      "key": "aiskillstore/marketplace/skills/remotion-dev/remotion-captions/SKILL.md"
    }
  },
  "instructions": "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:\n\n```ts\nimport type { Caption } from \"@remotion/captions\";\n```\n\nThis is the definition:\n\n```ts\ntype Caption = {\n  text: string;\n  startMs: number;\n  endMs: number;\n  timestampMs: number | null;\n  confidence: number | null;\n};\n```\n\n## Generating captions\n\nTo transcribe video and audio files to generate captions, load the [transcribe-captions.md](transcribe-captions.md) file for more instructions.\n\n## Displaying captions\n\nTo display captions",
  "cost": {
    "context_tokens": 210
  }
}

Fetch it by URL: GET /api/v1/registry/aiskillstore-marketplace-remotion-captions/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.