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.

Skills เพิ่มเติมจาก remotion-dev

3d
remotion-dev
เนื้อหา 3D ใน Remotion โดยใช้ Three.js และ React Three Fiber
accept-element
remotion-dev
ยอมรับการสนับสนุน Remotion Element จากภายนอกโดยการตรวจสอบพรีวิวที่คอมมิตไว้ อัปโหลดไปยัง R2 ลบแอสเซ็ตชั่วคราว และเตรียมการ…
add-bug
remotion-dev
เพิ่มรายการบั๊ก Remotion ใหม่ไปยัง packages/bugs/api/[v].ts ใช้เมื่อผู้ใช้อธิบายบั๊กและเวอร์ชัน Remotion ที่ได้รับผลกระทบซึ่งควรแสดงผ่านทาง…
add-cli-option
remotion-dev
เพิ่มตัวเลือก CLI หรือการกำหนดค่า Remotion ใหม่ โดยการสร้าง 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