remotion-captions

作成者: remotion-dev

Remotionでキャプションを扱う

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

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;
  pageBreakAfter?: boolean;
};

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.

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.

remotion-devのその他のスキル

3d
remotion-dev
RemotionでThree.jsとReact Three Fiberを使用した3Dコンテンツ。
accept-element
remotion-dev
外部のRemotion Elementのコントリビューションを受け入れ、コミットされたプレビューを検証し、R2にアップロードし、一時アセットを削除し、…を準備します。
add-bug
remotion-dev
新しいRemotionのバグエントリーをpackages/bugs/api/[v].tsに追加します。ユーザーがバグと影響を受けるRemotionバージョンを説明し、それを…を通じて表示する必要がある場合に使用します。
add-cli-option
remotion-dev
新しいRemotion CLIまたは設定オプションを追加するには、AnyRemotionOptionを作成し、CLIパースを登録し、コンフィグセッターを配線し、ドキュメントを更新します。次の場合に使用します…
add-effect
remotion-dev
@remotion/effectsに新しいエフェクトを追加します。実装、パッケージのエクスポート、ドキュメント、デモ、プレビュー画像、Remotionスキルの更新、テスト、フォーマットなどを含みます。
add-expert
remotion-dev
Remotionのエキスパートページに新しいエキスパートを追加する
add-new-package
remotion-dev
Remotion monorepo に新しいパッケージを追加します。パッケージのスキャフォールディング、monorepo への登録、ドキュメント、ビルドスクリプト、テスト、リリースチェックリストなどを含みます…
add-sfx
remotion-dev
@remotion/sfxに新しい効果音を追加する