Skip to main content

创建覆盖层

如果你想导出 Remotion 视频以便在传统视频编辑软件中用作覆盖或转场,你可以将其导出为透明的 Apple ProRes 文件,该文件被 Final Cut Pro、Adobe Premiere 和 Davinci Resolve 支持。

🌐 If you want to export a Remotion video to use it as an overlay or transition in a conventional video editing software, you can export it as a transparent Apple ProRes file, which is supported by Final Cut Pro, Adobe Premiere and Davinci Resolve.

将视频导出为 ProRes 文件

🌐 Exporting a video as ProRes file

1
确保你的作品没有背景颜色。如果你在编辑器中启用了透明选项,你应该能看到棋盘格背景。

2
要将视频导出为 ProRes 文件,请按如下方式设置 remotion.config.ts 文件:

remotion.config.ts
import { Config } from "@remotion/cli/config"; Config.setVideoImageFormat("png"); Config.setPixelFormat("yuva444p10le"); Config.setCodec("prores"); Config.setProResProfile("4444");

并触发渲染与

🌐 and trigger the render with

npx remotion render

或者,你可以直接在命令行上设置这些参数:

🌐 Alternatively, you can set the settings directly on the command line:

npx remotion render --image-format=png --pixel-format=yuva444p10le --codec=prores --prores-profile=4444

使用模板

🌐 Use a template

Use our template by cloning the GitHub repo or running npx create-video --overlay.

在你的视频编辑器中使用它

🌐 Use it in your Video Editor

现在,你可以将视频直接导入你的视频编辑软件中。你可以在你的 Remotion 项目的 out 文件夹中找到该视频。

🌐 Now, you can simply import the video into your video editing software. You can find the video in the out folder of your Remotion project.

另请参阅

🌐 See also