Communitygithub.com

3bkader-gpt/remotion-tiktok-gym-editor

轉錄、顯示和動畫化字幕

remotion-tiktok-gym-editor 是什麼?

這個技能專注於在 Remotion 影片中處理字幕,提供從轉錄到顯示和動畫化的完整工作流程。它支援透過 JSON 格式使用標準的 `Caption` 類型,開發者可以輕鬆整合語音轉文字、SRT 匯入以及自訂字幕樣式。此技能適用於 Remotion 專案,可用於 TikTok 健身房編輯或任何需要動態字幕的影片。它還引導使用者遵循 Remotion 最佳實踐,並在完成後開啟 Remotion Studio 進行預覽。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/3bkader-gpt/remotion-tiktok-gym-editor/tree/HEAD/.agents/skills/remotion-captions

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

所有字幕必須以 JSON 處理。字幕必須使用以下 Caption 類型:

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

這是定義:

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

生成字幕

若要轉錄影片和音訊檔案以產生字幕,請載入 transcribe-captions.md 檔案以取得更多說明。

顯示字幕

若要在影片中顯示字幕,請載入 display-captions.md 檔案以取得更多說明。

匯入字幕

若要從 .srt 檔案匯入字幕,請載入 import-srt-captions.md 檔案以取得更多說明。

建立後

完成後,請載入此技能:Remotion 最佳實踐

如果尚未完成,請開啟 Remotion Studio,除非另有指示。

Individual skills in this repo

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

相關技能