Skip to content

🎥 Make videos programmatically with React

update remote URLs

Jonny Burger24ffee45719c
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 8fbeeb1cef..fdce0569b6 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 823376ae39..ec880cae05 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 b460d3e357..a081f6969e 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 0d335bf6a4..a4416a57f8 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 6aa271f7eb..5c05f14d64 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 cebe4c1859..cf6490c9c2 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/",
{
puppeteerInstance,
}
@@ -40,7 +40,7 @@ test("Legacy SSR way of rendering videos should still work", async () => {
inputProps: {},
onFrameUpdate: () => undefined,
serveUrl:
- "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 7d097e517d..abd3c64c73 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/",
{
puppeteerInstance,
}
@@ -27,7 +27,7 @@ test("Render video with browser instance open", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
@@ -73,7 +73,7 @@ test("should fail on invalid CRF", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 8804284264..1fb1176000 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/",
{
puppeteerInstance,
}
@@ -35,7 +35,7 @@ test("Render video with browser instance open", async () => {
const { buffer } = await renderStill({
output: outPath,
serveUrl:
- "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
+ "https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 7e6d2d1ec1..c83037fc24 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 54257bcd0c..80762acea9 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 b98b03af56..2713ef06ae 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 7788895ac6..9b46a4c0e1 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 c4d0c5d300..1cfd42ed8d 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://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
@@ -157,7 +157,7 @@ describe('Webhooks', () => {
{
type: LambdaRoutines.launch,
serveUrl:
- 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.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 840044bfdc..7e198fc3e2 100644
--- a/packages/renderer/src/test/render-still.test.ts
+++ b/packages/renderer/src/test/render-still.test.ts
@@ -17,7 +17,7 @@ test('Need to pass valid metadata', async () => {
frame: 0,
output: '/file/output.png',
serveUrl:
- 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -39,7 +39,7 @@ test('Returns buffer in promise result', async () => {
},
frame: 0,
serveUrl:
- 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -63,7 +63,7 @@ test('Need to pass valid metadata', async () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -90,7 +90,7 @@ test('Catches invalid image format', () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
+ 'https://64804302bfd41946b23d7b35--lovely-dieffenbachia-90a6f1.netlify.app/',
})
).rejects.toThrow(
/Image format should be one of: "png", "jpeg", "pdf", "webp"/