Communityコーディング&開発github.com

remotion-captions

Remotionでキャプションを処理するためのスキル

remotion-captions とは?

このスキルは、Remotionを使用して動画内のキャプション(字幕)を扱うための専門的なソリューションを提供します。JSON形式でキャプションデータを管理し、`Caption`型(テキスト、開始/終了ミリ秒、信頼度などを含む)に準拠して処理を行います。主な機能として、動画や音声ファイルからのキャプション生成(文字起こし)、作成したキャプションの動画内への表示、.srtファイルからのキャプションインポートをサポートします。各機能の詳細な手順は、それぞれの専用SKILLファイル(transcribe-captions, display-captions, import-srt-captions)に分かれており、開発者は必要な機能に応じて該当するファイルを読み込むことで、効率的に実装を進められます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/remotion-dev/skills/tree/main/skills/remotion-best-practices/remotion-captions

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

すべてのキャプションはJSONで処理する必要があります。キャプションは、以下のCaptionタイプを使用しなければなりません。

import type { Caption } from "@remotion/captions";

定義は次の通りです:

type Caption = {
  text: string;
  startMs: number;
  endMs: number;
  timestampMs: number | null;
  confidence: number | null;
};

キャプションの生成

動画や音声ファイルを文字起こししてキャプションを生成するには、transcribe-captions.mdファイルを読み込んで詳細な手順を確認してください。

キャプションの表示

動画内にキャプションを表示するには、display-captions.mdファイルを読み込んで詳細な手順を確認してください。

キャプションのインポート

.srtファイルからキャプションをインポートするには、import-srt-captions.mdファイルを読み込んで詳細な手順を確認してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mediabunny

Multimedia handling with the Mediabunny library

remotion-best-practices

Router for all Remotion skills

remotion-captions

Transcribing, displaying and animating captions

remotion-create

Creating a new Remotion video

remotion-create

Create a new Remotion video

remotion-docs

Search Remotion documentation

remotion-docs

Search and fetch Remotion documentation pages

remotion-elements

Installs Elements, reusable video components such as titles, backgrounds, charts and caption styles, into a Remotion project with `npx remotion elements use`. Registers Element libraries in Remotion Studio with `npx remotion elements add-library`. Use when given an Element page URL or an Element library URL, or when a video needs a ready-made component.

remotion-interactivity

Structure Remotion markup for interactivity

remotion-interactivity

Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.

remotion-license

Find Remotion license information, FAQs, terms, and where to buy a license.

remotion-maps

Remotion Map animation knowledge

remotion-markup

Content, animation and effects best practices

remotion-markup

Best practices for writing Remotion React Markup

remotion-multimedia

Interacting with Mediabunny

remotion-render

Best practices for rendering videos

remotion-saas

Building video apps with Remotion - framework, rendering and Player advice

remotion-saas

Build an app with Remotion

remotion-studio

Preview a Remotion video

remotion-upgrade

Upgrade Remotion, and related packages

関連スキル