🎥 Make videos programmatically with React
add blog post
Jonny Burger5e781201c2ee
diff --git a/packages/docs/blog/2022-07-14-remotion-3-1.md b/packages/docs/blog/2022-07-14-remotion-3-1.mdindex 656de5148b..3997c468a4 100644--- a/packages/docs/blog/2022-07-14-remotion-3-1.md+++ b/packages/docs/blog/2022-07-14-remotion-3-1.md@@ -130,13 +130,13 @@ before they appear in the [`<Player>`](/docs/player): [`resolveRedirect()`](/docIf your screen real estate is tight, you may also hide the left sidebar now!-<video src="/img/sidebar.mp4" autoPlay muted loop />+<video playsInline src="/img/sidebar.mp4" autoPlay muted loop />## Built-in color pickerIn the preview, go to `Tools` -> `Color picker` to trigger an eye dropper that allows you to pick any color from the screen! Only Chrome has this feature enabled for now.-<video src="/img/colorpicker.mp4" autoPlay muted loop />+<video playsInline src="/img/colorpicker.mp4" autoPlay muted loop />## For power users@@ -153,7 +153,7 @@ In the preview, go to `Tools` -> `Color picker` to trigger an eye dropper that aWe welcome Patric as our intern! As you can see on our [new team page](/about), we are now a team of three and are in the preparations of our first fundraising round.-<video src="/img/patric.mp4" autoPlay muted loop />+<video playsInline src="/img/patric.mp4" autoPlay muted loop /><p style={{textAlign: "center"}}><em>Patric's first Remotion video!</em></p>diff --git a/packages/docs/blog/2024-03-05-deployable-studio.md b/packages/docs/blog/2024-03-05-deployable-studio.mdindex 434f9469cf..ee3e163974 100644--- a/packages/docs/blog/2024-03-05-deployable-studio.md+++ b/packages/docs/blog/2024-03-05-deployable-studio.md@@ -5,7 +5,7 @@ author: Jonny Burgerauthor_title: Chief Hacker @ Remotionauthor_url: https://github.com/JonnyBurgerauthor_image_url: https://avatars2.githubusercontent.com/u/1629785?s=460&u=12eb94da6070d00fc924761ce06e3a428d01b7e9&v=4-image: /img/deploy-studio.png+image: /img/seamless-aac.png---We now make it possible to export the Remotion Studio as a static website and deploy it to any hosting provider.diff --git a/packages/docs/blog/2024-03-20-faster-lambda-renders.mdx b/packages/docs/blog/2024-03-21-faster-lambda-renders.mdxsimilarity index 89%rename from packages/docs/blog/2024-03-20-faster-lambda-renders.mdxrename to packages/docs/blog/2024-03-21-faster-lambda-renders.mdxindex 1004f9ac38..26ac1011f7 100644--- a/packages/docs/blog/2024-03-20-faster-lambda-renders.mdx+++ b/packages/docs/blog/2024-03-21-faster-lambda-renders.mdx@@ -13,20 +13,25 @@ import { AacPadding } from "../components/Aac/AacPadding";import { AacConcatenationProblem } from "../components/Aac/AacConcatenationProblem";import { AacKeyframes } from "../components/Aac/AacKeyframes";import { AacConcatenationSolution } from "../components/Aac/AacConcatenationSolution";+import { AacBenchmarks } from "../components/Aac/Benchmarks";-With Remotion v4.0.127, [Remotion Lambda](/lambda) renders now finish significantly faster!+With Remotion v4.0.129, [Remotion Lambda](/lambda) renders now complete significantly faster!+The longer the video, the higher the speedup.-- 1 minute video: 15 seconds faster-- 10 minute video: 2 minutes faster-- 40 minute Video: 8 minutes faster--TODO: Quantify the speedup+<AacBenchmarks />+<sub style={{ opacity: 0.5, lineHeight: 0.7 }}>+ Rendering a 1920x1080px video with an <code><OffthreadVideo></code> tag+ loading a 15MB Full HD video and looping it. The Lambda function has been+ given 3000MB of memory.+</sub>+<br />+<br />Thanks to an innovative audio concatenation strategy that we implemented with help from [Max Schnur](https://github.com/maxpower15) from [Wistia](https://wistia.com/), we can skip an audio re-encoding step at the end.## Audio is the slow part-Remotion Lambda renders chunks of a video in parallel and concatenates them at the end.+Remotion Lambda renders portions of a video in parallel and concatenates them at the end.The slow part is actually not the video, but the audio rendering!While other codecs are possible, a `.mp4` file usually contains AAC audio.@@ -109,5 +114,5 @@ If all of these factors are accounted for, concatenating AAC chunks will be comp<br /><br />-Upgrade to Remotion 4.0.127 or later to benefit from the faster rendering on Lambda.+Upgrade to Remotion 4.0.129 or later to benefit from the faster rendering on Lambda.We look forward to engineer even more performance improvements in the future for lower costs and better user experience!diff --git a/packages/docs/components/Aac/AacConcatenationSolution.tsx b/packages/docs/components/Aac/AacConcatenationSolution.tsxindex 54dbece811..6b6d4903d9 100644--- a/packages/docs/components/Aac/AacConcatenationSolution.tsx+++ b/packages/docs/components/Aac/AacConcatenationSolution.tsx@@ -48,7 +48,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -61,7 +61,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -74,7 +74,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -87,7 +87,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -100,7 +100,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -113,7 +113,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -126,7 +126,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -139,7 +139,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -152,7 +152,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -165,7 +165,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -178,7 +178,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -191,7 +191,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -204,7 +204,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -232,7 +232,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -245,7 +245,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -258,7 +258,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -271,7 +271,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -284,7 +284,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -297,7 +297,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -310,7 +310,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -323,7 +323,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -336,7 +336,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -349,7 +349,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -362,7 +362,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -375,7 +375,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -388,7 +388,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -489,7 +489,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -502,7 +502,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -515,7 +515,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -528,7 +528,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -541,7 +541,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -554,7 +554,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -567,7 +567,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -580,7 +580,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -593,7 +593,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -606,7 +606,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -619,7 +619,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -632,7 +632,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -645,7 +645,7 @@ export const AacConcatenationSolution = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"diff --git a/packages/docs/components/Aac/AacFile.tsx b/packages/docs/components/Aac/AacFile.tsxindex ea74b307c9..50a624948b 100644--- a/packages/docs/components/Aac/AacFile.tsx+++ b/packages/docs/components/Aac/AacFile.tsx@@ -29,7 +29,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -42,7 +42,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -55,7 +55,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -68,7 +68,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -81,7 +81,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -94,7 +94,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -107,7 +107,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -120,7 +120,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -133,7 +133,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -146,7 +146,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -159,7 +159,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -172,7 +172,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -185,7 +185,7 @@ export const AacFile: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"diff --git a/packages/docs/components/Aac/AacKeyframes.tsx b/packages/docs/components/Aac/AacKeyframes.tsxindex 44d2c5f666..bf0b324ed0 100644--- a/packages/docs/components/Aac/AacKeyframes.tsx+++ b/packages/docs/components/Aac/AacKeyframes.tsx@@ -30,7 +30,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -43,7 +43,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -56,7 +56,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -69,7 +69,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -82,7 +82,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -95,7 +95,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -108,7 +108,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -121,7 +121,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -134,7 +134,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -147,7 +147,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -160,7 +160,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -173,7 +173,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -186,7 +186,7 @@ export const AacKeyframes: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"diff --git a/packages/docs/components/Aac/AacPadding.tsx b/packages/docs/components/Aac/AacPadding.tsxindex eed0ea73cc..a90fbfb485 100644--- a/packages/docs/components/Aac/AacPadding.tsx+++ b/packages/docs/components/Aac/AacPadding.tsx@@ -31,7 +31,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -44,7 +44,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -57,7 +57,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -70,7 +70,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -83,7 +83,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -96,7 +96,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -109,7 +109,7 @@ export const AacPadding: React.FC = () => {fill="#A6A6A6"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -122,7 +122,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -135,7 +135,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -148,7 +148,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -161,7 +161,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -174,7 +174,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"@@ -187,7 +187,7 @@ export const AacPadding: React.FC = () => {fill="#F4F4F4"xmlSpace="preserve"style={{ whiteSpace: "pre" }}- fontFamily="GT Planar"+ fontFamily="GTPlanar"fontSize="4"fontWeight="500"letterSpacing="0em"diff --git a/packages/docs/components/Aac/Benchmarks.tsx b/packages/docs/components/Aac/Benchmarks.tsxnew file mode 100644index 0000000000..33a8d85e6a--- /dev/null+++ b/packages/docs/components/Aac/Benchmarks.tsx@@ -0,0 +1,236 @@+import React from "react";++export const AacBenchmarks: React.FC = () => {+ return (+ <div+ style={{+ width: "100%",+ overflowX: "auto",+ }}+ >+ <svg+ style={{+ minWidth: 600,+ }}+ viewBox="0 0 687 262"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <rect x="47" y="24" width="28" height="24" fill="#0B84F3" />+ <rect x="47" y="117" width="64.8" height="24" fill="#0B84F3" />+ <rect x="47" y="210" width="264.2" height="24" fill="#0B84F3" />+ <rect x="47" y="52" width="31.8" height="24" fill="#D9D9D9" />+ <rect x="47" y="145" width="134.6" height="24" fill="#D9D9D9" />+ <rect x="47" y="238" width="582.6" height="24" fill="#D9D9D9" />+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="8.52344" y="40.572">+ 28.3s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="7.91406" y="133.572">+ 64.8s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="0.660156" y="226.572">+ 264.2s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="9.40234" y="68.572">+ 31.8s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="4.29297" y="161.572">+ 134.7s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="1" y="254.572">+ 582.6s+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="900"+ letterSpacing="0em"+ >+ <tspan x="47" y="11.572">+ 1 Minute video+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="900"+ letterSpacing="0em"+ >+ <tspan x="47" y="11.572">+ 1 Minute video+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="900"+ letterSpacing="0em"+ >+ <tspan x="47" y="106.572">+ 10 Minute video+ </tspan>+ </text>+ <text+ fill="currentcolor"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="900"+ letterSpacing="0em"+ >+ <tspan x="47" y="200.572">+ 40 Minute video+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="82" y="40.572">+ v4.0.129+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="86" y="68.572">+ v4.0.126+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="119" y="133.572">+ v4.0.129+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="318" y="226.572">+ v4.0.129+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="189" y="161.572">+ v4.0.126+ </tspan>+ </text>+ <text+ fill="#A6A6A6"+ xmlSpace="preserve"+ style={{ whiteSpace: "pre" }}+ fontFamily="GTPlanar"+ fontSize="12"+ fontWeight="500"+ letterSpacing="0em"+ >+ <tspan x="637" y="254.572">+ v4.0.126+ </tspan>+ </text>+ </svg>{" "}+ </div>+ );+};diff --git a/packages/docs/static/img/seamless-aac.png b/packages/docs/static/img/seamless-aac.pngnew file mode 100644index 0000000000..3bc7c0c1f4Binary files /dev/null and b/packages/docs/static/img/seamless-aac.png differ