Skip to main content

Runtime

This page describes the environment that the Lambda function is running in.

Node.JS Version

The lambda function will use a NodeJS version from the 14.x release line.

Memory size

The default is 2048 MB. You can configure it by passing an argument to deployFunction() or by passing a --memory flag to the CLI when deploying a function.

Timeout

The default is 120 seconds. You can configure it when calling deployFunction() or by passing a --timeout flag to the CLI when deploying a function.

Note that you probably don't need to increase it - Since the video is rendered by splitting it into many parts and those parts are rendered in parallel, there are rare cases where you need more than 120 seconds.

Storage space

The function has between 512MB and 10GB of storage space in total available for video rendering depending on your configuration. Keep in mind that the concatenations of various chunks into one video takes place within a Lambda function, so the space must suffice for both the chunks and the output video.

Chromium

The function already includes a running version of Chromium. The browser was compiled including the proprietary codecs, so you can include MP4 videos into your project.

Remotion versionChrome version
From 3.2.0104.0.5112.64
From 3.0.8101.0.4951.68
From 3.0.098.0.4758.139

FFMPEG

The function already includes an FFMPEG binary.

Version built from source: N-104627-g40cf317d09 (corresponds to v4.4)
Configuration:

--prefix=/home/ec2-user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/home/ec2-user/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
--prefix=/home/ec2-user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/home/ec2-user/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree

Fonts

The function includes the following fonts:

  • Noto Color Emoji
  • Noto Sans Black
  • Noto Sans Bold
  • Noto Sans Regular
  • Noto Sans SemiBold
  • Noto Sans Thin
  • Noto Sans Arabic Regular
  • Noto Sans Devanagari Regular
  • Noto Sans Hebrew Regular
  • Noto Sans Tamil Regular
  • Noto Sans Thai Regular

Since December 2021 the following fonts are also available only on the arm64 version of Remotion Lambda:

  • Noto Sans Simplified Chinese Regular
  • Noto Sans Simplified Chinese Bold
  • Noto Sans Traditional Chinese Regular
  • Noto Sans Traditional Chinese Bold
  • Noto Sans Korean Regular
  • Noto Sans Korean Bold
  • Noto Sans Japanese Regular
  • Noto Sans Japanese Bold

If you'd like to use different fonts, we recommend using Webfonts.

While the set of default fonts that we can include must be kept small in order to save space, we are happy to hear feedback if you encounter a scenario where characters cannot be rendered.

Customize layers

See: Customize Lambda layers to learn about how you can customize this stack.

## See also