Skip to content

🎥 Make videos programmatically with React

serve Url

Jonny Burgerdabbf15bfd2f
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 845e16b455..d4a2baa06a 100644
--- a/packages/it-tests/src/ssr/cancel-after-success.test.ts
+++ b/packages/it-tests/src/ssr/cancel-after-success.test.ts
@@ -8,7 +8,8 @@ test("Cancelling after success should not throw error", async () => {
const outputLocation = "out/render.mp4";
await renderMedia({
codec: "h264",
- serveUrl: "https://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 9729399db4..1021296635 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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 cd3948ccc2..d980bbe75d 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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 2d8a82b1e9..1789caf42f 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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 5d84b7ffef..623747506a 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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 b1ff46998d..21f484524e 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://shimmering-youtiao-218c24.netlify.app/",
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 d20a9ea027..e396be1386 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://shimmering-youtiao-218c24.netlify.app/",
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
{
puppeteerInstance,
}
@@ -26,7 +26,8 @@ test("Render video with browser instance open", async () => {
await renderMedia({
outputLocation: outPath,
codec: "h264",
- serveUrl: "https://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/"
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
// @ts-expect-error
crf: "wrong",
config: {
@@ -95,7 +98,7 @@ test("should fail on invalid CRF", async () => {
test("Render video to a buffer", async () => {
const compositions = await getCompositions(
- "https://shimmering-youtiao-218c24.netlify.app/"
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -106,7 +109,8 @@ test("Render video to a buffer", async () => {
const { buffer } = await renderMedia({
codec: "h264",
- serveUrl: "https://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 4a0fba6d7c..d93b2d4762 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://shimmering-youtiao-218c24.netlify.app/",
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/",
{
puppeteerInstance,
}
@@ -34,7 +34,8 @@ test("Render video with browser instance open", async () => {
const { buffer } = await renderStill({
output: outPath,
- serveUrl: "https://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/"
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/",
+ serveUrl:
+ "https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 75f5034b06..a11e3742e8 100644
--- a/packages/lambda/src/test/integration/renders/gif.test.ts
+++ b/packages/lambda/src/test/integration/renders/gif.test.ts
@@ -34,7 +34,8 @@ test('Should make a distributed GIF', async () => {
const res = (await handler(
{
type: LambdaRoutines.start,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 b99789b92a..2cc8709207 100644
--- a/packages/lambda/src/test/integration/renders/other-bucket.test.ts
+++ b/packages/lambda/src/test/integration/renders/other-bucket.test.ts
@@ -33,7 +33,8 @@ test('Should be able to render to another bucket', async () => {
const res = (await handler(
{
type: LambdaRoutines.start,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 3bdf69bd1e..21b84800e2 100644
--- a/packages/lambda/src/test/integration/renders/silent-audio.test.ts
+++ b/packages/lambda/src/test/integration/renders/silent-audio.test.ts
@@ -33,7 +33,8 @@ test('Should add silent audio if there is no audio', async () => {
const res = (await handler(
{
type: LambdaRoutines.start,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 03d7f9dd2b..894b52cd3a 100644
--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
@@ -36,7 +36,8 @@ test('Should make a transparent video', async () => {
const res = (await handler(
{
type: LambdaRoutines.start,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 94697b0f67..9505252fb8 100644
--- a/packages/lambda/src/test/integration/webhooks.test.ts
+++ b/packages/lambda/src/test/integration/webhooks.test.ts
@@ -69,7 +69,8 @@ describe('Webhooks', () => {
const res = await handler(
{
type: LambdaRoutines.start,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
@@ -154,7 +155,8 @@ describe('Webhooks', () => {
await handler(
{
type: LambdaRoutines.launch,
- serveUrl: 'https://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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 79a5b7b69b..a2a11ae26c 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://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.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://shimmering-youtiao-218c24.netlify.app/',
+ serveUrl:
+ 'https://649c2591dc13fa0aa817f746--helpful-frangollo-8c4f55.netlify.app/',
})
).rejects.toThrow(
/Image format should be one of: "png", "jpeg", "pdf", "webp"/