@remotion/cloudrun 4.0.461 → 4.0.462
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/dist/api/deploy-site.js
CHANGED
|
@@ -48,6 +48,7 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
|
|
|
48
48
|
askAIEnabled: (_j = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
|
|
49
49
|
keyboardShortcutsEnabled: (_k = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _k !== void 0 ? _k : true,
|
|
50
50
|
rspack: (_l = options === null || options === void 0 ? void 0 : options.rspack) !== null && _l !== void 0 ? _l : false,
|
|
51
|
+
symlinkPublicDir: false,
|
|
51
52
|
}),
|
|
52
53
|
]);
|
|
53
54
|
const { toDelete, toUpload, existingCount } = await (0, get_storage_operations_1.getStorageDiffOperations)({
|
|
@@ -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, 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, 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, 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 {};
|
|
@@ -31,13 +31,6 @@ type OptionalParameters = {
|
|
|
31
31
|
} & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
|
|
32
32
|
export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
|
|
33
33
|
export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
|
|
34
|
-
type: "crash";
|
|
35
|
-
cloudRunEndpoint: string;
|
|
36
|
-
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
37
|
-
requestStartTime: string;
|
|
38
|
-
requestCrashTime: string;
|
|
39
|
-
requestElapsedTimeInSeconds: number;
|
|
40
|
-
} | {
|
|
41
34
|
type: "success";
|
|
42
35
|
publicUrl?: string | null | undefined;
|
|
43
36
|
cloudStorageUri: string;
|
|
@@ -50,5 +43,12 @@ export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput
|
|
|
50
43
|
message: string;
|
|
51
44
|
name: string;
|
|
52
45
|
stack: string;
|
|
46
|
+
} | {
|
|
47
|
+
type: "crash";
|
|
48
|
+
cloudRunEndpoint: string;
|
|
49
|
+
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
50
|
+
requestStartTime: string;
|
|
51
|
+
requestCrashTime: string;
|
|
52
|
+
requestElapsedTimeInSeconds: number;
|
|
53
53
|
}>;
|
|
54
54
|
export {};
|
package/package.json
CHANGED
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cloudrun",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.462",
|
|
7
7
|
"description": "Render Remotion videos on Google Cloud Run",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
|
-
"sideEffects": false,
|
|
10
9
|
"scripts": {
|
|
11
10
|
"make": "tsgo -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json",
|
|
12
11
|
"makeruntime": "bun build.ts",
|
|
@@ -21,17 +20,17 @@
|
|
|
21
20
|
"@google-cloud/storage": "7.15.2",
|
|
22
21
|
"@google-cloud/resource-manager": "5.3.1",
|
|
23
22
|
"@google-cloud/logging": "11.2.0",
|
|
24
|
-
"@remotion/bundler": "4.0.
|
|
25
|
-
"@remotion/cli": "4.0.
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
23
|
+
"@remotion/bundler": "4.0.462",
|
|
24
|
+
"@remotion/cli": "4.0.462",
|
|
25
|
+
"@remotion/renderer": "4.0.462",
|
|
27
26
|
"google-auth-library": "8.7.0",
|
|
28
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.462",
|
|
29
28
|
"zod": "4.3.6"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
31
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.462",
|
|
33
32
|
"@types/minimist": "1.2.2",
|
|
34
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.462",
|
|
35
34
|
"eslint": "9.19.0",
|
|
36
35
|
"@types/node": "20.12.14",
|
|
37
36
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|