Skip to main content

npx remotion browser ensurev4.0.137

确保 Remotion 有可用于渲染的浏览器。

🌐 Ensures that Remotion has a browser it can use for rendering.

npx remotion browser ensure

参数

🌐 Arguments

--browser-executable

Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec.

--log

One of trace, verbose, info, warn, error.
Determines how much info is being logged to the console.

Default info.

--chrome-modev4.0.248

One of headless-shell, chrome-for-testing. Default headless-shell. Use chrome-for-testing to take advantage of GPU drivers on Linux.

另请参阅

🌐 See also