remotion-captions
このSkillは、Remotionで字幕を扱うための完全なソリューションを提供します。音声や動画からの字幕生成、字幕表示、.srtファイルからのインポートが可能です。標準のJSON形式を使用し、時間同期、信頼度管理、レンダリングを簡素化し、開発者が高品質な字幕を素早く動画に統合できるようにします。
npx skills add https://github.com/remotion-dev/skills --skill remotion-captionsBefore / After 効果比較
1 组このSkillがない場合、開発者は字幕ファイルを手動で解析し、フレームごとにタイムスタンプを調整し、信頼度データを処理し、カスタムレンダリングロジックを多く記述する必要がありました。長時間の動画では手動調整が煩雑で、時間がかかりエラーが発生しやすかったです。
このSkillを使用すると、開発者は標準APIを呼び出すだけで字幕の生成、インポート、表示が可能になります。時間同期と信頼度を自動処理し、コーディング作業を大幅に削減します。字幕レンダリングの精度はほぼ100%で、動画制作効率が数倍向上します。
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.
ユーザーレビュー (0)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価