Skip to content

🎥 Make videos programmatically with React

Update config.md

Jonny Burger43318d37694c
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index 25992783c3..067b3c1baf 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -747,6 +747,16 @@ import { Config } from "@remotion/cli/config";
Config.setBufferStateDelayInMilliseconds(0);
```
+## `binariesDirectory?`<AvailableFrom v="4.0.120" />
+
+<Options id="binaries-directory" />
+
+```ts twoslash title="remotion.config.ts"
+import { Config } from "@remotion/cli/config";
+// ---cut---
+Config.setBinariesDirectory("/path/to/custom/directory");
+```
+
## overrideFfmpegCommand()<AvailableFrom v="3.2.22" />
Modifies the FFmpeg command that Remotion uses under the hood. It works reducer-style, meaning that you pass a function that takes a command as an argument and returns a new command.