Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remotion 5.0 #3750

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
516b721
Update license for 5.0
JonnyBurger Apr 22, 2024
2fc9734
Merge branch 'main' into 5-0-license
JonnyBurger Apr 22, 2024
62fc53c
Update v5-flag.ts
JonnyBurger Apr 27, 2024
8d30726
Merge branch 'main' into 5-0-license
JonnyBurger Apr 27, 2024
f3b59e8
validatefontIsLoaded
JonnyBurger Apr 27, 2024
cbc62a0
Update get-instruction-index-at-length.ts
JonnyBurger Apr 27, 2024
4e84913
update node versions
JonnyBurger Apr 27, 2024
e75cbf9
Merge branch 'main' into 5-0-license
JonnyBurger May 7, 2024
ce9d42b
alright
JonnyBurger May 7, 2024
eaa18f5
Merge branch 'main' into 5-0-license
JonnyBurger May 7, 2024
9cfa557
Update render-hook.tsx
JonnyBurger May 7, 2024
dcc1fac
Merge branch 'main' into 5-0-license
JonnyBurger May 7, 2024
670c80a
Merge branch 'main' into 5-0-license
JonnyBurger May 20, 2024
fee6a24
Merge branch 'main' into 5-0-license
JonnyBurger Jul 17, 2024
3352339
Merge branch 'main' into 5-0-license
JonnyBurger Jul 30, 2024
2345c84
fix GIF
JonnyBurger Jul 30, 2024
4810491
Update Zod
JonnyBurger Jul 30, 2024
99d4221
Update 5-0-migration.mdx
JonnyBurger Jul 30, 2024
bf10453
measurespring
JonnyBurger Jul 30, 2024
449a6c1
Merge branch 'main' into 5-0-license
JonnyBurger Nov 1, 2024
fc36db6
update zod
JonnyBurger Nov 1, 2024
84f59eb
Merge branch 'main' into 5-0-license
JonnyBurger Jan 9, 2025
435635b
Merge branch 'main' into 5-0-license
JonnyBurger Jan 10, 2025
05c3ab9
remove headless option
JonnyBurger Jan 10, 2025
245c756
Merge branch 'main' into 5-0-license
JonnyBurger Jan 10, 2025
02bb559
Add back Zod
JonnyBurger Jan 10, 2025
385e4d2
remove disable-headless flag
JonnyBurger Jan 10, 2025
a3b4771
Merge branch 'main' into 5-0-license
JonnyBurger Jan 10, 2025
0a22705
Update rendering.test.ts
JonnyBurger Jan 12, 2025
ab459e5
update
JonnyBurger Jan 12, 2025
eda383e
Merge branch 'main' into 5-0-license
JonnyBurger Jan 12, 2025
017714a
Update rendering.test.ts
JonnyBurger Jan 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
with:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
with:
Expand Down Expand Up @@ -128,15 +128,15 @@ jobs:
matrix:
include:
- os: ubuntu-latest
node_version: 16
node_version: 18
- os: windows-latest
node_version: 16
node_version: 18
- os: macos-latest
node_version: 16
node_version: 18
- os: macos-14
node_version: 16
node_version: 18
- os: ubuntu-latest
node_version: 20.5
node_version: 22
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down
46 changes: 26 additions & 20 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,55 @@
# Remotion License

In Remotion 5.0, the license will slightly change. [View the changes here](https://github.com/remotion-dev/remotion/pull/3750).
Depending on the type of your legal entity, you are granted permission to use the Remotion Software ("Remotion" or "Software") for your project. Individuals and small companies are allowed to use the Software to create media assets (e.g., videos and images) for free (even commercially), while a Company License is required for for-profit organizations and groups of individuals of a certain size. This two-tier system was designed to ensure funding for this Software while still allowing the source code to be available and the program to be free for most. Read below for the exact license description.

---

Depending on the type of your legal entity, you are granted permission to use Remotion for your project. Individuals and small companies are allowed to use Remotion to create videos for free (even commercial), while a company license is required for for-profit organizations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use.

- [Free license](#free-license)
- [Company license](#company-license)

## Free license
- [Free License](#free-license)
- [Company License](#company-license)

Copyright © 2025 [Remotion](https://www.remotion.dev)

## Free License

### Eligibility

You are eligible to use Remotion for free if you are:

- an individual
- a for-profit organization with up to 3 employees
- an individual using the Software for personal use
- an organization or team of individuals with up to 3 people
- a non-profit or not-for-profit organization
- evaluating whether Remotion is a good fit, and are not yet using it in a commercial way
- evaluating whether Remotion is a good fit, and you are not yet using it in a commercial way

### Allowed use cases

Permission is hereby granted, free of charge, to any person eligible for the "Free license", to use the software non-commercially or commercially for the purpose of creating videos and images and to modify the software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion.
Permission is hereby granted, free of charge, to any person eligible for the "Free License", to use Remotion non-commercially or commercially for the purpose of creating media assets (e.g. videos and images) and to modify the Software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion.

### Disallowed use cases

It is not allowed to copy or modify Remotion code for the purpose of selling, renting, licensing, relicensing, or sublicensing your own derivate of Remotion.
It is not allowed to copy or modify Remotion source-code for the purpose of selling, renting, licensing, relicensing, or sublicensing your own derivate of Remotion.

### Warranty notice

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of

- merchantability,
- fitness for a particular purpose, and
- non-infringement.

In no event shall the author or copyright holders be liable for any claims, damages or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection and use of Remotion.

### Support

Support is provided on a best-we-can-do basis via GitHub Issues and Discord.
Support is provided on a best-we-can-do basis via [GitHub Issues](https://github.com/remotion-dev/remotion/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and [Discord](https://www.remotion.dev/discord).

## Company License

You are required to obtain a Company License to use Remotion if you are not within the group of entities eligible for a Free License. The Company License will enable you to use the Remotion Software for the allowed use cases specified in the Free License, and give you access to prioritized support ([Support Policy](https://www.remotion.dev/docs/support)).

## Company license
Visit [remotion.pro](https://www.remotion.pro/license) for pricing and to buy a Company License.

You are required to obtain a company license to use Remotion if you are not within the group of entities eligible for a free license. This license will enable you to use Remotion for the allowed use cases specified in the free license, and give you access to prioritized support (read the [Support Policy](https://www.remotion.dev/docs/support)).
### Terms and Conditions

Visit [remotion.pro](https://www.remotion.pro/license) for pricing and to buy a license.
Company License Users are required to accept the legally binding [Terms and Conditions](https://www.remotion.pro/terms) to use the Remotion Software.

### FAQs

Are you not sure whether you need a company license because of an edge case? Here are some [frequently asked questions](https://www.remotion.pro/faq).
Are you not sure whether you need a Company License because of an edge case? Here are [frequently asked questions](https://www.remotion.pro/faq).
4 changes: 0 additions & 4 deletions packages/cli-autocomplete/src/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ const envOption: Fig.Option = {
};

const chromeOptions: Fig.Option[] = [
{
name: "--disable-headless",
description: "Run Chrome in normal mode rather than headless",
},
{
name: "--gl",
description: "Which OpenGL renderer to use",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@remotion/tailwind": "workspace:*",
"@remotion/enable-scss": "workspace:*",
"@remotion/skia": "workspace:*",
"zod": "3.23.8",
"react": "19.0.0",
"react-dom": "19.0.0",
"zod": "3.22.3",
"@remotion/eslint-config-internal": "workspace:*",
"eslint": "9.14.0"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/cli/src/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const {
encodingMaxRateOption,
encodingBufferSizeOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
overwriteOption,
binariesDirectoryOption,
forSeamlessAacConcatenationOption,
Expand Down Expand Up @@ -224,7 +223,6 @@ export const benchmarkCommand = async (
commandLine: parsedCli,
}).value;
const gl = glOption.getValue({commandLine: parsedCli}).value;
const headless = headlessOption.getValue({commandLine: parsedCli}).value;
const publicPath = publicPathOption.getValue({commandLine: parsedCli}).value;
const publicDir = publicDirOption.getValue({commandLine: parsedCli}).value;
const chromeMode = chromeModeOption.getValue({commandLine: parsedCli}).value;
Expand All @@ -233,7 +231,6 @@ export const benchmarkCommand = async (
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
2 changes: 0 additions & 2 deletions packages/cli/src/compositions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const {
enableMultiprocessOnLinuxOption,
offthreadVideoCacheSizeInBytesOption,
glOption,
headlessOption,
delayRenderTimeoutInMillisecondsOption,
binariesDirectoryOption,
publicPathOption,
Expand Down Expand Up @@ -79,7 +78,6 @@ export const listCompositionsCommand = async (
commandLine: parsedCli,
}).value,
gl: glOption.getValue({commandLine: parsedCli}).value,
headless: headlessOption.getValue({commandLine: parsedCli}).value,
ignoreCertificateErrors,
userAgent,
};
Expand Down
7 changes: 0 additions & 7 deletions packages/cli/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ const {
folderExpiryOption,
enableMultiprocessOnLinuxOption,
glOption,
headlessOption,
numberOfGifLoopsOption,
beepOnFinishOption,
encodingMaxRateOption,
Expand Down Expand Up @@ -238,11 +237,6 @@ declare global {
* Default: false
*/
readonly setChromiumIgnoreCertificateErrors: (should: boolean) => void;
/**
* If false, will open an actual browser during rendering to observe progress.
* Default: true
*/
readonly setChromiumHeadlessMode: (should: boolean) => void;
/**
* Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle', 'swiftshader', 'swangle', 'vulkan' and 'angle-egl'.
* Default: 'swangle' in Lambda, null elsewhere.
Expand Down Expand Up @@ -599,7 +593,6 @@ export const Config: FlatConfig = {
delayRenderTimeoutInMillisecondsOption.setConfig,
setChromiumDisableWebSecurity,
setChromiumIgnoreCertificateErrors,
setChromiumHeadlessMode: headlessOption.setConfig,
setChromiumOpenGlRenderer: glOption.setConfig,
setChromiumUserAgent,
setDotEnvLocation,
Expand Down
5 changes: 0 additions & 5 deletions packages/cli/src/get-render-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const {
reproOption,
logLevelOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
forSeamlessAacConcatenationOption,
audioCodecOption,
hardwareAccelerationOption,
Expand Down Expand Up @@ -91,9 +90,6 @@ export const getRenderDefaults = (): RenderDefaults => {
const delayRenderTimeout = delayRenderTimeoutInMillisecondsOption.getValue({
commandLine: parsedCli,
}).value;
const headless = headlessOption.getValue({
commandLine: parsedCli,
}).value;
const forSeamlessAacConcatenation =
forSeamlessAacConcatenationOption.getValue({
commandLine: parsedCli,
Expand Down Expand Up @@ -144,7 +140,6 @@ export const getRenderDefaults = (): RenderDefaults => {
delayRenderTimeout,
audioCodec,
disableWebSecurity,
headless,
ignoreCertificateErrors,
openGlRenderer: gl,
offthreadVideoCacheSizeInBytes,
Expand Down
5 changes: 0 additions & 5 deletions packages/cli/src/gpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const {
enableMultiprocessOnLinuxOption,
glOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
chromeModeOption,
} = BrowserSafeApis.options;

Expand All @@ -36,9 +35,6 @@ export const gpuCommand = async (logLevel: LogLevel) => {
const puppeteerTimeout = delayRenderTimeoutInMillisecondsOption.getValue({
commandLine: parsedCli,
}).value;
const headless = headlessOption.getValue({
commandLine: parsedCli,
}).value;
const chromeMode = chromeModeOption.getValue({
commandLine: parsedCli,
}).value;
Expand All @@ -61,7 +57,6 @@ export const gpuCommand = async (logLevel: LogLevel) => {
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/parse-command-line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export type CommandLineOptions = {
help: boolean;
port: number;
frame: string | number;
['disable-headless']: boolean;
['disable-keyboard-shortcuts']: boolean;
muted: boolean;
height: number;
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/parsed-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const BooleanFlags = [
'y',
'disable-web-security',
'ignore-certificate-errors',
'disable-headless',
'disable-keyboard-shortcuts',
'default-only',
'no-open',
Expand Down
5 changes: 0 additions & 5 deletions packages/cli/src/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const {
encodingBufferSizeOption,
reproOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
overwriteOption,
binariesDirectoryOption,
forSeamlessAacConcatenationOption,
Expand Down Expand Up @@ -142,9 +141,6 @@ export const render = async (
const puppeteerTimeout = delayRenderTimeoutInMillisecondsOption.getValue({
commandLine: parsedCli,
}).value;
const headless = headlessOption.getValue({
commandLine: parsedCli,
}).value;
const overwrite = overwriteOption.getValue(
{
commandLine: parsedCli,
Expand All @@ -171,7 +167,6 @@ export const render = async (
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
5 changes: 0 additions & 5 deletions packages/cli/src/still.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const {
enableMultiprocessOnLinuxOption,
glOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
overwriteOption,
binariesDirectoryOption,
publicPathOption,
Expand Down Expand Up @@ -93,9 +92,6 @@ export const still = async (
const puppeteerTimeout = delayRenderTimeoutInMillisecondsOption.getValue({
commandLine: parsedCli,
}).value;
const headless = headlessOption.getValue({
commandLine: parsedCli,
}).value;
const overwrite = overwriteOption.getValue(
{
commandLine: parsedCli,
Expand All @@ -119,7 +115,6 @@ export const still = async (
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudrun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@remotion/renderer": "workspace:*",
"google-auth-library": "^8.7.0",
"remotion": "workspace:*",
"zod": "3.22.3"
"zod": "3.23.8"
},
"devDependencies": {
"@remotion/compositor-linux-x64-gnu": "workspace:*",
Expand Down
5 changes: 0 additions & 5 deletions packages/cloudrun/src/cli/commands/render/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const {
numberOfGifLoopsOption,
enableMultiprocessOnLinuxOption,
glOption,
headlessOption,
encodingMaxRateOption,
encodingBufferSizeOption,
delayRenderTimeoutInMillisecondsOption,
Expand Down Expand Up @@ -100,9 +99,6 @@ export const renderCommand = async (
const puppeteerTimeout = delayRenderTimeoutInMillisecondsOption.getValue({
commandLine: CliInternals.parsedCli,
}).value;
const headless = headlessOption.getValue({
commandLine: CliInternals.parsedCli,
}).value;
const binariesDirectory = binariesDirectoryOption.getValue({
commandLine: CliInternals.parsedCli,
}).value;
Expand All @@ -112,7 +108,6 @@ export const renderCommand = async (
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
5 changes: 0 additions & 5 deletions packages/cloudrun/src/cli/commands/still.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const {
enableMultiprocessOnLinuxOption,
glOption,
delayRenderTimeoutInMillisecondsOption,
headlessOption,
binariesDirectoryOption,
} = BrowserSafeApis.options;

Expand Down Expand Up @@ -61,14 +60,10 @@ export const stillCommand = async (
commandLine: CliInternals.parsedCli,
}).value;
const gl = glOption.getValue({commandLine: CliInternals.parsedCli}).value;
const headless = headlessOption.getValue({
commandLine: CliInternals.parsedCli,
}).value;
const chromiumOptions: ChromiumOptions = {
disableWebSecurity,
enableMultiProcessOnLinux,
gl,
headless,
ignoreCertificateErrors,
userAgent,
};
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"webpack": "5.96.1",
"zod": "3.22.3",
"@remotion/eslint-config-internal": "workspace:*",
"eslint": "9.14.0"
"eslint": "9.14.0",
"zod": "3.23.8"
},
"keywords": [
"remotion",
Expand Down
Loading
Loading