Binaries Directory
The directory where the platform-specific binaries and libraries that Remotion needs are located. Those include an ffmpeg and ffprobe binary, a Rust binary for various tasks, and various shared libraries. If the value is set to null, which is the default, then the path of a platform-specific package located at node_modules/@remotion/compositor-* is selected.
This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron.
CLI flag
--binaries-directory <value>The following CLI commands accept this option:
remotion studioremotion renderremotion stillremotion compositionsremotion benchmarkremotion lambda renderremotion lambda stillremotion cloudrun renderremotion cloudrun still
APIs that have this option
The following APIs accept this option:
combineChunks()extractAudio()getCompositions()getSilentParts()getVideoMetadata()renderFrames()renderMedia()renderStill()selectComposition()stitchFramesToVideo()
Config file
remotion.config.tsConfig .setBinariesDirectory ('/path/to/custom/directory');