@remotion/cloudrun 4.0.479 → 4.0.481

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.
@@ -76,13 +76,6 @@ export type RenderMediaOnCloudrunInput = {
76
76
  renderStatusWebhook?: z.infer<typeof CloudRunPayload>['renderStatusWebhook'];
77
77
  } & Partial<ToOptions<typeof BrowserSafeApis.optionsMap.renderMediaOnCloudRun>>;
78
78
  export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, renderIdOverride, renderStatusWebhook, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, downloadBehavior, metadata, mediaCacheSizeInBytes, sampleRate, }: InternalRenderMediaOnCloudrun) => Promise<{
79
- type: "crash";
80
- cloudRunEndpoint: string;
81
- message: "Service crashed without sending a response. Check the logs in GCP console.";
82
- requestStartTime: string;
83
- requestCrashTime: string;
84
- requestElapsedTimeInSeconds: number;
85
- } | {
86
79
  type: "success";
87
80
  publicUrl?: string | null | undefined;
88
81
  cloudStorageUri: string;
@@ -90,15 +83,15 @@ export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName,
90
83
  bucketName: string;
91
84
  renderId: string;
92
85
  privacy: "project-private" | "public-read";
93
- }>;
94
- export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, 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, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
86
+ } | {
95
87
  type: "crash";
96
88
  cloudRunEndpoint: string;
97
89
  message: "Service crashed without sending a response. Check the logs in GCP console.";
98
90
  requestStartTime: string;
99
91
  requestCrashTime: string;
100
92
  requestElapsedTimeInSeconds: number;
101
- } | {
93
+ }>;
94
+ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, 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, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
102
95
  type: "success";
103
96
  publicUrl?: string | null | undefined;
104
97
  cloudStorageUri: string;
@@ -106,5 +99,12 @@ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region,
106
99
  bucketName: string;
107
100
  renderId: string;
108
101
  privacy: "project-private" | "public-read";
102
+ } | {
103
+ type: "crash";
104
+ cloudRunEndpoint: string;
105
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
106
+ requestStartTime: string;
107
+ requestCrashTime: string;
108
+ requestElapsedTimeInSeconds: number;
109
109
  }>;
110
110
  export {};
package/dist/index.d.ts CHANGED
@@ -17,13 +17,6 @@ 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, gopSize, 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, sampleRate, }: 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
- } | {
27
20
  type: "success";
28
21
  publicUrl?: string | null | undefined;
29
22
  cloudStorageUri: string;
@@ -31,6 +24,13 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
31
24
  bucketName: string;
32
25
  renderId: string;
33
26
  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
@@ -42,6 +42,11 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
42
42
  requestStartTime: string;
43
43
  requestCrashTime: string;
44
44
  requestElapsedTimeInSeconds: number;
45
+ } | {
46
+ type: "error";
47
+ message: string;
48
+ name: string;
49
+ stack: string;
45
50
  } | {
46
51
  type: "success";
47
52
  publicUrl?: string | null | undefined;
@@ -50,11 +55,6 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
50
55
  bucketName: string;
51
56
  renderId: string;
52
57
  privacy: "project-private" | "public-read";
53
- } | {
54
- type: "error";
55
- message: string;
56
- name: string;
57
- stack: string;
58
58
  }>;
59
59
  /**
60
60
  * @deprecated Import this from `@remotion/lambda/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.479",
6
+ "version": "4.0.481",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -20,17 +20,17 @@
20
20
  "@google-cloud/storage": "7.15.2",
21
21
  "@google-cloud/resource-manager": "5.3.1",
22
22
  "@google-cloud/logging": "11.2.0",
23
- "@remotion/bundler": "4.0.479",
24
- "@remotion/cli": "4.0.479",
25
- "@remotion/renderer": "4.0.479",
23
+ "@remotion/bundler": "4.0.481",
24
+ "@remotion/cli": "4.0.481",
25
+ "@remotion/renderer": "4.0.481",
26
26
  "google-auth-library": "8.7.0",
27
- "remotion": "4.0.479",
27
+ "remotion": "4.0.481",
28
28
  "zod": "4.3.6"
29
29
  },
30
30
  "devDependencies": {
31
- "@remotion/compositor-linux-x64-gnu": "4.0.479",
31
+ "@remotion/compositor-linux-x64-gnu": "4.0.481",
32
32
  "@types/minimist": "1.2.2",
33
- "@remotion/eslint-config-internal": "4.0.479",
33
+ "@remotion/eslint-config-internal": "4.0.481",
34
34
  "eslint": "9.19.0",
35
35
  "@types/node": "20.12.14",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"