@remotion/cloudrun 4.0.439 → 4.0.440

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ export declare const getCompositionFromBody: (body: {
6
6
  forceWidth?: number | null | undefined;
7
7
  forceFps?: number | null | undefined;
8
8
  forceDurationInFrames?: number | null | undefined;
9
- codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
9
+ codec: "aac" | "av1" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
10
10
  serializedInputPropsWithCustomSchema: string;
11
11
  jpegQuality: number | null;
12
12
  audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null;
@@ -16,6 +16,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
16
16
  forceDurationInFrames: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
17
17
  codec: z.ZodEnum<{
18
18
  aac: "aac";
19
+ av1: "av1";
19
20
  gif: "gif";
20
21
  h264: "h264";
21
22
  "h264-mkv": "h264-mkv";
@@ -7,7 +7,7 @@ export declare const renderMediaSingleThread: (body: {
7
7
  forceWidth?: number | null | undefined;
8
8
  forceFps?: number | null | undefined;
9
9
  forceDurationInFrames?: number | null | undefined;
10
- codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
10
+ codec: "aac" | "av1" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
11
11
  serializedInputPropsWithCustomSchema: string;
12
12
  jpegQuality: number | null;
13
13
  audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null;
@@ -7,7 +7,7 @@ export declare const renderStillSingleThread: (body: {
7
7
  forceWidth?: number | null | undefined;
8
8
  forceFps?: number | null | undefined;
9
9
  forceDurationInFrames?: number | null | undefined;
10
- codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
10
+ codec: "aac" | "av1" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
11
11
  serializedInputPropsWithCustomSchema: string;
12
12
  jpegQuality: number | null;
13
13
  audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,13 @@ import type { GcpRegion } from './pricing/gcp-regions';
17
17
  * @deprecated Import this from `@remotion/cloudrun/client` instead
18
18
  */
19
19
  declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, }: RenderMediaOnCloudrunInput) => Promise<{
20
+ type: "crash";
21
+ cloudRunEndpoint: string;
22
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
23
+ requestStartTime: string;
24
+ requestCrashTime: string;
25
+ requestElapsedTimeInSeconds: number;
26
+ } | {
20
27
  type: "success";
21
28
  publicUrl?: string | null | undefined;
22
29
  cloudStorageUri: string;
@@ -24,13 +31,6 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
24
31
  bucketName: string;
25
32
  renderId: string;
26
33
  privacy: "project-private" | "public-read";
27
- } | {
28
- type: "crash";
29
- cloudRunEndpoint: string;
30
- message: "Service crashed without sending a response. Check the logs in GCP console.";
31
- requestStartTime: string;
32
- requestCrashTime: string;
33
- requestElapsedTimeInSeconds: number;
34
34
  }>;
35
35
  /**
36
36
  * @deprecated Import this from `@remotion/cloudrun/client` instead
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.439",
6
+ "version": "4.0.440",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -21,17 +21,17 @@
21
21
  "@google-cloud/storage": "7.15.2",
22
22
  "@google-cloud/resource-manager": "5.3.1",
23
23
  "@google-cloud/logging": "11.2.0",
24
- "@remotion/bundler": "4.0.439",
25
- "@remotion/cli": "4.0.439",
26
- "@remotion/renderer": "4.0.439",
24
+ "@remotion/bundler": "4.0.440",
25
+ "@remotion/cli": "4.0.440",
26
+ "@remotion/renderer": "4.0.440",
27
27
  "google-auth-library": "8.7.0",
28
- "remotion": "4.0.439",
28
+ "remotion": "4.0.440",
29
29
  "zod": "4.3.6"
30
30
  },
31
31
  "devDependencies": {
32
- "@remotion/compositor-linux-x64-gnu": "4.0.439",
32
+ "@remotion/compositor-linux-x64-gnu": "4.0.440",
33
33
  "@types/minimist": "1.2.2",
34
- "@remotion/eslint-config-internal": "4.0.439",
34
+ "@remotion/eslint-config-internal": "4.0.440",
35
35
  "eslint": "9.19.0",
36
36
  "@types/node": "20.12.14",
37
37
  "@typescript/native-preview": "7.0.0-dev.20260217.1"