Skip to main content

设置

🌐 Setup

1. 分叉并克隆

🌐 1. Fork and clone

搭建一个新的 Remotion Recorder 项目:

🌐 Scaffold a new Remotion Recorder project:

Use npm as the package manager
npx create-video@latest --recorder

2. 安装 Bun

🌐 2. Install Bun

Remotion Recorder 需要 Bun,最低版本为 1.2。要安装它,请运行

🌐 The Remotion Recorder requires Bun, with the minimum version being 1.2. To install it, run

curl -fsSL https://bun.sh/install | bash

3. 安装依赖

🌐 3. Install dependencies

安装 Bun 后,运行

🌐 Once Bun is installed, run

bun i

安装所有必要的依赖。

🌐 to install all the neccessary dependencies.

4. 安装 Whisper.cpp(可选)

🌐 4. Install Whisper.cpp (optional)

现在是初始化 Whisper.cpp 进行字幕制作的好时机。 这将安装 Whisper.cpp 并下载模型(默认大小为 1.5GB)。

🌐 This is a good time to initialize Whisper.cpp for captioning.
This will install Whisper.cpp and download the model (the default being 1.5GB).

bun sub.ts

5. 运行 Remotion 录制器

🌐 5. Run the Remotion Recorder

完成后,你就可以开始使用 Remotion 录制器了:

🌐 Once done, you are ready to start the Remotion Recorder:

bun run dev