Skip to main content

Rendering Video

You can render your videos and export them as .mp4 files either directly from the browser or through a node.js function call using the renderer package.

Rendering with renderVideo()

You can render videos through the node.js function renderVideo from the @revideo/renderer package, which uses a headless browser. After the function has run, your .mp4 file will be located in the output path specified in the arguments of renderVideo(), which is output/out.mp4 by default.

import {renderVideo} from '@revideo/renderer';

renderVideo('./src/project.ts');

For more advanced usage, check out the renderVideo() API reference.

Rendering from the browser

To render videos from the editor, simply click the "Render" Button:

Render Button