12 lines
504 B
TypeScript
12 lines
504 B
TypeScript
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');
|