11 lines
421 B
TypeScript
11 lines
421 B
TypeScript
|
|
import { Config } from '@remotion/cli/config';
|
||
|
|
|
||
|
|
// H.264 main profile + yuv420p so the MP4 plays on Safari, iOS and every
|
||
|
|
// stock <video> tag. Concurrency = 1 keeps the renderer deterministic and
|
||
|
|
// is fine for an 8s clip — we trade wall-clock for predictability.
|
||
|
|
Config.setVideoImageFormat('jpeg');
|
||
|
|
Config.setCodec('h264');
|
||
|
|
Config.setPixelFormat('yuv420p');
|
||
|
|
Config.setConcurrency(1);
|
||
|
|
Config.setOverwriteOutput(true);
|