Files

12 lines
504 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Config } from '@remotion/cli/config';
Config.setVideoImageFormat('jpeg');
Config.setOverwriteOutput(true);
Config.setConcurrency(4);
Config.setChromiumOpenGlRenderer('angle');
// 说明:本机 Edge 无法在受限环境中启动,故改用 Remotion 自带下载的
// Chrome Headless Shell(node_modules/.remotion/)。如需改回 Edge,
// 取消下面注释并填入 Edge 路径即可。
// Config.setBrowserExecutable('C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe');