Skip to main content

npx remotion studio

Alias: npx remotion preview

Start the Remotion Studio.

bash
npx remotion studio <entry-point>?
bash
npx remotion studio <entry-point>?

You may pass an entry point as an argument, otherwise it will be determined.

Flags

--props

React Props to pass to the selected composition of your video. Must be a serialized JSON string (--props='{"hello": "world"}') or a path to a JSON file (./path/to/props.json). Can also be read using getInputProps().

info

Inline JSON string isn't supported on Windows because it removes the " character, use a temporary file instead.

--configv1.2.0

Specify a location for the Remotion config file.

--env-filev2.2.0

Specify a location for a dotenv file - Default .env. Read about how environment variables work in Remotion.

--log

Set the log level. Increase or decrease the amount of output. Acceptable values: error, warn, info (default), verbose

--port

Set a custom HTTP server port to start the server on. If not defined, Remotion will try to find a free port.

--public-dirv3.2.13

The path of the URL where the bundle is going to be hosted. By default it is /, meaning that the bundle is going to be hosted at the root of the domain (e.g. https://localhost:3000/). If you are deploying to a subdirectory (e.g. /sites/my-site/), you should set this to the subdirectory.

--disable-keyboard-shortcutsv3.2.11

Disables all keyboard shortcuts in the Studio.

--webpack-pollv3.3.11

Enables Webpack polling instead of the file system event listeners for hot reloading. This is useful if you are inside a virtual machine or have a remote file system. Pass a value in milliseconds, for example --webpack-poll=1000.

--no-openv3.3.19

Prevents Remotion from trying to open a browser. This is useful if you use a different browser for Remotion than the operating system default.

--browserv3.3.79

Specify the browser which should be used for opening tab - using the default browser by default.
Pass an absolute string or "chrome" to use Chrome. If Chrome is selected as the browser and you are on macOS, Remotion will try to reuse an existing tab

For backwards compatibility, the BROWSER environment variable is also supported.

--browser-argsv3.3.79

A set of command line flags that should be passed to the browser. Pass them like this:

sh
npx remotion studio --browser-args="--disable-web-security"
sh
npx remotion studio --browser-args="--disable-web-security"

--beep-on-finishv4.0.84

Plays a beep sound when the video is finished rendering. This is useful if you are rendering a video in the background and want to be notified when it is finished.

sh
npx remotion studio --beep-on-finish
sh
npx remotion studio --beep-on-finish

--ipv4v4.0.125

Forces the Studio to be bound to an IPv4 interface, even if a IPv6 interface is available.

sh
npx remotion studio --ipv4
sh
npx remotion studio --ipv4