Skip to content

🎥 Make videos programmatically with React

add back pixrl format

Jonny Burger8733b703db6e
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index 4d4ab6db0c..77aa4b5ea9 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -79,6 +79,7 @@ export const stitchFramesToVideo = async (options: {
'-crf',
crf,
'-pix_fmt',
+ pixelFormat,
// Without explicitly disabling auto-alt-ref,
// transparent WebM generation doesn't work
pixelFormat === 'yuva420p' ? '-auto-alt-ref' : null,