技能 编程开发 Remotion 视频字幕生成与显示

Remotion 视频字幕生成与显示

v20260928
remotion-captions
此技能用于在 Remotion 项目中转录、显示和制作字幕动画。字幕需以 JSON 格式处理,使用特定的 Caption 类型。用户可从视频或音频生成字幕,在最终视频中显示,或导入现有的 .srt 文件。适用于需要自动化或结构化字幕集成的视频制作工作流。
获取技能
241 次下载
概览

When to Use

  • Use when this upstream workflow matches the user's stated goal.
  • Use when the task requires the procedures documented in this skill.

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.

Examples

User: Apply this skill to my current task.
Assistant: Follow the workflow in this skill, cite limitations, and ask before risky steps.

Limitations

  • Imported upstream skill; verify credentials, permissions, and safety boundaries before execution.
  • Does not replace environment-specific validation, testing, or maintainer review.
信息
Category 编程开发
Name remotion-captions
版本 v20260928
大小 6.29KB
更新时间 2026-09-28
语言