@remotion/cloudrun 4.0.54 → 4.0.56

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.53 build /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.55 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.53 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
6
+ > @remotion/cloudrun@4.0.55 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.53 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
11
+ > @remotion/cloudrun@4.0.55 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
12
12
  > ts-node src/admin/bundle-installer.ts
13
13
 
14
14
  Making reproducible build with gtar
@@ -1,5 +1,5 @@
1
1
 
2
- > @remotion/cloudrun@4.0.51 lint /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.45 lint /Users/jonathanburger/remotion/packages/cloudrun
3
3
  > eslint src --ext ts,tsx
4
4
 
5
5
  Warning: React version was set to "detect" in eslint-plugin-react settings, but the "react" package is not installed. Assuming latest React version for linting.
@@ -18,7 +18,7 @@ Warning: React version was set to "detect" in eslint-plugin-react settings, but
18
18
  68:4 warning Unexpected 'todo' comment: 'TODO: Log if there is an incompatible...' no-warning-comments
19
19
 
20
20
  /Users/jonathanburger/remotion/packages/cloudrun/src/cli/commands/render/index.ts
21
- 119:2 warning Unexpected 'todo' comment: 'Todo: Check cloudRunUrl is valid, as the...' no-warning-comments
21
+ 118:2 warning Unexpected 'todo' comment: 'Todo: Check cloudRunUrl is valid, as the...' no-warning-comments
22
22
 
23
23
  /Users/jonathanburger/remotion/packages/cloudrun/src/cli/commands/still.ts
24
24
  104:2 warning Unexpected 'todo' comment: 'Todo: Check cloudRunUrl is valid, as the...' no-warning-comments
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
package/dist/cli/log.d.ts CHANGED
@@ -2,24 +2,24 @@ export declare const Log: {
2
2
  verbose: (message?: any, ...optionalParams: any[]) => void;
3
3
  verboseAdvanced: (options: {
4
4
  indent: boolean;
5
- logLevel: "error" | "verbose" | "info" | "warn";
5
+ logLevel: "verbose" | "info" | "warn" | "error";
6
6
  } & {
7
7
  tag?: string | undefined;
8
8
  }, message?: any, ...optionalParams: any[]) => void;
9
9
  info: (message?: any, ...optionalParams: any[]) => void;
10
10
  infoAdvanced: (options: {
11
11
  indent: boolean;
12
- logLevel: "error" | "verbose" | "info" | "warn";
12
+ logLevel: "verbose" | "info" | "warn" | "error";
13
13
  }, message?: any, ...optionalParams: any[]) => void;
14
14
  warn: (message?: any, ...optionalParams: any[]) => void;
15
15
  warnAdvanced: (options: {
16
16
  indent: boolean;
17
- logLevel: "error" | "verbose" | "info" | "warn";
17
+ logLevel: "verbose" | "info" | "warn" | "error";
18
18
  }, message?: any, ...optionalParams: any[]) => void;
19
19
  error: (message?: any, ...optionalParams: any[]) => void;
20
20
  errorAdvanced: (options: {
21
21
  indent: boolean;
22
- logLevel: "error" | "verbose" | "info" | "warn";
22
+ logLevel: "verbose" | "info" | "warn" | "error";
23
23
  } & {
24
24
  tag?: string | undefined;
25
25
  }, message?: any, ...optionalParams: any[]) => void;
@@ -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
+ logLevel: "verbose" | "info" | "warn" | "error";
60
+ offthreadVideoCacheSizeInBytes: number | null;
56
61
  type: "media";
57
62
  composition: string;
63
+ imageFormat: "png" | "jpeg" | "none";
64
+ delayRenderTimeoutInMilliseconds: number;
58
65
  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;
64
66
  crf: number | null;
67
+ frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
65
68
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
66
- imageFormat: "png" | "jpeg" | "none";
67
- scale: number;
68
69
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
69
- x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
70
+ x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
70
71
  everyNthFrame: number;
71
72
  numberOfGifLoops: number | null;
72
- frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
73
- envVariables: Record<string, string>;
74
73
  muted: boolean;
75
- outputBucket: string;
76
- logLevel: "error" | "verbose" | "info" | "warn";
77
- delayRenderTimeoutInMilliseconds: number;
78
- concurrency: string | number | null;
74
+ audioBitrate: string | null;
75
+ videoBitrate: string | null;
79
76
  enforceAudioTrack: boolean;
80
- preferLossless: boolean;
81
- offthreadVideoCacheSizeInBytes: number | null;
82
77
  colorSpace: "default" | "bt709";
78
+ audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
79
+ concurrency: string | number | null;
80
+ preferLossless: boolean;
81
+ serializedInputPropsWithCustomSchema: string;
82
+ outputBucket: string;
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
+ logLevel: "verbose" | "info" | "warn" | "error";
100
+ offthreadVideoCacheSizeInBytes: number | null;
96
101
  type: "media";
97
102
  composition: string;
103
+ imageFormat: "png" | "jpeg" | "none";
104
+ delayRenderTimeoutInMilliseconds: number;
98
105
  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;
104
106
  crf: number | null;
107
+ frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
105
108
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
106
- imageFormat: "png" | "jpeg" | "none";
107
- scale: number;
108
109
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
109
- x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
110
+ x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
110
111
  everyNthFrame: number;
111
112
  numberOfGifLoops: number | null;
112
- frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
113
- envVariables: Record<string, string>;
114
113
  muted: boolean;
115
- outputBucket: string;
116
- logLevel: "error" | "verbose" | "info" | "warn";
117
- delayRenderTimeoutInMilliseconds: number;
118
- concurrency: string | number | null;
114
+ audioBitrate: string | null;
115
+ videoBitrate: string | null;
119
116
  enforceAudioTrack: boolean;
120
- preferLossless: boolean;
121
- offthreadVideoCacheSizeInBytes: number | null;
122
117
  colorSpace: "default" | "bt709";
118
+ audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
119
+ concurrency: string | number | null;
120
+ preferLossless: boolean;
121
+ serializedInputPropsWithCustomSchema: string;
122
+ outputBucket: string;
123
123
  forceHeight?: number | null | undefined;
124
124
  forceWidth?: number | null | undefined;
125
125
  chromiumOptions?: {
@@ -169,19 +169,19 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
169
169
  logLevel: z.ZodEnum<["verbose", "info", "warn", "error"]>;
170
170
  offthreadVideoCacheSizeInBytes: z.ZodNullable<z.ZodNumber>;
171
171
  }, "strip", z.ZodTypeAny, {
172
+ privacy: "public" | "private";
172
173
  serveUrl: string;
174
+ envVariables: Record<string, string>;
175
+ scale: number;
176
+ logLevel: "verbose" | "info" | "warn" | "error";
177
+ offthreadVideoCacheSizeInBytes: number | null;
173
178
  type: "still";
174
179
  composition: string;
175
- serializedInputPropsWithCustomSchema: string;
176
180
  imageFormat: "png" | "jpeg" | "pdf" | "webp";
177
- scale: number;
178
- envVariables: Record<string, string>;
179
- outputBucket: string;
180
- privacy: "public" | "private";
181
- logLevel: "error" | "verbose" | "info" | "warn";
182
- delayRenderTimeoutInMilliseconds: number;
183
- offthreadVideoCacheSizeInBytes: number | null;
184
181
  frame: number;
182
+ delayRenderTimeoutInMilliseconds: number;
183
+ serializedInputPropsWithCustomSchema: string;
184
+ outputBucket: string;
185
185
  forceHeight?: number | null | undefined;
186
186
  forceWidth?: number | null | undefined;
187
187
  jpegQuality?: number | undefined;
@@ -194,19 +194,19 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
194
194
  } | undefined;
195
195
  outName?: string | undefined;
196
196
  }, {
197
+ privacy: "public" | "private";
197
198
  serveUrl: string;
199
+ envVariables: Record<string, string>;
200
+ scale: number;
201
+ logLevel: "verbose" | "info" | "warn" | "error";
202
+ offthreadVideoCacheSizeInBytes: number | null;
198
203
  type: "still";
199
204
  composition: string;
200
- serializedInputPropsWithCustomSchema: string;
201
205
  imageFormat: "png" | "jpeg" | "pdf" | "webp";
202
- scale: number;
203
- envVariables: Record<string, string>;
204
- outputBucket: string;
205
- privacy: "public" | "private";
206
- logLevel: "error" | "verbose" | "info" | "warn";
207
- delayRenderTimeoutInMilliseconds: number;
208
- offthreadVideoCacheSizeInBytes: number | null;
209
206
  frame: number;
207
+ delayRenderTimeoutInMilliseconds: number;
208
+ serializedInputPropsWithCustomSchema: string;
209
+ outputBucket: string;
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
- message: string;
229
228
  type: "error";
229
+ message: string;
230
230
  name: string;
231
231
  stack: string;
232
232
  }, {
233
- message: string;
234
233
  type: "error";
234
+ message: string;
235
235
  name: string;
236
236
  stack: string;
237
237
  }>;
@@ -244,19 +244,19 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
244
244
  renderId: z.ZodString;
245
245
  privacy: z.ZodEnum<["public-read", "project-private"]>;
246
246
  }, "strip", z.ZodTypeAny, {
247
- bucketName: string;
248
- size: number;
249
- type: "success";
250
247
  privacy: "public-read" | "project-private";
248
+ type: "success";
251
249
  cloudStorageUri: string;
250
+ size: number;
251
+ bucketName: string;
252
252
  renderId: string;
253
253
  publicUrl?: string | null | undefined;
254
254
  }, {
255
- bucketName: string;
256
- size: number;
257
- type: "success";
258
255
  privacy: "public-read" | "project-private";
256
+ type: "success";
259
257
  cloudStorageUri: string;
258
+ size: number;
259
+ bucketName: string;
260
260
  renderId: string;
261
261
  publicUrl?: string | null | undefined;
262
262
  }>;
@@ -269,19 +269,19 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
269
269
  renderId: z.ZodString;
270
270
  privacy: z.ZodEnum<["public-read", "project-private"]>;
271
271
  }, "strip", z.ZodTypeAny, {
272
- bucketName: string;
273
- size: number;
274
- type: "success";
275
272
  privacy: "public-read" | "project-private";
273
+ type: "success";
276
274
  cloudStorageUri: string;
275
+ size: number;
276
+ bucketName: string;
277
277
  renderId: string;
278
278
  publicUrl?: string | null | undefined;
279
279
  }, {
280
- bucketName: string;
281
- size: number;
282
- type: "success";
283
280
  privacy: "public-read" | "project-private";
281
+ type: "success";
284
282
  cloudStorageUri: string;
283
+ size: number;
284
+ bucketName: string;
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
- message: "Service crashed without sending a response. Check the logs in GCP console.";
297
296
  type: "crash";
297
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
298
298
  cloudRunEndpoint: string;
299
299
  requestStartTime: string;
300
300
  requestCrashTime: string;
301
301
  requestElapsedTimeInSeconds: number;
302
302
  }, {
303
- message: "Service crashed without sending a response. Check the logs in GCP console.";
304
303
  type: "crash";
304
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
305
305
  cloudRunEndpoint: string;
306
306
  requestStartTime: string;
307
307
  requestCrashTime: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cloudrun",
3
- "version": "4.0.54",
3
+ "version": "4.0.56",
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.54",
16
- "@remotion/renderer": "4.0.54",
17
- "remotion": "4.0.54",
18
- "@remotion/cli": "4.0.54"
15
+ "@remotion/bundler": "4.0.56",
16
+ "@remotion/cli": "4.0.56",
17
+ "@remotion/renderer": "4.0.56",
18
+ "remotion": "4.0.56"
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.54"
29
+ "@remotion/compositor-linux-x64-gnu": "4.0.56"
30
30
  },
31
31
  "exports": {
32
32
  "./package.json": "./package.json",