Skip to content

🎥 Make videos programmatically with React

new serve url

Jonny Burger9583882f8e2f
diff --git a/packages/it-tests/src/ssr/cancel-after-success.test.ts b/packages/it-tests/src/ssr/cancel-after-success.test.ts
index d4a2baa06a..5784fd47c2 100644
--- a/packages/it-tests/src/ssr/cancel-after-success.test.ts
+++ b/packages/it-tests/src/ssr/cancel-after-success.test.ts
@@ -9,7 +9,7 @@ test("Cancelling after success should not throw error", async () => {
await renderMedia({
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: {
durationInFrames: 4,
fps: 30,
diff --git a/packages/it-tests/src/ssr/cancel-renderframes.test.ts b/packages/it-tests/src/ssr/cancel-renderframes.test.ts
index 1021296635..f362582f96 100644
--- a/packages/it-tests/src/ssr/cancel-renderframes.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderframes.test.ts
@@ -6,7 +6,7 @@ test("Should be able to cancel render", async () => {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderFrames({
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/cancel-rendermedia.test.ts b/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
index d980bbe75d..d430d48185 100644
--- a/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
+++ b/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
@@ -7,7 +7,7 @@ test("Should be able to cancel render", async () => {
const val = renderMedia({
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/cancel-renderstill.test.ts b/packages/it-tests/src/ssr/cancel-renderstill.test.ts
index 1789caf42f..4be66fc226 100644
--- a/packages/it-tests/src/ssr/cancel-renderstill.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderstill.test.ts
@@ -6,7 +6,7 @@ test("Should be able to cancel render", async () => {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderStill({
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts b/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts
index 623747506a..76b99e32eb 100644
--- a/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts
+++ b/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts
@@ -6,7 +6,7 @@ test("Fatal error on frame 10 should yield correct error", async () => {
return renderMedia({
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/render-frames.test.ts b/packages/it-tests/src/ssr/render-frames.test.ts
index 21f484524e..44f3952d73 100644
--- a/packages/it-tests/src/ssr/render-frames.test.ts
+++ b/packages/it-tests/src/ssr/render-frames.test.ts
@@ -13,7 +13,7 @@ import { RenderInternals } from "@remotion/renderer";
test("Legacy SSR way of rendering videos should still work", async () => {
const puppeteerInstance = await openBrowser("chrome");
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
{
puppeteerInstance,
}
@@ -40,7 +40,7 @@ test("Legacy SSR way of rendering videos should still work", async () => {
inputProps: {},
onFrameUpdate: () => undefined,
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
concurrency: null,
frameRange: [0, 10],
outputDir: framesDir,
diff --git a/packages/it-tests/src/ssr/render-media.test.ts b/packages/it-tests/src/ssr/render-media.test.ts
index e396be1386..09a4eee4be 100644
--- a/packages/it-tests/src/ssr/render-media.test.ts
+++ b/packages/it-tests/src/ssr/render-media.test.ts
@@ -7,7 +7,7 @@ import { expect, test } from "vitest";
test("Render video with browser instance open", async () => {
const puppeteerInstance = await openBrowser("chrome");
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
{
puppeteerInstance,
}
@@ -27,7 +27,7 @@ test("Render video with browser instance open", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
puppeteerInstance,
@@ -38,7 +38,7 @@ test("Render video with browser instance open", async () => {
test("Render video with browser instance not open", async () => {
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/"
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -55,7 +55,7 @@ test("Render video with browser instance not open", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
@@ -73,7 +73,7 @@ test("should fail on invalid CRF", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
// @ts-expect-error
crf: "wrong",
config: {
@@ -98,7 +98,7 @@ test("should fail on invalid CRF", async () => {
test("Render video to a buffer", async () => {
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/"
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -110,7 +110,7 @@ test("Render video to a buffer", async () => {
const { buffer } = await renderMedia({
codec: "h264",
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
diff --git a/packages/it-tests/src/ssr/render-still.test.ts b/packages/it-tests/src/ssr/render-still.test.ts
index d93b2d4762..1ede1e8b0a 100644
--- a/packages/it-tests/src/ssr/render-still.test.ts
+++ b/packages/it-tests/src/ssr/render-still.test.ts
@@ -16,7 +16,7 @@ afterEach(async () => {
test("Render video with browser instance open", async () => {
const puppeteerInstance = await openBrowser("chrome");
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
{
puppeteerInstance,
}
@@ -35,7 +35,7 @@ test("Render video with browser instance open", async () => {
const { buffer } = await renderStill({
output: outPath,
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: reactSvg,
puppeteerInstance,
});
@@ -45,7 +45,7 @@ test("Render video with browser instance open", async () => {
test("Render still with browser instance not open and legacy webpack config", async () => {
const compositions = await getCompositions(
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/"
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -61,7 +61,7 @@ test("Render still with browser instance not open and legacy webpack config", as
await renderStill({
output: outPath,
serveUrl:
- "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
+ "https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/",
composition: reactSvg,
});
expect(existsSync(outPath)).toBe(true);
diff --git a/packages/lambda/src/test/integration/renders/gif.test.ts b/packages/lambda/src/test/integration/renders/gif.test.ts
index a11e3742e8..3e064452bf 100644
--- a/packages/lambda/src/test/integration/renders/gif.test.ts
+++ b/packages/lambda/src/test/integration/renders/gif.test.ts
@@ -35,7 +35,7 @@ test('Should make a distributed GIF', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'gif',
composition: 'framer',
diff --git a/packages/lambda/src/test/integration/renders/other-bucket.test.ts b/packages/lambda/src/test/integration/renders/other-bucket.test.ts
index 2cc8709207..db0cc5ab3a 100644
--- a/packages/lambda/src/test/integration/renders/other-bucket.test.ts
+++ b/packages/lambda/src/test/integration/renders/other-bucket.test.ts
@@ -34,7 +34,7 @@ test('Should be able to render to another bucket', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
diff --git a/packages/lambda/src/test/integration/renders/silent-audio.test.ts b/packages/lambda/src/test/integration/renders/silent-audio.test.ts
index 21b84800e2..9936c8b6cb 100644
--- a/packages/lambda/src/test/integration/renders/silent-audio.test.ts
+++ b/packages/lambda/src/test/integration/renders/silent-audio.test.ts
@@ -34,7 +34,7 @@ test('Should add silent audio if there is no audio', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
diff --git a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
index 894b52cd3a..34f304e6a6 100644
--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
@@ -37,7 +37,7 @@ test('Should make a transparent video', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'vp8',
composition: 'ten-frame-tester',
diff --git a/packages/lambda/src/test/integration/webhooks.test.ts b/packages/lambda/src/test/integration/webhooks.test.ts
index 9505252fb8..059b3f64c7 100644
--- a/packages/lambda/src/test/integration/webhooks.test.ts
+++ b/packages/lambda/src/test/integration/webhooks.test.ts
@@ -70,7 +70,7 @@ describe('Webhooks', () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
@@ -156,7 +156,7 @@ describe('Webhooks', () => {
{
type: LambdaRoutines.launch,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
diff --git a/packages/renderer/src/test/render-still.test.ts b/packages/renderer/src/test/render-still.test.ts
index a2a11ae26c..4681e73b46 100644
--- a/packages/renderer/src/test/render-still.test.ts
+++ b/packages/renderer/src/test/render-still.test.ts
@@ -16,7 +16,7 @@ test('Need to pass valid metadata', async () => {
frame: 0,
output: '/file/output.png',
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
verbose: false,
})
).rejects.toThrow(/not be NaN, but is NaN/);
@@ -35,7 +35,7 @@ test('Returns buffer in promise result', async () => {
},
frame: 0,
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
verbose: false,
});
expect(buffer?.length).toBeGreaterThan(1000);
@@ -56,7 +56,7 @@ test('Need to pass valid metadata', async () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
verbose: false,
})
).rejects.toThrow(
@@ -81,7 +81,7 @@ test('Catches invalid image format', () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
+ 'https://649ea0770f2b6b55f2a5425c--effulgent-pixie-5f5cfb.netlify.app/',
})
).rejects.toThrow(
/Image format should be one of: "png", "jpeg", "pdf", "webp"/