@remotion/renderer
The @remotion/renderer package provides APIs for rendering video server-side.
The package is also internally used by the Remotion CLI and Remotion Lambda.
Server-side rendering examples
See the Server-side rendering for some examples of how to use server-side rendering.
Available functions
The following APIs are available in the @remotion/renderer package:
getCompositions()- Get a list of available compositions from a Remotion project.renderMedia()- Render a video or audiorenderFrames()- Render an image sequencerenderStill()- Render a still imagestitchFramesToVideo()- Encode a video based on an image sequenceopenBrowser()- Share a browser instance across function calls for even better performance.
What's the difference between renderMedia() and renderFrames()?
In Remotion 3.0, we added the renderMedia() API which combines renderFrames() and stitchFramesToVideo() into one simplified step and performs the render faster. Prefer renderMedia() if you can.