Skip to main content

npx remotion 安装

在 v4.0.0 中已移除,可从 v3.3 获得

🌐 removed in v4.0.0, available from v3.3

参见 “无需再安装 FFmpeg”
此页面仅作存档用途。

🌐 See "No more FFmpeg installation".
This page is for archival purpose.

确保已安装 ffmpegffprobe,如果找不到它们,则通过从互联网下载来安装。

🌐 Ensures that ffmpeg or ffprobe are installed by downloading them from the internet if they cannot be found.

npx remotion install ffmpeg
npx remotion install ffprobe

你可能不需要调用此函数。如果尝试渲染且没有找到二进制文件,Remotion 会自动下载 ffmpegffprobe

🌐 You might not need to call this function. Remotion will automatically download ffmpeg and ffprobe if a render is attempted, and no binary was found.

如果你需要在第一次渲染开始前准备好 ffmpegffprobe,这些命令就很有用。

🌐 These commands are useful if you need ffmpeg and ffprobe to be ready before the first render is started.

另请参阅

🌐 See also