@remotion/cloudrun 4.0.73 → 4.0.75

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.
@@ -1,14 +1,14 @@
1
1
 
2
- > @remotion/cloudrun@4.0.72 build /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.74 build /Users/jonathanburger/remotion/packages/cloudrun
3
3
  > tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json && pnpm run buildContainer && pnpm run tarInstaller
4
4
 
5
5
 
6
- > @remotion/cloudrun@4.0.72 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
6
+ > @remotion/cloudrun@4.0.74 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
7
7
  > ts-node src/admin/bundle-renderLogic.ts
8
8
 
9
9
  distribution bundled.
10
10
 
11
- > @remotion/cloudrun@4.0.72 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
11
+ > @remotion/cloudrun@4.0.74 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
12
12
  > ts-node src/admin/bundle-installer.ts
13
13
 
14
14
  Making reproducible build with gtar
@@ -0,0 +1,16 @@
1
+
2
+ > @remotion/cloudrun@4.0.71 test /Users/jonathanburger/remotion/packages/cloudrun
3
+ > vitest --run
4
+
5
+
6
+ RUN v0.31.1 /Users/jonathanburger/remotion/packages/cloudrun
7
+
8
+ ✓ src/api/test/service-names.test.ts (1 test) 3ms
9
+ ✓ src/api/test/make-console.test.ts (2 tests) 2ms
10
+ ✓ src/api/test/running-in-what-server.test.ts (4 tests) 2ms
11
+
12
+ Test Files 3 passed (3)
13
+ Tests 7 passed (7)
14
+ Start at 12:17:00
15
+ Duration 739ms (transform 179ms, setup 0ms, collect 527ms, tests 7ms, environment 0ms, prepare 54ms)
16
+
@@ -53,33 +53,33 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
53
53
  colorSpace: z.ZodEnum<["default", "bt709"]>;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  serveUrl: string;
56
- envVariables: Record<string, string>;
57
- jpegQuality: number;
58
- scale: number;
59
- offthreadVideoCacheSizeInBytes: number | null;
60
56
  type: "media";
61
57
  composition: string;
62
- imageFormat: "png" | "jpeg" | "none";
63
- logLevel: "verbose" | "info" | "warn" | "error";
64
- delayRenderTimeoutInMilliseconds: number;
65
58
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
59
+ serializedInputPropsWithCustomSchema: string;
60
+ jpegQuality: number;
61
+ audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
62
+ audioBitrate: string | null;
63
+ videoBitrate: string | null;
66
64
  crf: number | null;
67
- frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
68
65
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
66
+ imageFormat: "png" | "jpeg" | "none";
67
+ scale: number;
69
68
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
70
- x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
69
+ x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
71
70
  everyNthFrame: number;
72
71
  numberOfGifLoops: number | null;
72
+ frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
73
+ envVariables: Record<string, string>;
73
74
  muted: boolean;
74
- audioBitrate: string | null;
75
- videoBitrate: string | null;
76
- enforceAudioTrack: boolean;
77
- colorSpace: "default" | "bt709";
78
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
75
+ outputBucket: string;
76
+ logLevel: "error" | "verbose" | "info" | "warn";
77
+ delayRenderTimeoutInMilliseconds: number;
79
78
  concurrency: string | number | null;
79
+ enforceAudioTrack: boolean;
80
80
  preferLossless: boolean;
81
- serializedInputPropsWithCustomSchema: string;
82
- outputBucket: string;
81
+ offthreadVideoCacheSizeInBytes: number | null;
82
+ colorSpace: "default" | "bt709";
83
83
  forceHeight?: number | null | undefined;
84
84
  forceWidth?: number | null | undefined;
85
85
  chromiumOptions?: {
@@ -93,33 +93,33 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
93
93
  privacy?: "public" | "private" | undefined;
94
94
  }, {
95
95
  serveUrl: string;
96
- envVariables: Record<string, string>;
97
- jpegQuality: number;
98
- scale: number;
99
- offthreadVideoCacheSizeInBytes: number | null;
100
96
  type: "media";
101
97
  composition: string;
102
- imageFormat: "png" | "jpeg" | "none";
103
- logLevel: "verbose" | "info" | "warn" | "error";
104
- delayRenderTimeoutInMilliseconds: number;
105
98
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
99
+ serializedInputPropsWithCustomSchema: string;
100
+ jpegQuality: number;
101
+ audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
102
+ audioBitrate: string | null;
103
+ videoBitrate: string | null;
106
104
  crf: number | null;
107
- frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
108
105
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
106
+ imageFormat: "png" | "jpeg" | "none";
107
+ scale: number;
109
108
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
110
- x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
109
+ x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
111
110
  everyNthFrame: number;
112
111
  numberOfGifLoops: number | null;
112
+ frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
113
+ envVariables: Record<string, string>;
113
114
  muted: boolean;
114
- audioBitrate: string | null;
115
- videoBitrate: string | null;
116
- enforceAudioTrack: boolean;
117
- colorSpace: "default" | "bt709";
118
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
115
+ outputBucket: string;
116
+ logLevel: "error" | "verbose" | "info" | "warn";
117
+ delayRenderTimeoutInMilliseconds: number;
119
118
  concurrency: string | number | null;
119
+ enforceAudioTrack: boolean;
120
120
  preferLossless: boolean;
121
- serializedInputPropsWithCustomSchema: string;
122
- outputBucket: string;
121
+ offthreadVideoCacheSizeInBytes: number | null;
122
+ colorSpace: "default" | "bt709";
123
123
  forceHeight?: number | null | undefined;
124
124
  forceWidth?: number | null | undefined;
125
125
  chromiumOptions?: {
@@ -170,18 +170,18 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
170
170
  offthreadVideoCacheSizeInBytes: z.ZodNullable<z.ZodNumber>;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  serveUrl: string;
173
- privacy: "public" | "private";
174
- envVariables: Record<string, string>;
175
- scale: number;
176
- offthreadVideoCacheSizeInBytes: number | null;
177
173
  type: "still";
178
174
  composition: string;
179
- imageFormat: "png" | "jpeg" | "pdf" | "webp";
180
- frame: number;
181
- logLevel: "verbose" | "info" | "warn" | "error";
182
- delayRenderTimeoutInMilliseconds: number;
183
175
  serializedInputPropsWithCustomSchema: string;
176
+ imageFormat: "png" | "jpeg" | "pdf" | "webp";
177
+ scale: number;
178
+ envVariables: Record<string, string>;
184
179
  outputBucket: string;
180
+ privacy: "public" | "private";
181
+ logLevel: "error" | "verbose" | "info" | "warn";
182
+ delayRenderTimeoutInMilliseconds: number;
183
+ offthreadVideoCacheSizeInBytes: number | null;
184
+ frame: number;
185
185
  forceHeight?: number | null | undefined;
186
186
  forceWidth?: number | null | undefined;
187
187
  jpegQuality?: number | undefined;
@@ -195,18 +195,18 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
195
195
  outName?: string | undefined;
196
196
  }, {
197
197
  serveUrl: string;
198
- privacy: "public" | "private";
199
- envVariables: Record<string, string>;
200
- scale: number;
201
- offthreadVideoCacheSizeInBytes: number | null;
202
198
  type: "still";
203
199
  composition: string;
204
- imageFormat: "png" | "jpeg" | "pdf" | "webp";
205
- frame: number;
206
- logLevel: "verbose" | "info" | "warn" | "error";
207
- delayRenderTimeoutInMilliseconds: number;
208
200
  serializedInputPropsWithCustomSchema: string;
201
+ imageFormat: "png" | "jpeg" | "pdf" | "webp";
202
+ scale: number;
203
+ envVariables: Record<string, string>;
209
204
  outputBucket: string;
205
+ privacy: "public" | "private";
206
+ logLevel: "error" | "verbose" | "info" | "warn";
207
+ delayRenderTimeoutInMilliseconds: number;
208
+ offthreadVideoCacheSizeInBytes: number | null;
209
+ frame: number;
210
210
  forceHeight?: number | null | undefined;
211
211
  forceWidth?: number | null | undefined;
212
212
  jpegQuality?: number | undefined;
@@ -225,13 +225,13 @@ declare const renderFailResponsePayload: z.ZodObject<{
225
225
  name: z.ZodString;
226
226
  stack: z.ZodString;
227
227
  }, "strip", z.ZodTypeAny, {
228
- type: "error";
229
228
  message: string;
229
+ type: "error";
230
230
  name: string;
231
231
  stack: string;
232
232
  }, {
233
- type: "error";
234
233
  message: string;
234
+ type: "error";
235
235
  name: string;
236
236
  stack: string;
237
237
  }>;
@@ -245,18 +245,18 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
245
245
  privacy: z.ZodEnum<["public-read", "project-private"]>;
246
246
  }, "strip", z.ZodTypeAny, {
247
247
  bucketName: string;
248
- privacy: "public-read" | "project-private";
248
+ size: number;
249
249
  type: "success";
250
+ privacy: "public-read" | "project-private";
250
251
  cloudStorageUri: string;
251
- size: number;
252
252
  renderId: string;
253
253
  publicUrl?: string | null | undefined;
254
254
  }, {
255
255
  bucketName: string;
256
- privacy: "public-read" | "project-private";
256
+ size: number;
257
257
  type: "success";
258
+ privacy: "public-read" | "project-private";
258
259
  cloudStorageUri: string;
259
- size: number;
260
260
  renderId: string;
261
261
  publicUrl?: string | null | undefined;
262
262
  }>;
@@ -270,18 +270,18 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
270
270
  privacy: z.ZodEnum<["public-read", "project-private"]>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  bucketName: string;
273
- privacy: "public-read" | "project-private";
273
+ size: number;
274
274
  type: "success";
275
+ privacy: "public-read" | "project-private";
275
276
  cloudStorageUri: string;
276
- size: number;
277
277
  renderId: string;
278
278
  publicUrl?: string | null | undefined;
279
279
  }, {
280
280
  bucketName: string;
281
- privacy: "public-read" | "project-private";
281
+ size: number;
282
282
  type: "success";
283
+ privacy: "public-read" | "project-private";
283
284
  cloudStorageUri: string;
284
- size: number;
285
285
  renderId: string;
286
286
  publicUrl?: string | null | undefined;
287
287
  }>;
@@ -293,15 +293,15 @@ declare const cloudRunCrashResponse: z.ZodObject<{
293
293
  requestCrashTime: z.ZodString;
294
294
  requestElapsedTimeInSeconds: z.ZodNumber;
295
295
  }, "strip", z.ZodTypeAny, {
296
- type: "crash";
297
296
  message: "Service crashed without sending a response. Check the logs in GCP console.";
297
+ type: "crash";
298
298
  cloudRunEndpoint: string;
299
299
  requestStartTime: string;
300
300
  requestCrashTime: string;
301
301
  requestElapsedTimeInSeconds: number;
302
302
  }, {
303
- type: "crash";
304
303
  message: "Service crashed without sending a response. Check the logs in GCP console.";
304
+ type: "crash";
305
305
  cloudRunEndpoint: string;
306
306
  requestStartTime: string;
307
307
  requestCrashTime: string;
@@ -1,3 +1,3 @@
1
1
  export declare const CloudrunInternals: {
2
- executeCommand: (args: string[], remotionRoot: string, logLevel: "verbose" | "info" | "warn" | "error") => Promise<void>;
2
+ executeCommand: (args: string[], remotionRoot: string, logLevel: "error" | "verbose" | "info" | "warn") => Promise<void>;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cloudrun",
3
- "version": "4.0.73",
3
+ "version": "4.0.75",
4
4
  "description": "GCP Cloud Run alternative to lambda rendering",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
@@ -12,10 +12,10 @@
12
12
  "@google-cloud/logging": "^10.5.0",
13
13
  "google-auth-library": "^8.7.0",
14
14
  "zod": "^3.22.3",
15
- "@remotion/bundler": "4.0.73",
16
- "@remotion/cli": "4.0.73",
17
- "remotion": "4.0.73",
18
- "@remotion/renderer": "4.0.73"
15
+ "@remotion/bundler": "4.0.75",
16
+ "@remotion/cli": "4.0.75",
17
+ "remotion": "4.0.75",
18
+ "@remotion/renderer": "4.0.75"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@jonny/eslint-config": "3.0.276",
@@ -26,7 +26,7 @@
26
26
  "prettier-plugin-organize-imports": "^3.2.2",
27
27
  "ts-node": "^10.8.0",
28
28
  "vitest": "0.31.1",
29
- "@remotion/compositor-linux-x64-gnu": "4.0.73"
29
+ "@remotion/compositor-linux-x64-gnu": "4.0.75"
30
30
  },
31
31
  "exports": {
32
32
  "./package.json": "./package.json",