Skip to content

🎥 Make videos programmatically with React

correct URL

Jonny Burgerf750a9c50e74
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 3ee0ce0118..dece26ec7c 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://loquacious-rabanadas-a2bd81.netlify.app/",
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 2846de8aa4..ba86b768b4 100644
--- a/packages/it-tests/src/ssr/cancel-renderframes.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderframes.test.ts
@@ -5,7 +5,8 @@ test("Should be able to cancel render", async () => {
try {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderFrames({
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 9319fffe61..e4414b40c4 100644
--- a/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
+++ b/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
@@ -6,7 +6,8 @@ test("Should be able to cancel render", async () => {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderMedia({
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 d78f5aa1cd..796b40d41a 100644
--- a/packages/it-tests/src/ssr/cancel-renderstill.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderstill.test.ts
@@ -5,7 +5,8 @@ test("Should be able to cancel render", async () => {
try {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderStill({
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 03f81fbdd8..8596c9fc2f 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
@@ -5,7 +5,8 @@ test("Fatal error on frame 10 should yield correct error", async () => {
await expect(() => {
return renderMedia({
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 25bc7251d9..4fb7f98a5e 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://loquacious-rabanadas-a2bd81.netlify.app/",
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
{
puppeteerInstance,
}
@@ -39,7 +39,8 @@ test("Legacy SSR way of rendering videos should still work", async () => {
imageFormat: "jpeg",
inputProps: {},
onFrameUpdate: () => undefined,
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 3d4a75dd94..e48b979074 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://loquacious-rabanadas-a2bd81.netlify.app/",
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
{
puppeteerInstance,
}
@@ -26,7 +26,8 @@ test("Render video with browser instance open", async () => {
await renderMedia({
outputLocation: outPath,
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
puppeteerInstance,
@@ -37,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://loquacious-rabanadas-a2bd81.netlify.app/"
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -53,7 +54,8 @@ test("Render video with browser instance not open", async () => {
await renderMedia({
outputLocation: outPath,
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
@@ -70,7 +72,8 @@ test("should fail on invalid CRF", async () => {
await renderMedia({
outputLocation: outPath,
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
// @ts-expect-error
crf: "wrong",
composition: {
@@ -97,7 +100,7 @@ test("should fail on invalid CRF", async () => {
test("Render video to a buffer", async () => {
const compositions = await getCompositions(
- "https://loquacious-rabanadas-a2bd81.netlify.app/"
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -108,7 +111,8 @@ test("Render video to a buffer", async () => {
const { buffer } = await renderMedia({
codec: "h264",
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 8351fc3f2d..b1d90521b9 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://loquacious-rabanadas-a2bd81.netlify.app/",
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
{
puppeteerInstance,
}
@@ -34,7 +34,8 @@ test("Render video with browser instance open", async () => {
const { buffer } = await renderStill({
output: outPath,
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/",
composition: reactSvg,
puppeteerInstance,
});
@@ -44,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://loquacious-rabanadas-a2bd81.netlify.app/"
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -59,7 +60,8 @@ test("Render still with browser instance not open and legacy webpack config", as
await renderStill({
output: outPath,
- serveUrl: "https://loquacious-rabanadas-a2bd81.netlify.app/",
+ serveUrl:
+ "https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 71dff1deed..293f653496 100644
--- a/packages/lambda/src/test/integration/renders/gif.test.ts
+++ b/packages/lambda/src/test/integration/renders/gif.test.ts
@@ -23,7 +23,8 @@ test('Should make a distributed GIF', async () => {
const res = await callLambda({
type: LambdaRoutines.start,
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 509e3a21da..9a26f742aa 100644
--- a/packages/lambda/src/test/integration/renders/other-bucket.test.ts
+++ b/packages/lambda/src/test/integration/renders/other-bucket.test.ts
@@ -22,7 +22,8 @@ test('Should be able to render to another bucket', async () => {
const res = await callLambda({
type: LambdaRoutines.start,
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 411127431e..58f645a595 100644
--- a/packages/lambda/src/test/integration/renders/silent-audio.test.ts
+++ b/packages/lambda/src/test/integration/renders/silent-audio.test.ts
@@ -21,7 +21,8 @@ test('Should add silent audio if there is no audio', async () => {
const res = await callLambda({
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 0ce210dcf7..b76c97e8cc 100644
--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
@@ -25,7 +25,8 @@ test('Should make a transparent video', async () => {
const res = await callLambda({
type: LambdaRoutines.start,
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 7005b57e0e..4456dbd73b 100644
--- a/packages/lambda/src/test/integration/webhooks.test.ts
+++ b/packages/lambda/src/test/integration/webhooks.test.ts
@@ -58,7 +58,8 @@ describe('Webhooks', () => {
const res = await callLambda({
type: LambdaRoutines.start,
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
@@ -150,7 +151,8 @@ describe('Webhooks', () => {
region: 'us-east-1',
type: LambdaRoutines.launch,
payload: {
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.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 f658c77c7f..3fa4b5289a 100644
--- a/packages/renderer/src/test/render-still.test.ts
+++ b/packages/renderer/src/test/render-still.test.ts
@@ -15,7 +15,8 @@ test('Need to pass valid metadata', async () => {
},
frame: 0,
output: '/file/output.png',
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/',
verbose: false,
})
).rejects.toThrow(/not be NaN, but is NaN/);
@@ -33,7 +34,8 @@ test('Returns buffer in promise result', async () => {
props: {},
},
frame: 0,
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/',
verbose: false,
});
expect(buffer?.length).toBeGreaterThan(1000);
@@ -53,7 +55,8 @@ test('Need to pass valid metadata', async () => {
},
frame: 200,
output: '/file/output.png',
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/',
verbose: false,
})
).rejects.toThrow(
@@ -77,7 +80,8 @@ test('Catches invalid image format', () => {
imageFormat: 'jjj',
frame: 200,
output: '/file/output.png',
- serveUrl: 'https://loquacious-rabanadas-a2bd81.netlify.app/',
+ serveUrl:
+ 'https://64d3734a6bb69052c34d3616--spiffy-kelpie-71657b.netlify.app/',
})
).rejects.toThrow(
/Image format should be one of: "png", "jpeg", "pdf", "webp"/