Thorium browser
Starting from v4.0.18
, if no local browser can be found, an instance of Thorium will be downloaded.
In previous versions, Remotion would download the free version of Chromium, which would not include codecs for the proprietary H.264 and H.265 codecs.
This would often lead to problems when using the <Video>
tag.
Thorium is a free and open-source browser forked off Chromium, which includes the codecs needed to render videos. The following platforms are supported:
- Linux (x64)
- Windows (x64)
- macOS (x64 and arm64)
If you don't want Thorium to get downloaded or your platform is not supported, you need to specify your own Chromium-based browser:
- Using the
setBrowserExecutable()
option in the config file (for the CLI) - Using the
browserExecutable
option inrenderMedia()
and other SSR APIs
In Lambda and Cloud Run, a version of Chrome is already installed, so you don't need to do anything.