@remotion/cloudrun 4.0.20 → 4.0.21
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.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @remotion/cloudrun@4.0.
|
|
2
|
+
> @remotion/cloudrun@4.0.20 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.
|
|
6
|
+
> @remotion/cloudrun@4.0.20 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.
|
|
11
|
+
> @remotion/cloudrun@4.0.20 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
|
|
12
12
|
> ts-node src/admin/bundle-installer.ts
|
|
13
13
|
|
|
@@ -81,6 +81,7 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
|
|
|
81
81
|
multiProgress.bucketProgress.doneIn = Date.now() - bucketStart;
|
|
82
82
|
updateProgress();
|
|
83
83
|
const bundleStart = Date.now();
|
|
84
|
+
let uploadStart = Date.now();
|
|
84
85
|
const { serveUrl, siteName, stats } = await (0, deploy_site_1.deploySite)({
|
|
85
86
|
entryPoint: file,
|
|
86
87
|
siteName: desiredSiteName,
|
|
@@ -91,6 +92,9 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
|
|
|
91
92
|
progress,
|
|
92
93
|
doneIn: progress === 100 ? Date.now() - bundleStart : null,
|
|
93
94
|
};
|
|
95
|
+
if (progress === 100) {
|
|
96
|
+
uploadStart = Date.now();
|
|
97
|
+
}
|
|
94
98
|
},
|
|
95
99
|
onUploadProgress: (p) => {
|
|
96
100
|
multiProgress.deployProgress = {
|
|
@@ -106,7 +110,6 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
|
|
|
106
110
|
},
|
|
107
111
|
});
|
|
108
112
|
updateProgress();
|
|
109
|
-
const uploadStart = Date.now();
|
|
110
113
|
const uploadDuration = Date.now() - uploadStart;
|
|
111
114
|
multiProgress.deployProgress = {
|
|
112
115
|
sizeUploaded: 1,
|
|
@@ -50,30 +50,30 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
50
50
|
preferLossless: z.ZodBoolean;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
serveUrl: string;
|
|
53
|
-
envVariables: Record<string, string>;
|
|
54
|
-
jpegQuality: number;
|
|
55
|
-
scale: number;
|
|
56
|
-
logLevel: "error" | "verbose" | "info" | "warn";
|
|
57
|
-
composition: string;
|
|
58
|
-
imageFormat: "png" | "jpeg" | "none";
|
|
59
|
-
delayRenderTimeoutInMilliseconds: number;
|
|
60
53
|
type: "media";
|
|
54
|
+
composition: string;
|
|
61
55
|
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
56
|
+
serializedInputPropsWithCustomSchema: string;
|
|
57
|
+
jpegQuality: number;
|
|
58
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
59
|
+
audioBitrate: string | null;
|
|
60
|
+
videoBitrate: string | null;
|
|
62
61
|
crf: number | null;
|
|
63
|
-
frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
|
|
64
62
|
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
63
|
+
imageFormat: "png" | "jpeg" | "none";
|
|
64
|
+
scale: number;
|
|
65
65
|
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
|
|
66
66
|
everyNthFrame: number;
|
|
67
67
|
numberOfGifLoops: number | null;
|
|
68
|
+
frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
|
|
69
|
+
envVariables: Record<string, string>;
|
|
68
70
|
muted: boolean;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
71
|
+
outputBucket: string;
|
|
72
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
73
|
+
delayRenderTimeoutInMilliseconds: number;
|
|
73
74
|
concurrency: string | number | null;
|
|
75
|
+
enforceAudioTrack: boolean;
|
|
74
76
|
preferLossless: boolean;
|
|
75
|
-
serializedInputPropsWithCustomSchema: string;
|
|
76
|
-
outputBucket: string;
|
|
77
77
|
forceHeight?: number | null | undefined;
|
|
78
78
|
forceWidth?: number | null | undefined;
|
|
79
79
|
chromiumOptions?: {
|
|
@@ -87,30 +87,30 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
87
87
|
privacy?: "public" | "private" | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
serveUrl: string;
|
|
90
|
-
envVariables: Record<string, string>;
|
|
91
|
-
jpegQuality: number;
|
|
92
|
-
scale: number;
|
|
93
|
-
logLevel: "error" | "verbose" | "info" | "warn";
|
|
94
|
-
composition: string;
|
|
95
|
-
imageFormat: "png" | "jpeg" | "none";
|
|
96
|
-
delayRenderTimeoutInMilliseconds: number;
|
|
97
90
|
type: "media";
|
|
91
|
+
composition: string;
|
|
98
92
|
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
93
|
+
serializedInputPropsWithCustomSchema: string;
|
|
94
|
+
jpegQuality: number;
|
|
95
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
96
|
+
audioBitrate: string | null;
|
|
97
|
+
videoBitrate: string | null;
|
|
99
98
|
crf: number | null;
|
|
100
|
-
frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
|
|
101
99
|
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
100
|
+
imageFormat: "png" | "jpeg" | "none";
|
|
101
|
+
scale: number;
|
|
102
102
|
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | null;
|
|
103
103
|
everyNthFrame: number;
|
|
104
104
|
numberOfGifLoops: number | null;
|
|
105
|
+
frameRange: ((number | [number, number]) & (number | [number, number] | undefined)) | null;
|
|
106
|
+
envVariables: Record<string, string>;
|
|
105
107
|
muted: boolean;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
108
|
+
outputBucket: string;
|
|
109
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
110
|
+
delayRenderTimeoutInMilliseconds: number;
|
|
110
111
|
concurrency: string | number | null;
|
|
112
|
+
enforceAudioTrack: boolean;
|
|
111
113
|
preferLossless: boolean;
|
|
112
|
-
serializedInputPropsWithCustomSchema: string;
|
|
113
|
-
outputBucket: string;
|
|
114
114
|
forceHeight?: number | null | undefined;
|
|
115
115
|
forceWidth?: number | null | undefined;
|
|
116
116
|
chromiumOptions?: {
|
|
@@ -159,18 +159,18 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
159
159
|
delayRenderTimeoutInMilliseconds: z.ZodNumber;
|
|
160
160
|
logLevel: z.ZodEnum<["verbose", "info", "warn", "error"]>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
privacy: "public" | "private";
|
|
163
162
|
serveUrl: string;
|
|
164
|
-
envVariables: Record<string, string>;
|
|
165
|
-
scale: number;
|
|
166
|
-
logLevel: "error" | "verbose" | "info" | "warn";
|
|
167
|
-
composition: string;
|
|
168
|
-
imageFormat: "png" | "jpeg" | "pdf" | "webp";
|
|
169
|
-
frame: number;
|
|
170
|
-
delayRenderTimeoutInMilliseconds: number;
|
|
171
163
|
type: "still";
|
|
164
|
+
composition: string;
|
|
172
165
|
serializedInputPropsWithCustomSchema: string;
|
|
166
|
+
imageFormat: "png" | "jpeg" | "pdf" | "webp";
|
|
167
|
+
scale: number;
|
|
168
|
+
envVariables: Record<string, string>;
|
|
173
169
|
outputBucket: string;
|
|
170
|
+
privacy: "public" | "private";
|
|
171
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
172
|
+
delayRenderTimeoutInMilliseconds: number;
|
|
173
|
+
frame: number;
|
|
174
174
|
forceHeight?: number | null | undefined;
|
|
175
175
|
forceWidth?: number | null | undefined;
|
|
176
176
|
jpegQuality?: number | undefined;
|
|
@@ -183,18 +183,18 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
183
183
|
} | undefined;
|
|
184
184
|
outName?: string | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
privacy: "public" | "private";
|
|
187
186
|
serveUrl: string;
|
|
188
|
-
envVariables: Record<string, string>;
|
|
189
|
-
scale: number;
|
|
190
|
-
logLevel: "error" | "verbose" | "info" | "warn";
|
|
191
|
-
composition: string;
|
|
192
|
-
imageFormat: "png" | "jpeg" | "pdf" | "webp";
|
|
193
|
-
frame: number;
|
|
194
|
-
delayRenderTimeoutInMilliseconds: number;
|
|
195
187
|
type: "still";
|
|
188
|
+
composition: string;
|
|
196
189
|
serializedInputPropsWithCustomSchema: string;
|
|
190
|
+
imageFormat: "png" | "jpeg" | "pdf" | "webp";
|
|
191
|
+
scale: number;
|
|
192
|
+
envVariables: Record<string, string>;
|
|
197
193
|
outputBucket: string;
|
|
194
|
+
privacy: "public" | "private";
|
|
195
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
196
|
+
delayRenderTimeoutInMilliseconds: number;
|
|
197
|
+
frame: number;
|
|
198
198
|
forceHeight?: number | null | undefined;
|
|
199
199
|
forceWidth?: number | null | undefined;
|
|
200
200
|
jpegQuality?: number | undefined;
|
|
@@ -229,19 +229,19 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
|
|
|
229
229
|
renderId: z.ZodString;
|
|
230
230
|
privacy: z.ZodEnum<["public-read", "project-private"]>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
|
|
232
|
+
bucketName: string;
|
|
233
|
+
size: number;
|
|
233
234
|
status: "success";
|
|
235
|
+
privacy: "public-read" | "project-private";
|
|
234
236
|
cloudStorageUri: string;
|
|
235
|
-
size: number;
|
|
236
|
-
bucketName: string;
|
|
237
237
|
renderId: string;
|
|
238
238
|
publicUrl?: string | null | undefined;
|
|
239
239
|
}, {
|
|
240
|
-
|
|
240
|
+
bucketName: string;
|
|
241
|
+
size: number;
|
|
241
242
|
status: "success";
|
|
243
|
+
privacy: "public-read" | "project-private";
|
|
242
244
|
cloudStorageUri: string;
|
|
243
|
-
size: number;
|
|
244
|
-
bucketName: string;
|
|
245
245
|
renderId: string;
|
|
246
246
|
publicUrl?: string | null | undefined;
|
|
247
247
|
}>;
|
|
@@ -254,19 +254,19 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
|
|
|
254
254
|
renderId: z.ZodString;
|
|
255
255
|
privacy: z.ZodEnum<["public-read", "project-private"]>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
|
|
257
|
+
bucketName: string;
|
|
258
|
+
size: number;
|
|
258
259
|
status: "success";
|
|
260
|
+
privacy: "public-read" | "project-private";
|
|
259
261
|
cloudStorageUri: string;
|
|
260
|
-
size: number;
|
|
261
|
-
bucketName: string;
|
|
262
262
|
renderId: string;
|
|
263
263
|
publicUrl?: string | null | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
|
|
265
|
+
bucketName: string;
|
|
266
|
+
size: number;
|
|
266
267
|
status: "success";
|
|
268
|
+
privacy: "public-read" | "project-private";
|
|
267
269
|
cloudStorageUri: string;
|
|
268
|
-
size: number;
|
|
269
|
-
bucketName: string;
|
|
270
270
|
renderId: string;
|
|
271
271
|
publicUrl?: string | null | undefined;
|
|
272
272
|
}>;
|
|
@@ -278,15 +278,15 @@ declare const cloudRunCrashResponse: z.ZodObject<{
|
|
|
278
278
|
requestCrashTime: z.ZodString;
|
|
279
279
|
requestElapsedTimeInSeconds: z.ZodNumber;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
status: "crash";
|
|
282
281
|
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
282
|
+
status: "crash";
|
|
283
283
|
cloudRunEndpoint: string;
|
|
284
284
|
requestStartTime: string;
|
|
285
285
|
requestCrashTime: string;
|
|
286
286
|
requestElapsedTimeInSeconds: number;
|
|
287
287
|
}, {
|
|
288
|
-
status: "crash";
|
|
289
288
|
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
289
|
+
status: "crash";
|
|
290
290
|
cloudRunEndpoint: string;
|
|
291
291
|
requestStartTime: string;
|
|
292
292
|
requestCrashTime: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cloudrun",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.21",
|
|
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.21.4",
|
|
15
|
-
"@remotion/bundler": "4.0.
|
|
16
|
-
"@remotion/cli": "4.0.
|
|
17
|
-
"remotion": "4.0.
|
|
18
|
-
"
|
|
15
|
+
"@remotion/bundler": "4.0.21",
|
|
16
|
+
"@remotion/cli": "4.0.21",
|
|
17
|
+
"@remotion/renderer": "4.0.21",
|
|
18
|
+
"remotion": "4.0.21"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@jonny/eslint-config": "3.0.266",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
27
27
|
"ts-node": "^10.8.0",
|
|
28
28
|
"vitest": "0.24.3",
|
|
29
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
29
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.21"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
"./package.json": "./package.json",
|