Skip to content

πŸŽ₯ Make videos programmatically with React

πŸ“š Update documentation on ProRes with transparency

William Candillonc8c042d1747e
diff --git a/packages/docs/docs/transparent-videos.mdx b/packages/docs/docs/transparent-videos.mdx
index 3c2f65e4c4..e33e677213 100644
--- a/packages/docs/docs/transparent-videos.mdx
+++ b/packages/docs/docs/transparent-videos.mdx
@@ -46,6 +46,7 @@ Supported since v2.1.6, you can set the codec to `prores` and choose a ProRes pr
import {Config} from 'remotion';
Config.Rendering.setImageFormat('png');
+Config.Output.setPixelFormat("yuva444p10le");
Config.Output.setCodec('prores');
Config.Output.setProResProfile('4444');
```
@@ -53,7 +54,7 @@ Config.Output.setProResProfile('4444');
You can also set the settings on the command line:
```console
---image-format=png --codec=prores --prores-profile=4444
+--image-format=png --pixel-format=yuva444p10le --codec=prores --prores-profile=4444
```
## Creating a fallback version
diff --git a/packages/renderer/src/get-prores-profile-name.ts b/packages/renderer/src/get-prores-profile-name.ts
index ca2083f608..652d77663f 100644
--- a/packages/renderer/src/get-prores-profile-name.ts
+++ b/packages/renderer/src/get-prores-profile-name.ts
@@ -24,4 +24,4 @@ export const getProResProfileName = (
default:
return '3';
}
-};
\ No newline at end of file
+};