Skip to content

🎥 Make videos programmatically with React

Docs: Remove obsolete unlisted documentation pages

Jonny Burger272bf9eacf87
diff --git a/packages/brand/src/DocsPagesShowcase.tsx b/packages/brand/src/DocsPagesShowcase.tsx
index b06f1579e6..e872abd089 100644
--- a/packages/brand/src/DocsPagesShowcase.tsx
+++ b/packages/brand/src/DocsPagesShowcase.tsx
@@ -50,23 +50,11 @@ const SCREENSHOT_TRANSLATE_X = -380;
const SCREENSHOT_PLATE_SCALE = 0.95;
const EXCLUDED_ROUTES = new Set([
'/docs/svelte',
- '/docs/null',
- '/docs/clipper',
- '/docs/captions/ensure-max-characters-per-line',
- '/docs/4-0-alpha',
'/docs/contributing/presentation',
- '/docs/react-18',
- '/docs/tailwind-legacy',
- '/docs/ffmpeg',
- '/docs/media-parser/seeking-hints',
'/docs/paths/cut-path',
'/docs/spline',
- '/docs/cli/install',
'/docs/lambda/sqs',
- '/docs/lambda/feb-2022-outage',
- '/docs/ssr-legacy',
'/docs/investors',
- '/docs/lambda/feb-2023-incident',
'/docs/use-img-and-iframe',
'/docs/freeze',
'/docs/cors-issues',
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index bbd877224f..19aab89a8d 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -283,12 +283,10 @@ export {watchStaticFile} from './watch-static-file.js';
export const Experimental = {
/**
* @description This is a special component that will cause Remotion to only partially capture the frame of the video.
- * @see [Documentation](https://www.remotion.dev/docs/clipper)
*/
Clipper,
/**
* @description This is a special component, that, when rendered, will skip rendering the frame altogether.
- * @see [Documentation](https://www.remotion.dev/docs/null)
*/
Null,
useIsPlayer,
diff --git a/packages/docs/blog/2022-04-26-remotion-3-0.mdx b/packages/docs/blog/2022-04-26-remotion-3-0.mdx
index 055de300b1..ba601b9dd2 100644
--- a/packages/docs/blog/2022-04-26-remotion-3-0.mdx
+++ b/packages/docs/blog/2022-04-26-remotion-3-0.mdx
@@ -60,7 +60,7 @@ In the `remotion.config.ts` file, you can now import other files. Under the hood
## React 18 supported
-React 18 is now supported and we recommend that you upgrade to it. See our [React 18 upgrade guide](/docs/react-18) on how to do it!
+React 18 is now supported and we recommend that you upgrade to it.
## Node 14, ESLint 8
diff --git a/packages/docs/blog/2022-11-17-remotion-3-3.mdx b/packages/docs/blog/2022-11-17-remotion-3-3.mdx
index b237d1aa58..c433c9e240 100644
--- a/packages/docs/blog/2022-11-17-remotion-3-3.mdx
+++ b/packages/docs/blog/2022-11-17-remotion-3-3.mdx
@@ -21,7 +21,7 @@ Previously, installing FFmpeg required 7 steps on Windows and took several minut
<FfmpegVideo />
-When deploying Remotion on a server, you can now also let Remotion install FFmpeg for you using the [`ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg) API or the [`npx remotion install ffmpeg`](/docs/cli/install) command. Learn more about [FFmpeg auto-install](/docs/ffmpeg) here.
+When deploying Remotion on a server, you can now also let Remotion install FFmpeg for you using the [`ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg) API or the `npx remotion install ffmpeg` command.
## New `@remotion/google-fonts` package
diff --git a/packages/docs/blog/2023-07-03-remotion-4-0.mdx b/packages/docs/blog/2023-07-03-remotion-4-0.mdx
index 4b436c53ed..0f97efe8cf 100644
--- a/packages/docs/blog/2023-07-03-remotion-4-0.mdx
+++ b/packages/docs/blog/2023-07-03-remotion-4-0.mdx
@@ -152,7 +152,7 @@ The [`remotion`](/docs/remotion) package has had the following improvements:
- [`getStaticFiles()`](/docs/getstaticfiles) allows you get get a list of files in the `public/` folder.
- [`cancelRender()`](/docs/cancel-render) allows you to abort a render should you run into an error.
-- New Rust-accelerated components: [`<Experimental.Clipper>`](/docs/clipper) and [`<Experimental.Null>`](/docs/null)
+- New Rust-accelerated components: `<Experimental.Clipper>` and `<Experimental.Null>`
- [`<Series.Sequence>`](/docs/series) and [`<Loop>`](/docs/loop) now support `style` and `ref`.
## Join the Cloud Run Alpha
diff --git a/packages/docs/docs/3-0-migration.mdx b/packages/docs/docs/3-0-migration.mdx
index 721a28045f..5985b9d487 100644
--- a/packages/docs/docs/3-0-migration.mdx
+++ b/packages/docs/docs/3-0-migration.mdx
@@ -65,7 +65,7 @@ Previously, we supported Node 12 and 13, but we no longer do.
The Remotion components adhere to [version 18 of `@types/react` and `@types/react-dom`](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210). Minor type errors may occur that can be resolved by adjusting your components. We recommend that you upgrade the `@types/react` package yourself.
-**Upgrade path:** [Update to React 18](/docs/react-18) - optional but recommended.
+**Upgrade path:** Update to React 18 - optional but recommended.
### `renderFrames()`/`renderStill()`: `compositionId` parameter removed
diff --git a/packages/docs/docs/4-0-alpha.mdx b/packages/docs/docs/4-0-alpha.mdx
deleted file mode 100644
index bc9fcf36f8..0000000000
--- a/packages/docs/docs/4-0-alpha.mdx
+++ /dev/null
@@ -1,160 +0,0 @@
----
-image: /generated/articles-docs-4-0-alpha.png
-id: 4-0-alpha
-title: v4.0 Alpha
-crumb: "Version Upgrade"
----
-
-Remotion 4.0 has now been released. This page has been archived.
-
-Thanks for testing and reporting bugs! 🎉
-
-## How to upgrade
-
-See the [changelog](#changelog) to find the latest version.
-Upgrade `remotion` and all packages starting with `@remotion` to the latest version, e.g. `4.0.0`:
-
-```diff title="package.json"
-- "remotion": "^3.3.87"
-- "@remotion/bundler": "^3.3.87"
-- "@remotion/eslint-config": "^3.3.87"
-- "@remotion/eslint-plugin": "^3.3.87"
-- "@remotion/cli": "^3.3.87"
-- "@remotion/renderer": "^3.3.87"
-+ "remotion": "4.0.0-alpha13"
-+ "@remotion/bundler": "4.0.0-alpha13"
-+ "@remotion/eslint-config": "4.0.0-alpha13"
-+ "@remotion/eslint-plugin": "4.0.0-alpha13"
-+ "@remotion/cli": "4.0.0-alpha13"
-+ "@remotion/renderer": "4.0.0-alpha13"
-```
-
-Make sure the versions don't have a `^` character in front of it.
-
-Most important breaking changes:
-
-<Step>1</Step> The config file must now import the config like the following:<br/>
-
-```ts
-import { Config } from "@remotion/cli/config";
-```
-
-<Step>2</Step> Also in the config file:<br/>
-
-```ts
-Config.setImageFormat("jpeg");
-```
-
-has been replaced with
-
-```ts
-Config.setVideoImageFormat("jpeg");
-```
-
-See how to migrate: [Migration guide](/docs/4-0-migration)
-
-## Changelog
-
-### `4.0.0-alpha22`
-
-Release candidate!
-
-- Fix rotated videos with OffthreadVideo
-- `height`, `width` etc. is optional when passing `calculateMetadata()`
-
-### `4.0.0-alpha21`
-
-- calculateMetadata() behaves correctly on Lambda
-- Fixed known crashes with OffthreadVideo
-
-### `4.0.0-alpha19`
-
-- Nicer logging
-- Warn if props are bigger than 10MB
-- Upgrade ESBuild to 0.18 (TS 5.0 support)
-
-### `4.0.0-alpha18`
-
-- Nicer and less buggy logging in the CLI
-
-### `4.0.0-alpha16`
-
-- Intention: Lower the minimum required `glibc` version on Linux x64 to support Ubuntu 20.04
-
-### `4.0.0-alpha14`
-
-- Make renders via the CLI faster using a reusable server
-- `console.log`'s are symbolicated when rendering locally using `--log=verbose`
-- Fix bug in composition metadata resolution
-- New design for the schema editor
-- Upgrade TypeScript ESLint, Prettier and Turborepo
-
-### `4.0.0-alpha13`
-
-- Fix editor props not being applied
-
-### `4.0.0-alpha12`
-
-- More performant Studio
-
-### `4.0.0-alpha11`
-
-- Performance improvements for the Remotion Studio
-- Your component should do less unnecessary re-renders.
-
-### `4.0.0-alpha10`
-
-- Renamed Remotion Preview to Remotion Studio
-- Various fixes for the Remotion Studio
-- New prop for Composition: `calculateMetadata`! See: [Data fetching](/docs/data-fetching) and [Variable metadata](/docs/dynamic-metadata)
-
-### `4.0.0-alpha9`
-
-- Various polish for the Remotion Preview
-
-### `4.0.0-alpha8`
-
-- Props editor polish
-- Fix a crash with `<OffthreadVideo>`
-
-### `4.0.0-alpha7`
-
-- Fix bugs reported with `<OffthreadVideo>` and more verbose logging
-- Refined editor
-- Fix Lambda issues
-- Revamped CLI verbose logging mode
-- FFmpeg is now in the Lambda function instead of a Lambda Layer
-
-### `4.0.0-alpha6`
-
-- Fixes `EACCES` errors appearing
-- GUI design improvements
-- Fix warnings if Zod is not installed
-- Breaking change: `staticFile()` now encodes the filename using `encodeURIComponent`. You don't have to and should not do it manually anymore - see migration guide
-
-### `4.0.0-alpha5`
-
-May 3rd 2023:
-
-- Features the new Rust renderer enabling faster `<OffthreadVideo>`!
-- `z` is not exported from Remotion anymore, instead, just install `zod`!
-- `zColor` is now to be installed from `@remotion/zod-types`
-- Overall polish of the editor
-
-### `4.0.0-alpha.185+1b8f0e746`
-
-- Fix rendering with FFmpeg on Linux
-- Make all strings `as const` when saving back to the root file to ensure type safety.
-- New [`zColor()`](/docs/zod-types/z-color) API
-- New sidebar design and new mechanism for toggling sidebars
-- Create new array items
-- Zod union type support
-- Overall polish!
-
-### `4.0.0-alpha.127+bcc7f944b`
-
-Improve the saving back to code feature if you are using `as const`.
-
-### `4.0.0-alpha.115+764023ad5`
-
-Initial v4 alpha release
diff --git a/packages/docs/docs/4-0-migration.mdx b/packages/docs/docs/4-0-migration.mdx
index d3d3f39dc8..91f6d20a95 100644
--- a/packages/docs/docs/4-0-migration.mdx
+++ b/packages/docs/docs/4-0-migration.mdx
@@ -128,7 +128,7 @@ Furthermore, the `npx remotion install ffmpeg` and `npx remotion install ffprobe
- Remove all calls to [`ensureFfprobe()`](/docs/renderer/ensure-ffprobe).
- Remove the `--ffmpeg-executable` flag from [`npx remotion render`](/docs/cli/render), [`npx remotion still`](/docs/cli/still) and [`npx remotion benchmark`](/docs/cli/benchmark)
- Remove the `--ffprobe-executable` flag from [`npx remotion render`](/docs/cli/render), [`npx remotion still`](/docs/cli/still) and [`npx remotion benchmark`](/docs/cli/benchmark)
-- Don't use the [`npx remotion install`](/docs/cli/install) command anymore
+- Don't use the `npx remotion install` command anymore
## Added `npx remotion ffmpeg` and `npx remotion ffprobe`
@@ -265,7 +265,7 @@ const composition: AnyComposition = {
## `getCanExtractFramesFast()` function has been removed
-The [`getCanExtractFramesFast()`](/docs/renderer/get-can-extract-frames-fast) function has been removed, since frames can always be extracted fast now using `<OffthreadVideo>`.
+The `getCanExtractFramesFast()` function has been removed, since frames can always be extracted fast now using `<OffthreadVideo>`.
**How to upgrade:**
@@ -402,7 +402,7 @@ The recommended way is to get the `composition` object using [`selectComposition
- **@remotion/motion-blur**: [`<MotionBlur>`](/docs/motion-blur/motion-blur) has been removed
- **@remotion/paths**: [`getParts()`](/docs/paths/get-parts) has been removed
- **@remotion/renderer**: New [`selectComposition()`](/docs/renderer/select-composition) API
-- **@remotion/renderer**: [`getCanExtractFramesFast()`](/docs/renderer/get-can-extract-frames-fast) has been removed
+- **@remotion/renderer**: `getCanExtractFramesFast()` has been removed
- **@remotion/renderer**: FFmpeg is now included in Remotion (v6.0), no need to install it anymore
- **@remotion/renderer**: [ProRes](/docs/encoding) now exports uncompressed audio by default.
- **@remotion/renderer**: [`onSlowestFrames`](/docs/renderer/render-media#onslowestframes) has been removed
diff --git a/packages/docs/docs/captions/ensure-max-characters-per-line.mdx b/packages/docs/docs/captions/ensure-max-characters-per-line.mdx
deleted file mode 100644
index a287fb58aa..0000000000
--- a/packages/docs/docs/captions/ensure-max-characters-per-line.mdx
+++ /dev/null
@@ -1,16 +0,0 @@
----
-image: /generated/articles-docs-captions-ensure-max-characters-per-line.png
-title: ensureMaxCharactersPerLine()
-crumb: '@remotion/captions'
----
-
-# ensureMaxCharactersPerLine()<AvailableFrom v="4.0.216"/>
-
-This is an internal, undocumented API for now.
-
-Captions with `pageBreakAfter: true` always end the current segment, even if the segment has not reached the maximum number of characters.
-
-## See also
-
-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/captions/src/ensure-max-characters-per-line.ts)
-- [`@remotion/captions`](/docs/captions/api)
diff --git a/packages/docs/docs/cli/install.mdx b/packages/docs/docs/cli/install.mdx
deleted file mode 100644
index 33796445a2..0000000000
--- a/packages/docs/docs/cli/install.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
----
-image: /generated/articles-docs-cli-install.png
-title: npx remotion install
-sidebar_label: install
-crumb: CLI Reference
----
-
-# npx remotion install<AvailableFrom v="3.3" />
-
-_Removed in v4.0.0._
-
-_See ["No more FFmpeg installation"](/docs/4-0-migration#no-more-ffmpeg-install-ffmpegexecutable-option-removed)._
-This page is for archival purpose.
-
-Ensures that `ffmpeg` or `ffprobe` are installed by downloading them from the internet if they cannot be found.
-
-```bash
-npx remotion install ffmpeg
-```
-
-```bash
-npx remotion install ffprobe
-```
-
-You might not need to call this function. Remotion will automatically download `ffmpeg` and `ffprobe` if a render is attempted, and no binary was found.
-
-These commands are useful if you need `ffmpeg` and `ffprobe` to be ready before the first render is started.
-
-## See also
-
-- [Node.JS equivalent: `ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg)
-- [Node.JS equivalent: `ensureFfprobe()`](/docs/renderer/ensure-ffprobe)
-- [Installing FFmpeg](/docs/ffmpeg)
diff --git a/packages/docs/docs/clipper.mdx b/packages/docs/docs/clipper.mdx
deleted file mode 100644
index ac064601e7..0000000000
--- a/packages/docs/docs/clipper.mdx
+++ /dev/null
@@ -1,9 +0,0 @@
----
-image: /generated/articles-docs-clipper.png
-id: clipper
-title: <Experimental.Clipper>
-crumb: 'Experimental API'
----
-
-This experimental API has been removed as of v4.0.228.
-It made renders oftentimes slower rather than faster and increased complexity of the codebase.
diff --git a/packages/docs/docs/ffmpeg.mdx b/packages/docs/docs/ffmpeg.mdx
deleted file mode 100644
index 0a595f9fda..0000000000
--- a/packages/docs/docs/ffmpeg.mdx
+++ /dev/null
@@ -1,54 +0,0 @@
----
-image: /generated/articles-docs-ffmpeg.png
-title: Installing FFmpeg
-sidebar_label: Installing FFmpeg
-crumb: "(you don't have to)"
----
-
-:::info
-Since Remotion v4.0, Remotion comes bundled with a lightweight version of FFmpeg. An installation of FFmpeg is no longer needed.
-:::
-
-## FFmpeg in V3 of Remotion
-
-**The following documentation is an archival for how FFmpeg worked in v3.0.**
-
-Remotion requires FFmpeg to encode videos. Since v3.3, you do not need to install FFmpeg manually. This page documents the behavior of Remotion for developers needing advanced control.
-
-### `ffmpeg` and `ffprobe`
-
-Two binaries are required for Remotion: `ffmpeg` and `ffprobe`. When talking about FFmpeg in the documentation, it may also refer to FFprobe.
-
-### Auto-install
-
-When rendering a video and binaries are not found, Remotion will download them from the internet and put it inside your `node_modules` folder. The binary will not get added to your `PATH`, so if you type in `ffmpeg` into your Terminal, it may not be found. However, Remotion will be able to use it
-
-#### Supported architectures
-
-Auto-install is supported on the following platforms:
-
-- Linux, x86_64,
-- macOS, Intel
-- macOS, Apple Silicon
-- Windows, x86_64
-
-For other platforms, you need to supply your own binaries.
-
-#### Triggering auto-install
-
-By rendering a video, the download of FFmpeg will be triggered automatically.
-
-On servers, it might be of use to install the binaries before the first render, so no time is wasted once the first render begins.
-
-- Using the CLI, you can run [`npx remotion install ffmpeg`](/docs/cli/install) and `npx remotion install ffprobe` to trigger auto-install of binaries. If the binaries exist, the command will do nothing. This requires `@remotion/cli` to be installed.
-- The [`@remotion/renderer`](/docs/renderer) package exposes [`ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg) and [`ensureFfprobe()`](/docs/renderer/ensure-ffprobe) functions
-
-### Order of priority
-
-In case of multiple binaries being supplied, they priority order is the following:
-
-- If a binary was supplied using the `ffmpegExecutable` or `ffprobeExecutable` option, it will be used.
-- If `ffmpeg` or `ffprobe` is in the `PATH`, it will be used.
-- If a binary was previously installed by Remotion into `node_modules`, it will be used.
-- If a binary can be downloaded from the internet, Remotion will do so and use it.
-- Failure if no binary was found using the logic above.
diff --git a/packages/docs/docs/lambda/changelog.mdx b/packages/docs/docs/lambda/changelog.mdx
index 9ad4e024d9..c9809ec380 100644
--- a/packages/docs/docs/lambda/changelog.mdx
+++ b/packages/docs/docs/lambda/changelog.mdx
@@ -194,9 +194,9 @@ Fixes regressions:
Version hash: `3.0.0-lambda.338+118ffe2e9`
Lambda version: '2022-02-04'
-Attention: Some Lambda functions are breaking from an AWS change, especially on `us-east-1` and `us-east-2`. We are worried that AWS is slowly rolling out a broken update to their Lambda functions. If you are affected or want to be on the safe side, [read these instructions](/docs/lambda/feb-2022-outage) to avoid the AWS issues.
+Attention: Some Lambda functions are breaking from an AWS change, especially on `us-east-1` and `us-east-2`. We are worried that AWS is slowly rolling out a broken update to their Lambda functions.
-- [Allows you to deploy as a `x86_64` Lambda function](/docs/lambda/feb-2022-outage)
+- Allows you to deploy as a `x86_64` Lambda function
### February 3rd, 2022
diff --git a/packages/docs/docs/lambda/feb-2022-outage.mdx b/packages/docs/docs/lambda/feb-2022-outage.mdx
deleted file mode 100644
index 7050844081..0000000000
--- a/packages/docs/docs/lambda/feb-2022-outage.mdx
+++ /dev/null
@@ -1,59 +0,0 @@
----
-image: /generated/articles-docs-lambda-feb-2022-outage.png
-id: feb-2022-outage
-sidebar_label: 02/2022 Outage
-title: February 2022 Outage
----
-
-:::tip
-**Update 2022/02/06:**
-
-The problem is now solved. Your Lambda functions should work as normal. We recommend everyone to go back to use ARM64 Lambdas. We will consult with AWS support on how to prevent issues like this in the future.
-:::
-
-On February 3rd 2022, AWS made a change to their Lambda micro-VMs that breaks Remotion Lambda. This document contains information for affected users.
-
-## Hotfix solution
-
-[Upgrade](/docs/lambda/upgrading) your Lambda functions to the latest version and deploy them with a `x86_64` architecture.
-
-Via CLI:
-
-```
-npx remotion lambda functions deploy --architecture=x86_64
-```
-
-Via Node.JS:
-
-## Example
-
-```ts
-import {deployFunction} from '@remotion/lambda';
-
-const {functionName} = await deployFunction({
- region: 'us-east-1',
- timeoutInSeconds: 120,
- memorySizeInMb: 1024,
- createCloudWatchLogGroup: true,
- architecture: 'x86_64',
-});
-console.log(functionName);
-```
-
-## Caveat
-
-The x86_64 version **does not contain fonts for Japanese/Chinese/Korean**! Since the binaries are bigger on the **x86_64** version, we exceeded the file limit and had to delete the biggest font in order to stay within the AWS bounds.
-
-x86_64 is also slower and has about a 30% higher cost/performance ratio.
-
-## AWS mitigation
-
-We contacted AWS and hope to receive an answer soon.
-
-## Long-term solution
-
-ARM64 is the preferred and default solution. Once the problem is solved, we recommend everyone to switch back.
-
-## Contact
-
-Join the discussion in our Discord channel if you have questions.
diff --git a/packages/docs/docs/lambda/feb-2023-incident.mdx b/packages/docs/docs/lambda/feb-2023-incident.mdx
deleted file mode 100644
index afa2978b5f..0000000000
--- a/packages/docs/docs/lambda/feb-2023-incident.mdx
+++ /dev/null
@@ -1,112 +0,0 @@
----
-image: /generated/articles-docs-lambda-feb-2023-incident.png
-title: Upgrade your Lambda functions to prevent breakage
-sidebar_label: Feb 2023 Incident
-crumb: DevOps advisory
----
-
-import {UserPolicy} from '../../components/lambda/user-permissions.tsx';
-
-:::info
-In Remotion 4.0, this problem is fixed.
-:::
-
-On February 24th 2023, a new version of the AWS Lambda Node.JS runtime started rolling out that breaks Remotion Lambda.
-Remotion Lambda users are advised to read this document to avoid any downtime.
-
-## Problem
-
-Users might see an error:
-
-```bash
-Error: expected to launch
-```
-
-or
-
-```bash
-Failed to launch the browser process!
-
-
-
-TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
-```
-
-## Cause
-
-AWS Lambda has rolled out an update to their Lambda runtime for Node.JS to update it from `v14.28` to `v14.29`.
-This update causes the headless Chromium browser to exit with a `SIGBUS` error for a yet unknown reason.
-
-## Advisory
-
-We recommend to **not deploy any new functions** until the issue is resolved as new functions are subject to getting the new runtime.
-Since at a later point, AWS will roll out the runtime to any existing functions, we recommend to upgrade to Remotion `3.3.54` or later in the near future and redeploy your functions.
-
-## Resolutions
-
-### Option 1: `v3.3.54` update (recommended)
-
-In Remotion `v3.3.54`, Remotion will lock the AWS Lambda Node.JS runtime to `v14.28` to prevent this issue from happening.
-Locking a runtime on AWS Lambda is only possible since January 23rd, 2023, hence the reason why we are only releasing this update now.
-
-To apply the fix, you need to:
-
-<Step>1</Step> upgrade Remotion: <br />
-<br />
-
-```bash
-npx remotion upgrade
-```
-
-<Step>2</Step> change your policies to give your user the <code>
- lambda:PutRuntimeManagementConfig
-</code> permission. The easiest way is to copy the following user policy: <br />
-<br />
-
-<details>
- <summary>
- Show full user permissions JSON file for latest Remotion Lambda version
- </summary>
- <UserPolicy />
-</details>
-
-or type in `npx remotion lambda policies user` after upgrading Remotion Lambda.
-
-Go to the [Users](https://us-east-1.console.aws.amazon.com/iamv2/home?region=us-east-1#/users) section in the AWS console and overwrite the JSON policy of your Remotion Lambda user with the above copied JSON.
-
-<Step>3</Step> Redeploy your functions. You don't need to delete your old functions
-as it might cause downtime for your application. <br />
-
-<Step>4</Step> As a reminder, you also need to redeploy your site when you upgrade
-to a higher Remotion version. <br />
-
-<Step>5</Step> If any values are hardcoded, update the function and site name in
-your application code.
-
-### Option 2: Manually update the runtime in the AWS console
-
-Alternatively, for each of your Lambda functions, you can lock the runtime version in the AWS console:
-
-<Step>1</Step> Go to the function in the AWS dashboard and click "Edit Runtime management
-configuration".
-<br />
-<br />
-
-<img src="/img/runtimesettings.png" />
-
-<Step>2</Step> Set it to "Manual". <br />
-
-<Step>3</Step> Set the runtime to <code>arn:aws:lambda:[region]::runtime:69000d3430a08938bcab71617dffcb8ea551a2cbc36c59f38c52a1ea087e461b</code>
-. Replace <code>[region]</code> with the code for the AWS region (e.g. <code>us-east-1</code>) <br />
-
-<Step>4</Step> Click "Save". Repeat this for any functions you have deployed.
-
-## Long-term solution
-
-We have upgraded to a AWS Business support tier and reached out to them to make them aware of the issue and hope to cooperate on a solution soon.
-
-Since it recently became possible to lock the AWS Lambda runtime version, we will be using this option going forward to make Remotion more resilient to future runtime updates.
-
-## Questions?
-
-Join our [Discord](https://remotion.dev/discord) community to get help from the Remotion team and other users.
diff --git a/packages/docs/docs/media-parser/media-parser-controller.mdx b/packages/docs/docs/media-parser/media-parser-controller.mdx
index 570cfd5916..b82a424e11 100644
--- a/packages/docs/docs/media-parser/media-parser-controller.mdx
+++ b/packages/docs/docs/media-parser/media-parser-controller.mdx
@@ -58,7 +58,7 @@ Aborts the download and parsing process.
### `getSeekingHints()`
-Returns a promise that resolves to the [seeking hints](/docs/media-parser/seeking-hints).
+Returns a promise that resolves to the seeking hints.
### `addEventListener()`
diff --git a/packages/docs/docs/media-parser/parse-media.mdx b/packages/docs/docs/media-parser/parse-media.mdx
index 55a052dff3..ec23db31a9 100644
--- a/packages/docs/docs/media-parser/parse-media.mdx
+++ b/packages/docs/docs/media-parser/parse-media.mdx
@@ -167,8 +167,6 @@ If this is set to true, the timestamps of the samples returned will be recalcula
An object that contains hints about the structure of the media file.
-See [Seeking Hints](/docs/media-parser/seeking-hints) for more information.
-
### `logLevel?`
One of `"error"`, `"warn"`, `"info"`, `"debug"`, `"trace"`.
diff --git a/packages/docs/docs/media-parser/seeking-hints.mdx b/packages/docs/docs/media-parser/seeking-hints.mdx
deleted file mode 100644
index f612ea6701..0000000000
--- a/packages/docs/docs/media-parser/seeking-hints.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-image: /generated/articles-docs-media-parser-seeking-hints.png
-id: seeking-hints
-title: Seeking Hints
-slug: /media-parser/seeking-hints
-crumb: '@remotion/media-parser'
----
-
-:::warning
-[We are phasing out Media Parser and are moving to Mediabunny](/blog/mediabunny)!
-:::
-
-:::warning
-This feature is experimental and not yet ready for production use.
-:::
-
-When Media Parser wants to seek to a specific position in the media file, it can be expensive to find out where to go.
-
-With Seeking Hints, you can provide a hint to the media parsing process upfront about the structure to the file, so that seeking can be short-circuited without needing to figure out the position.
-
-Seeking hints are produced from previous [`parseMedia()`](/docs/media-parser/parse-media) calls.
-
-To get seeking hints, you can call [`getSeekingHints()`](/docs/media-parser/media-parser-controller#getseekinghints) on the controller.
-
-```tsx twoslash title="Getting seeking hints"
-import {mediaParserController, parseMedia} from '@remotion/media-parser';
-
-const controller = mediaParserController();
-
-await parseMedia({
- controller,
- // Adding a callback so the full file is read
- onVideoTrack: (track) => {
- return (sample) => {
- console.log(sample);
- };
- },
- src: 'https://stream.mux.com/QkFQYWZ0ZS53ZWJ3aWQvc3RhdGlvbl9pbnRlcm5hbC5tM3U4Lm1wNA.m3u8',
-});
-
-const hints = await controller.getSeekingHints();
-```
-
-## Using seeking hints
-
-Once you have obtained seeking hints from a previous parse, you can pass them to a new [`parseMedia()`](/docs/media-parser/parse-media), [`parseMediaOnWebWorker()`](/docs/media-parser/parse-media-on-web-worker), [`parseMediaOnServerWorker()`](/docs/media-parser/parse-media-on-server-worker), [`downloadAndParseMedia()`](/docs/media-parser/download-and-parse-media) or [`convertMedia()`](/docs/webcodecs/convert-media) call.
-
-```tsx twoslash title="Using seeking hints from a previous parse"
-import {parseMedia, mediaParserController} from '@remotion/media-parser';
-
-const controller = mediaParserController();
-const seekingHints = await controller.getSeekingHints();
-
-// ---cut---
-
-await parseMedia({
- controller,
- src: 'https://stream.mux.com/QkFQYWZ0ZS53ZWJ3aWQvc3RhdGlvbl9pbnRlcm5hbC5tM3U4Lm1wNA.m3u8',
- // Seeking hints were obtained from the previous parse
- seekingHints,
-});
-```
-
-## Good to know
-
-- Seeking hints can be fetched at any time also during the parsing process, not only at the end.
-- The data structure of the seeking hints is not part of the public API and may change at any time.
-- After the parse, seeking hints are only available if the parse was successful or aborted, not when it failed.
-- Seeking hints are available for [`parseMediaOnWebWorker()`](/docs/media-parser/parse-media-on-web-worker) and [`parseMediaOnServerWorker()`](/docs/media-parser/parse-media-on-server-worker).
-- A [`mediaParserController()`](/docs/media-parser/media-parser-controller) can only be attached to 1 [`parseMedia()`](/docs/media-parser/parse-media) call.
-- Seeking hints can be passed to [`convertMedia()`](/docs/webcodecs/convert-media).
diff --git a/packages/docs/docs/null.mdx b/packages/docs/docs/null.mdx
deleted file mode 100644
index b97ca7caa8..0000000000
--- a/packages/docs/docs/null.mdx
+++ /dev/null
@@ -1,9 +0,0 @@
----
-image: /generated/articles-docs-null.png
-id: 'null'
-title: <Experimental.Null>
-crumb: 'Experimental API'
----
-
-This experimental API has been removed as of v4.0.228.
-It made renders oftentimes slower rather than faster and increased complexity of the codebase.
diff --git a/packages/docs/docs/overwriting-webpack-config.mdx b/packages/docs/docs/overwriting-webpack-config.mdx
index 7796695fcd..43ec3f6c6f 100644
--- a/packages/docs/docs/overwriting-webpack-config.mdx
+++ b/packages/docs/docs/overwriting-webpack-config.mdx
@@ -299,7 +299,6 @@ Config.overrideBundlerConfig(enableMdx);
### Enable TailwindCSS support
- [TailwindCSS V3](/docs/tailwind)
-- [TailwindCSS V2 (Legacy)](/docs/tailwind-legacy)
### Enable PostCSS support
diff --git a/packages/docs/docs/react-18.mdx b/packages/docs/docs/react-18.mdx
deleted file mode 100644
index eb9c68fd53..0000000000
--- a/packages/docs/docs/react-18.mdx
+++ /dev/null
@@ -1,59 +0,0 @@
----
-image: /generated/articles-docs-react-18.png
-id: react-18
-title: Upgrade to React 18
-crumb: "The new and shiny"
----
-
-## Updating packages
-
-To use React 18's newest features, you need at least version `3.0.0` of Remotion.
-
-```diff
-- "remotion": "2.6.15"
-- "@remotion/bundler": "2.6.15"
-- "@remotion/cli": "2.6.15"
-- "@remotion/renderer": "2.6.15"
-+ "remotion": "3.0.0"
-+ "@remotion/bundler": "3.0.0"
-+ "@remotion/cli": "3.0.0"
-+ "@remotion/renderer": "3.0.0"
-```
-
-You need to upgrade both `react` and `react-dom`:
-
-```diff
-- "react": "17.0.1"
-- "react-dom": "17.0.1"
-+ "react": "18.2.0"
-+ "react-dom": "18.2.0"
-```
-
-If you use TypeScript, update to the newest types as well:
-
-```diff
-- "@types/react": "17.0.3"
-+ "@types/react": "18.0.0"
-```
-
-Run `npm i`, or `yarn`, or `pnpm i` afterwards, matching your package manager.
-
-## Fixing `React.FC` types
-
-The types for `React.FC` have changed to no longer include `children`. If you get a type error, change
-
-```tsx
-const MyComp: React.FC = ({ children }) => <div>{children}</div>;
-```
-
-to:
-
-```tsx
-const MyComp: React.FC<{
- children: React.ReactNode;
-}> = ({ children }) => <div>{children}</div>;
-```
-
-## No action required for `createRoot()`
-
-If React 18 is installed, Remotion will automatically use `createRoot()` from `react-dom/client` instead of `render` from `react-dom`. You don't need to do anything.
diff --git a/packages/docs/docs/renderer/TableOfContents.tsx b/packages/docs/docs/renderer/TableOfContents.tsx
index 6708e3dcb9..9708560f1c 100644
--- a/packages/docs/docs/renderer/TableOfContents.tsx
+++ b/packages/docs/docs/renderer/TableOfContents.tsx
@@ -3,7 +3,6 @@ import {Grid} from '../../components/TableOfContents/Grid';
import {TOCItem} from '../../components/TableOfContents/TOCItem';
export const TableOfContents: React.FC = () => {
- const offthreadComponent = '<OffthreadVideo>';
return (
<div>
<Grid>
@@ -69,12 +68,6 @@ export const TableOfContents: React.FC = () => {
</strong>
<div>Check for ffprobe binary and install if not existing</div>
</TOCItem>
- <TOCItem link="/docs/renderer/get-can-extract-frames-fast">
- <strong style={{textDecoration: 'line-through'}}>
- getCanExtractFramesFast()
- </strong>
- <div>Probes for fast extraction for {offthreadComponent}</div>
- </TOCItem>
</Grid>
</div>
);
diff --git a/packages/docs/docs/renderer/ensure-ffmpeg.mdx b/packages/docs/docs/renderer/ensure-ffmpeg.mdx
index 9197ab89a7..85aced57a1 100644
--- a/packages/docs/docs/renderer/ensure-ffmpeg.mdx
+++ b/packages/docs/docs/renderer/ensure-ffmpeg.mdx
@@ -13,7 +13,7 @@ _Removed from v4.0_
This API has been removed in v4.0 and is not necessary to call anymore. This page remains for archival purposes.
:::
-Checks if the `ffmpeg` binary is installed and if it is not, [downloads it and puts it into your `node_modules` folder](/docs/ffmpeg).
+Checks if the `ffmpeg` binary is installed and if it is not, downloads it and puts it into your `node_modules` folder.
```ts title="ensure.mjs"
import {ensureFfmpeg} from '@remotion/renderer';
@@ -56,6 +56,4 @@ This table describes the historical API. It was removed in Remotion 4.0.
## See also
-- CLI equivalent: [`npx remotion install ffmpeg`](/docs/cli/install)
- [`ensureFfprobe()`](/docs/renderer/ensure-ffprobe)
-- [Installing FFmpeg](/docs/ffmpeg)
diff --git a/packages/docs/docs/renderer/ensure-ffprobe.mdx b/packages/docs/docs/renderer/ensure-ffprobe.mdx
index 3375687388..2928f4748c 100644
--- a/packages/docs/docs/renderer/ensure-ffprobe.mdx
+++ b/packages/docs/docs/renderer/ensure-ffprobe.mdx
@@ -14,7 +14,7 @@ _Removed from v4.0_
This API has been removed in v4.0 and is not necessary to call anymore. This page remains for archival purposes.
:::
-Checks if the `ffprobe` binary is installed and if it is not, [downloads it and puts it into your `node_modules` folder](/docs/ffmpeg).
+Checks if the `ffprobe` binary is installed and if it is not, downloads it and puts it into your `node_modules` folder.
```ts title="ensure.mjs"
import {ensureFfprobe} from '@remotion/renderer';
@@ -57,6 +57,4 @@ This table describes the historical API. It was removed in Remotion 4.0.
## See also
-- CLI equivalent: [`npx remotion install ffprobe`](/docs/cli/install)
- [`ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg)
-- [Installing FFmpeg](/docs/ffmpeg)
diff --git a/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx b/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx
deleted file mode 100644
index 7d3f4db023..0000000000
--- a/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx
+++ /dev/null
@@ -1,84 +0,0 @@
----
-image: /generated/articles-docs-renderer-get-can-extract-frames-fast.png
-title: getCanExtractFramesFast()
-id: get-can-extract-frames-fast
-crumb: '@remotion/renderer'
----
-
-# getCanExtractFramesFast()<AvailableFrom v="3.3.2" />
-
-:::warning
-From v4.0 on, frames can always be extracted fast and therefore the function has been removed. The information in this document only applies to older versions of Remotion and is preserved for people who are still using them.
-:::
-
-_Removed in v4.0 - Part of the `@remotion/renderer` package._
-
-Probes whether frames of a video can be efficiently extracted when using [`<OffthreadVideo>`](/docs/offthreadvideo).
-
-```ts
-import {getCanExtractFramesFast} from '@remotion/renderer';
-
-const result = await getCanExtractFramesFast({
- src: '/var/path/to/video.mp4',
-});
-
-console.log(result.canExtractFramesFast); // false
-console.log(result.shouldReencode); // true
-```
-
-:::info
-Pass an absolute path to `getCanExtractFramesFast()`. URLs are not supported.
-:::
-
-## When to use this API
-
-If you are using [`<OffthreadVideo>`](/docs/offthreadvideo), you might get a warning ["Using a slow method to extract the frame"](/docs/slow-method-to-extract-frame) if a video is included which does not include enough metadata to efficiently extract a certain frame of a video. This might result in the render becoming slow.
-
-Using this API, you can probe whether this issue affects your video file. It will try to extract the last frame of a video and if it succeeds, your video is not affected. Otherwise, `canExtractFramesFast` will be `false`.
-
-## How to act on the results
-
-When `canExtractFramesFast` is `false`, you should check the `shouldReencode` flag. If it is true, you can re-encode the video to make the render faster. Note that it is not always faster to re-encode the video than it is to deal with a slow render.
-
-Videos with a VP8 codec don't support fast frame extraction at all, and therefore `shouldReencode` can be false even if `canExtractFramesFast` is false.
-
-## Reencoding a video
-
-You can re-encode a video using FFmpeg:
-
-```sh
-ffmpeg -i inputvideo.mp4 outputvideo.mp4
-```
-
-## Arguments
-
-An object containing one or more of the following options:
-
-### `src`
-
-Pointing to a video file. Must be an absolute file path.
-
-### ~~`ffmpegExecutable`~~
-
-_removed in v4.0_
-
-An absolute path overriding the `ffmpeg` executable to use.
-
-### ~~`ffprobeExecutable`~~
-
-_removed in v4.0_
-
-An absolute path overriding the `ffprobe` executable to use.
-
-## Return value
-
-Returns a promise which resolves to an object with the following parameters:
-
-- `canExtractFramesFast`: _boolean_ Whether it will be fast to extract a frame from a video.
-- `shouldReencode`: _boolean_ Whether the video can be re-encoded to make the render faster.
-
-## Compatibility
-
-<CompatibilityTable chrome={false} firefox={false} safari={false} nodejs="Remotion 3" bun="Not verified" serverlessFunctions={false} clientSideRendering="" serverSideRendering="Remotion 3" player="" studio="" hideBrowsers />
-
-This table describes the historical API. It was removed in Remotion 4.0.
diff --git a/packages/docs/docs/slow-method-to-extract-frame.mdx b/packages/docs/docs/slow-method-to-extract-frame.mdx
index f924679e67..897211e70d 100644
--- a/packages/docs/docs/slow-method-to-extract-frame.mdx
+++ b/packages/docs/docs/slow-method-to-extract-frame.mdx
@@ -23,10 +23,6 @@ While it is not an error itself, it warns that the render must do an expensive o
- If it's a VP8 video in a WebM container and the selected image format is PNG, we cannot accurately extract the frame using FFMPEG and need to resort to the slow method.
- **Recommendation**: Prefer the VP9 codec instead, or switch the image format to JPEG (in which you will lose transparency however)
-## Checking whether a video has this issue
-
-You can use the [getCanExtractFramesFast()](/docs/renderer/get-can-extract-frames-fast)
-
## See also
- [`<OffthreadVideo>`](/docs/offthreadvideo)
diff --git a/packages/docs/docs/ssr-legacy.mdx b/packages/docs/docs/ssr-legacy.mdx
deleted file mode 100644
index fcaa83eec0..0000000000
--- a/packages/docs/docs/ssr-legacy.mdx
+++ /dev/null
@@ -1,126 +0,0 @@
----
-image: /generated/articles-docs-ssr-legacy.png
-id: ssr-legacy
-title: Server-Side Rendering (v1 and v2)
-crumb: "Legacy docs"
----
-
-:::info
-This documentation is how server-side rendering worked in Remotion v1 and Remotion v2. To see rendering in [3.0 and above, click here.](/docs/ssr)
-:::
-
-Remotion's rendering engine is built upon Node.JS, which makes it exceptionally easy to render a video in the cloud.
-
-Since Remotion is built with tech (_Node.JS, FFMPEG, Puppeteer_) that works well cross-platform, you can without much hassle run it on a Linux-based system or even dockerize your video.
-
-On this page, we demonstrate the server-rendering capabilities on Remotion using examples [built into the template](/docs/ssr)!
-
-## Render a video programmatically
-
-The NPM package `@remotion/renderer` provides you with an API for rendering the videos programmatically. You can make a video in three steps: creating a Webpack bundle, rendering the frames, and stitching them together to a MP4. This gives you more independence and allows you for example to skip the stitching process, if you just want a PNG sequence.
-
-Follow this commented example to see how to render a video:
-
-```tsx
-import { bundle } from "@remotion/bundler";
-import {
- getCompositions,
- renderFrames,
- stitchFramesToVideo,
-} from "@remotion/renderer";
-import fs from "fs";
-import os from "os";
-import path from "path";
-
-const start = async () => {
- // The composition you want to render
- const compositionId = "HelloWorld";
-
- // Create a webpack bundle of the entry file.
- const bundleLocation = await bundle(require.resolve("./src/index.ts"));
-
- // Extract all the compositions you have defined in your project
- // from the webpack bundle.
- const comps = await getCompositions(bundleLocation, {
- // You can pass custom input props that you can retrieve using getInputProps()
- // in the composition list. Use this if you want to dynamically set the duration or
- // dimensions of the video.
- inputProps: {
- custom: "data",
- },
- });
-
- // Select the composition you want to render.
- const composition = comps.find((c) => c.id === compositionId);
-
- // Ensure the composition exists
- if (!composition) {
- throw new Error(`No composition with the ID ${compositionId} found`);
- }
-
- // We create a temporary directory for storing the frames
- const framesDir = await fs.promises.mkdtemp(
- path.join(os.tmpdir(), "remotion-"),
- );
-
- // We create JPEGs for all frames
- const { assetsInfo } = await renderFrames({
- config: composition,
- // Path of the webpack bundle you have created
- bundle: bundleLocation,
- // Get's called after bundling is finished and the
- // actual rendering starts.
- onStart: () => console.log("Rendering frames..."),
- onFrameUpdate: (f) => {
- // Log a message whenever 10 frames have rendered.
- if (f % 10 === 0) {
- console.log(`Rendered frame ${f}`);
- }
- },
- // How many CPU threads to use. `null` will use a sane default (half of the available threads)
- // See 'CLI options' section for concurrency options.
- parallelism: null,
- outputDir: framesDir,
- // React props passed to the root component of the sequence. Will be merged with the `defaultProps` of a composition.
- inputProps: {
- titleText: "Hello World",
- },
- // Can be either 'jpeg' or 'png'. JPEG is faster, but has no transparency.
- imageFormat: "jpeg",
- });
-
- // Add this step if you want to make an MP4 out of the rendered frames.
- await stitchFramesToVideo({
- // Input directory of the frames
- dir: framesDir,
- // Overwrite existing video
- force: true,
- // Possible overwrite of video metadata,
- // we suggest to just fill in the data from the
- // video variable
- fps: composition.fps,
- height: composition.height,
- width: composition.width,
- // Must match the value above for the image format
- imageFormat: "jpeg",
- // Pass in the desired output path of the video. Et voilà!
- outputLocation: path.join(framesDir, "out.mp4"),
- // FFMPEG pixel format
- pixelFormat: "yuv420p",
- // Information needed to construct audio correctly.
- assetsInfo,
- webpackBundle: bundleLocation,
- // Hook into the FFMPEG progress
- onProgress: (frame) => undefined,
- });
-};
-
-start();
-```
-
-## API reference
-
-- [bundle()](/docs/bundle)
-- [getCompositions()](/docs/renderer/get-compositions)
-- [renderMedia()](/docs/renderer/render-media)
-- [stitchFramesToVideo()](/docs/renderer/stitch-frames-to-video)
diff --git a/packages/docs/docs/standalone.mdx b/packages/docs/docs/standalone.mdx
index 2c5f81fffe..7fa372ecf9 100644
--- a/packages/docs/docs/standalone.mdx
+++ b/packages/docs/docs/standalone.mdx
@@ -18,7 +18,6 @@ Unbolded APIs are licensed under the MIT license.
**@remotion/renderer**:
-- **[getCanExtractFramesFast\(\)](/docs/renderer/get-can-extract-frames-fast)**
- **[getVideoMetadata\(\)](/docs/renderer/get-video-metadata)**
- **[getSilentParts\(\)](/docs/renderer/get-silent-parts)**
- **[extractAudio\(\)](/docs/renderer/extract-audio)**
diff --git a/packages/docs/docs/tailwind-2.mdx b/packages/docs/docs/tailwind-2.mdx
deleted file mode 100644
index d92493b317..0000000000
--- a/packages/docs/docs/tailwind-2.mdx
+++ /dev/null
@@ -1,120 +0,0 @@
----
-image: /generated/articles-docs-tailwind-2.png
-id: tailwind-legacy
-title: TailwindCSS v2 (Legacy)
-crumb: "Legacy docs"
----
-
-import Tabs from "@theme/Tabs";
-import TabItem from '@theme/TabItem';
-
-:::info
-This documentation concerns TailwindCSS v2. [See here for V3!](/docs/tailwind)
-:::
-
-1. Install the following dependencies:
-
-<Tabs
-defaultValue="npm"
-values={[
-{ label: 'npm', value: 'npm', },
-{ label: 'yarn', value: 'yarn', },
-{ label: 'pnpm', value: 'pnpm', },
-]
-}>
-<TabItem value="npm">
-
-```bash
-npm i postcss-loader postcss postcss-preset-env tailwindcss@2 autoprefixer
-```
-
- </TabItem>
- <TabItem value="pnpm">
-
-```bash
-pnpm i postcss-loader postcss postcss-preset-env tailwindcss@2 autoprefixer
-```
-
- </TabItem>
-
- <TabItem value="yarn">
-
-```bash
-yarn add postcss-loader postcss postcss-preset-env tailwindcss@2 autoprefixer
-```
-
- </TabItem>
-</Tabs>
-
-2. Add the following to your [`remotion.config.ts`](/docs/config) file:
-
-```ts twoslash
-import { Config } from "@remotion/cli/config";
-// ---cut---
-Config.overrideBundlerConfig((currentConfiguration) => {
- return {
- ...currentConfiguration,
- module: {
- ...currentConfiguration.module,
- rules: [
- ...(currentConfiguration.module?.rules
- ? currentConfiguration.module.rules
- : []
- ).filter((rule) => {
- if (!rule) {
- return false;
- }
- if (rule === "...") {
- return false;
- }
- if (rule.test?.toString().includes(".css")) {
- return false;
- }
- return true;
- }),
- {
- test: /\.css$/i,
- use: [
- "style-loader",
- "css-loader",
- {
- loader: "postcss-loader",
- options: {
- postcssOptions: {
- plugins: [
- "postcss-preset-env",
- "tailwindcss",
- "autoprefixer",
- ],
- },
- },
- },
- ],
- },
- ],
- },
- };
-});
-```
-
-3. Create a file `src/style.css` with the following content:
-
-```css
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-```
-
-4. Import the stylesheet in your `src/Root.tsx` file. Add to the top of the file:
-
-```js
-import "./style.css";
-```
-
-5. Start using TailwindCSS! You can verify that it's working by adding `className="bg-red-900"` to any element.
-
-6. _Optional_: Add a `tailwind.config.js` file to the root of your project. Add `/* eslint-env node */` to the top of the file to get rid of an ESLint rule complaining that `module` is not defined.
-
-:::warning
-Due to a caching bug, the config file might not be picked up until you remove the `node_modules/.cache` folder - watch this issue: https://github.com/remotion-dev/remotion/issues/315
-:::
diff --git a/packages/docs/docs/tailwind.mdx b/packages/docs/docs/tailwind.mdx
index f935f21cae..0a21fb792f 100644
--- a/packages/docs/docs/tailwind.mdx
+++ b/packages/docs/docs/tailwind.mdx
@@ -243,7 +243,3 @@ module.exports = {
:::note
Your package manager might show a peer dependency warning. You can safely ignore it or add `strict-peer-dependencies=false` to your `.npmrc` to suppress it.
:::
-
-## See also
-
-- [TailwindCSS v2 (legacy)](/docs/tailwind-legacy)
diff --git a/packages/docs/docs/webcodecs/convert-media.mdx b/packages/docs/docs/webcodecs/convert-media.mdx
index 224d7a5f07..6201036a4c 100644
--- a/packages/docs/docs/webcodecs/convert-media.mdx
+++ b/packages/docs/docs/webcodecs/convert-media.mdx
@@ -313,8 +313,6 @@ Note that updates are fired very often and updating the DOM often may slow down
An object that contains hints about the structure of the media file.
-See [Seeking Hints](/docs/media-parser/seeking-hints) for more information.
-
### `fields?` and Callbacks
You can obtain information about the video file while you are converting it.
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index f0789111bf..e7600ee722 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -17,15 +17,6 @@ export const articles = [
noAi: false,
slug: '3-0-migration',
},
- {
- id: '4-0-alpha',
- title: 'v4.0 Alpha',
- relativePath: 'docs/4-0-alpha.mdx',
- compId: 'articles-docs-4-0-alpha',
- crumb: 'Version Upgrade',
- noAi: false,
- slug: '4-0-alpha',
- },
{
id: '4-0-migration',
title: 'v4.0 Migration',
@@ -1827,15 +1818,6 @@ export const articles = [
noAi: false,
slug: 'captions/displaying',
},
- {
- id: 'captions/ensure-max-characters-per-line',
- title: 'ensureMaxCharactersPerLine()',
- relativePath: 'docs/captions/ensure-max-characters-per-line.mdx',
- compId: 'articles-docs-captions-ensure-max-characters-per-line',
- crumb: '@remotion/captions',
- noAi: false,
- slug: 'captions/ensure-max-characters-per-line',
- },
{
id: 'captions/exporting',
title: 'Exporting subtitles',
@@ -2007,15 +1989,6 @@ export const articles = [
noAi: false,
slug: 'cli/help',
},
- {
- id: 'cli/install',
- title: 'npx remotion install',
- relativePath: 'docs/cli/install.mdx',
- compId: 'articles-docs-cli-install',
- crumb: 'CLI Reference',
- noAi: false,
- slug: 'cli/install',
- },
{
id: 'cli/render',
title: 'npx remotion render',
@@ -2133,15 +2106,6 @@ export const articles = [
noAi: false,
slug: 'client-side-rendering/page-responsiveness',
},
- {
- id: 'clipper',
- title: '<Experimental.Clipper>',
- relativePath: 'docs/clipper.mdx',
- compId: 'articles-docs-clipper',
- crumb: 'Experimental API',
- noAi: false,
- slug: 'clipper',
- },
{
id: 'cloudflare-containers',
title: 'Deploying to Cloudflare Containers',
@@ -4149,15 +4113,6 @@ export const articles = [
noAi: false,
slug: 'export-opentimeline',
},
- {
- id: 'ffmpeg',
- title: 'Installing FFmpeg',
- relativePath: 'docs/ffmpeg.mdx',
- compId: 'articles-docs-ffmpeg',
- crumb: "(you don't have to)",
- noAi: false,
- slug: 'ffmpeg',
- },
{
id: 'figma',
title: 'Import from Figma',
@@ -5085,24 +5040,6 @@ export const articles = [
noAi: false,
slug: 'lambda/faster-progress-polling',
},
- {
- id: 'feb-2022-outage',
- title: 'February 2022 Outage',
- relativePath: 'docs/lambda/feb-2022-outage.mdx',
- compId: 'articles-docs-lambda-feb-2022-outage',
- crumb: null,
- noAi: false,
- slug: 'lambda/feb-2022-outage',
- },
- {
- id: 'lambda/feb-2023-incident',
- title: 'Upgrade your Lambda functions to prevent breakage',
- relativePath: 'docs/lambda/feb-2023-incident.mdx',
- compId: 'articles-docs-lambda-feb-2023-incident',
- crumb: 'DevOps advisory',
- noAi: false,
- slug: 'lambda/feb-2023-incident',
- },
{
id: 'getawsclient',
title: 'getAwsClient()',
@@ -6048,15 +5985,6 @@ export const articles = [
noAi: false,
slug: 'media-parser/samples',
},
- {
- id: 'seeking-hints',
- title: 'Seeking Hints',
- relativePath: 'docs/media-parser/seeking-hints.mdx',
- compId: 'articles-docs-media-parser-seeking-hints',
- crumb: '@remotion/media-parser',
- noAi: false,
- slug: 'media-parser/seeking-hints',
- },
{
id: 'seeking',
title: 'Seeking',
@@ -6651,15 +6579,6 @@ export const articles = [
noAi: false,
slug: 'non-seekable-media',
},
- {
- id: "'null'",
- title: '<Experimental.Null>',
- relativePath: 'docs/null.mdx',
- compId: 'articles-docs-null',
- crumb: 'Experimental API',
- noAi: false,
- slug: "'null'",
- },
{
id: 'offthreadvideo',
title: '<OffthreadVideo>',
@@ -7245,15 +7164,6 @@ export const articles = [
noAi: false,
slug: 'random',
},
- {
- id: 'react-18',
- title: 'Upgrade to React 18',
- relativePath: 'docs/react-18.mdx',
- compId: 'articles-docs-react-18',
- crumb: 'The new and shiny',
- noAi: false,
- slug: 'react-18',
- },
{
id: 'react-19',
title: 'React 19',
@@ -7679,15 +7589,6 @@ export const articles = [
noAi: false,
slug: 'renderer/extract-audio',
},
- {
- id: 'get-can-extract-frames-fast',
- title: 'getCanExtractFramesFast()',
- relativePath: 'docs/renderer/get-can-extract-frames-fast.mdx',
- compId: 'articles-docs-renderer-get-can-extract-frames-fast',
- crumb: '@remotion/renderer',
- noAi: false,
- slug: 'renderer/get-can-extract-frames-fast',
- },
{
id: 'get-compositions',
title: 'getCompositions()',
@@ -8552,15 +8453,6 @@ export const articles = [
noAi: false,
slug: 'spring',
},
- {
- id: 'ssr-legacy',
- title: 'Server-Side Rendering (v1 and v2)',
- relativePath: 'docs/ssr-legacy.mdx',
- compId: 'articles-docs-ssr-legacy',
- crumb: 'Legacy docs',
- noAi: false,
- slug: 'ssr-legacy',
- },
{
id: 'ssr-node',
title: 'Rendering using SSR APIs',
@@ -9047,15 +8939,6 @@ export const articles = [
noAi: false,
slug: 'svelte',
},
- {
- id: 'tailwind-legacy',
- title: 'TailwindCSS v2 (Legacy)',
- relativePath: 'docs/tailwind-2.mdx',
- compId: 'articles-docs-tailwind-2',
- crumb: 'Legacy docs',
- noAi: false,
- slug: 'tailwind-legacy',
- },
{
id: 'tailwind-v4/enable-tailwind',
title: 'enableTailwind()',
diff --git a/packages/docs/static/generated/articles-docs-4-0-alpha.png b/packages/docs/static/generated/articles-docs-4-0-alpha.png
deleted file mode 100644
index 7714e07e28..0000000000
Binary files a/packages/docs/static/generated/articles-docs-4-0-alpha.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-captions-ensure-max-characters-per-line.png b/packages/docs/static/generated/articles-docs-captions-ensure-max-characters-per-line.png
deleted file mode 100644
index a71f52a8a9..0000000000
Binary files a/packages/docs/static/generated/articles-docs-captions-ensure-max-characters-per-line.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-cli-install.png b/packages/docs/static/generated/articles-docs-cli-install.png
deleted file mode 100644
index 645dcc97e4..0000000000
Binary files a/packages/docs/static/generated/articles-docs-cli-install.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-clipper.png b/packages/docs/static/generated/articles-docs-clipper.png
deleted file mode 100644
index d0d053179c..0000000000
Binary files a/packages/docs/static/generated/articles-docs-clipper.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-ffmpeg.png b/packages/docs/static/generated/articles-docs-ffmpeg.png
deleted file mode 100644
index b529911231..0000000000
Binary files a/packages/docs/static/generated/articles-docs-ffmpeg.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-lambda-feb-2022-outage.png b/packages/docs/static/generated/articles-docs-lambda-feb-2022-outage.png
deleted file mode 100644
index 74dbf5f76b..0000000000
Binary files a/packages/docs/static/generated/articles-docs-lambda-feb-2022-outage.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-lambda-feb-2023-incident.png b/packages/docs/static/generated/articles-docs-lambda-feb-2023-incident.png
deleted file mode 100644
index 80150fcd7d..0000000000
Binary files a/packages/docs/static/generated/articles-docs-lambda-feb-2023-incident.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-media-parser-seeking-hints.png b/packages/docs/static/generated/articles-docs-media-parser-seeking-hints.png
deleted file mode 100644
index 77921376dd..0000000000
Binary files a/packages/docs/static/generated/articles-docs-media-parser-seeking-hints.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-null.png b/packages/docs/static/generated/articles-docs-null.png
deleted file mode 100644
index c5d5781178..0000000000
Binary files a/packages/docs/static/generated/articles-docs-null.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-react-18.png b/packages/docs/static/generated/articles-docs-react-18.png
deleted file mode 100644
index 7fc90ffa9c..0000000000
Binary files a/packages/docs/static/generated/articles-docs-react-18.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-renderer-get-can-extract-frames-fast.png b/packages/docs/static/generated/articles-docs-renderer-get-can-extract-frames-fast.png
deleted file mode 100644
index 215926ae58..0000000000
Binary files a/packages/docs/static/generated/articles-docs-renderer-get-can-extract-frames-fast.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-ssr-legacy.png b/packages/docs/static/generated/articles-docs-ssr-legacy.png
deleted file mode 100644
index df5a3785eb..0000000000
Binary files a/packages/docs/static/generated/articles-docs-ssr-legacy.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-tailwind-2.png b/packages/docs/static/generated/articles-docs-tailwind-2.png
deleted file mode 100644
index 9430909031..0000000000
Binary files a/packages/docs/static/generated/articles-docs-tailwind-2.png and /dev/null differ
diff --git a/packages/lambda/src/api/create-function.ts b/packages/lambda/src/api/create-function.ts
index 7db7deb1d1..b4471572a1 100644
--- a/packages/lambda/src/api/create-function.ts
+++ b/packages/lambda/src/api/create-function.ts
@@ -360,7 +360,7 @@ export const createFunction = async ({
);
} catch {
console.warn(
- '⚠️ Could not lock the runtime version. We recommend to update your policies to prevent your functions from breaking in the future in case the AWS runtime changes. See https://remotion.dev/docs/lambda/feb-2023-incident for an example on how to update your policy.',
+ '⚠️ Could not lock the runtime version. We recommend to update your policies to prevent your functions from breaking in the future in case the AWS runtime changes. See https://remotion.dev/docs/lambda/permissions for the required permissions.',
);
}