Skip to content

🎥 Make videos programmatically with React

Merge branch 'main' into lambda-testing

Jonny Burger1cd04f63c40d
diff --cc packages/docs/docs/parametrized-rendering.md
index 352aa3f38a,a65dc01940..8e77ff2400
--- a/packages/docs/docs/parametrized-rendering.md
+++ b/packages/docs/docs/parametrized-rendering.md
@@@ -91,14 -91,15 +91,15 @@@ When server-rendering using `renderFram
```tsx twoslash {9-11}
// @module: esnext
// @target: es2017
- const video = {fps: 30, durationInFrames: 30, width: 1080, height: 1080};
- const bundled = '/path/to/bundle';
- const framesDir = '/path/to/frames';
+ const video = {fps: 30, durationInFrames: 30, width: 1080, height: 1080}
+ const bundled = '/path/to/bundle'
+ const framesDir = '/path/to/frames'
// ---cut---
- import {renderFrames} from '@remotion/renderer';
+ import {renderFrames} from '@remotion/renderer'
+
await renderFrames({
config: video,
- webpackBundle: bundled,
+ serveUrl: bundled,
onStart: () => undefined,
onFrameUpdate: (f) => undefined,
parallelism: null,
diff --cc packages/docs/docs/ssr.md
index 20c70c511c,c4ac1ca4ff..cdc8e1a15b
--- a/packages/docs/docs/ssr.md
+++ b/packages/docs/docs/ssr.md
@@@ -104,13 -104,12 +104,13 @@@ const start = async () =>
pixelFormat: 'yuv420p',
// Information needed to construct audio correctly.
assetsInfo,
+ webpackBundle: bundled,
// Hook into the FFMPEG progress
onProgress: (frame) => undefined
- });
- };
+ })
+ }
- start();
+ start()
```
:::warning