@remotion/cloudrun 4.0.486 → 4.0.488
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
|
@@ -13,7 +13,7 @@ const validate_site_name_1 = require("../shared/validate-site-name");
|
|
|
13
13
|
const get_cloud_storage_client_1 = require("./helpers/get-cloud-storage-client");
|
|
14
14
|
const upload_dir_1 = require("./upload-dir");
|
|
15
15
|
const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options, privacy, }) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
16
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
17
|
(0, validate_bucketname_1.validateBucketName)(bucketName, { mustStartWithRemotion: true });
|
|
18
18
|
(0, validate_site_name_1.validateSiteName)(siteName);
|
|
19
19
|
const cloudStorageClient = (0, get_cloud_storage_client_1.getCloudStorageClient)();
|
|
@@ -46,8 +46,9 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
|
|
|
46
46
|
experimentalClientSideRenderingEnabled: (_h = options === null || options === void 0 ? void 0 : options.experimentalClientSideRenderingEnabled) !== null && _h !== void 0 ? _h : false,
|
|
47
47
|
renderDefaults: null,
|
|
48
48
|
askAIEnabled: (_j = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
interactivityEnabled: (_k = options === null || options === void 0 ? void 0 : options.interactivityEnabled) !== null && _k !== void 0 ? _k : true,
|
|
50
|
+
keyboardShortcutsEnabled: (_l = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _l !== void 0 ? _l : true,
|
|
51
|
+
rspack: (_m = options === null || options === void 0 ? void 0 : options.rspack) !== null && _m !== void 0 ? _m : false,
|
|
51
52
|
symlinkPublicDir: false,
|
|
52
53
|
}),
|
|
53
54
|
]);
|
|
@@ -60,7 +61,7 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
|
|
|
60
61
|
(0, upload_dir_1.uploadDir)({
|
|
61
62
|
bucket: bucketName,
|
|
62
63
|
localDir: bundled,
|
|
63
|
-
onProgress: (
|
|
64
|
+
onProgress: (_o = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _o !== void 0 ? _o : (() => undefined),
|
|
64
65
|
keyPrefix: subFolder,
|
|
65
66
|
toUpload,
|
|
66
67
|
privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
|
|
@@ -14,9 +14,9 @@ const cloudrun_crash_logs_1 = require("../../helpers/cloudrun-crash-logs");
|
|
|
14
14
|
const log_1 = require("../../log");
|
|
15
15
|
const renderArgsCheck_1 = require("./helpers/renderArgsCheck");
|
|
16
16
|
exports.RENDER_COMMAND = 'render';
|
|
17
|
-
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, colorSpaceOption, numberOfGifLoopsOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, metadataOption, mediaCacheSizeInBytesOption, darkModeOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
17
|
+
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, colorSpaceOption, numberOfGifLoopsOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, metadataOption, mediaCacheSizeInBytesOption, darkModeOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, sampleRateOption, concurrencyOption, } = client_1.BrowserSafeApis.options;
|
|
18
18
|
const renderCommand = async (args, remotionRoot, logLevel) => {
|
|
19
|
-
var _a, _b, _c
|
|
19
|
+
var _a, _b, _c;
|
|
20
20
|
const { serveUrl, cloudRunUrl, outName, forceBucketName, downloadName, privacy, region, } = await (0, renderArgsCheck_1.renderArgsCheck)(exports.RENDER_COMMAND, args, logLevel);
|
|
21
21
|
const { value: codec, source: codecReason } = client_1.BrowserSafeApis.options.videoCodecOption.getValue({
|
|
22
22
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
@@ -50,6 +50,9 @@ const renderCommand = async (args, remotionRoot, logLevel) => {
|
|
|
50
50
|
const durationInFrames = overrideDurationOption.getValue({
|
|
51
51
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
52
52
|
}).value;
|
|
53
|
+
const concurrency = concurrencyOption.getValue({
|
|
54
|
+
commandLine: cli_1.CliInternals.parsedCli,
|
|
55
|
+
});
|
|
53
56
|
const pixelFormat = pixelFormatOption.getValue({
|
|
54
57
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
55
58
|
}).value;
|
|
@@ -292,7 +295,7 @@ ${downloadName ? ` Downloaded File = ${downloadName}` : ''}
|
|
|
292
295
|
delayRenderTimeoutInMilliseconds: puppeteerTimeout,
|
|
293
296
|
// Special case: Should not use default local concurrency, or from
|
|
294
297
|
// config file, just when explicitly set
|
|
295
|
-
concurrency:
|
|
298
|
+
concurrency: concurrency.source === 'cli' ? concurrency.value : null,
|
|
296
299
|
enforceAudioTrack,
|
|
297
300
|
preferLossless: false,
|
|
298
301
|
offthreadVideoCacheSizeInBytes,
|
|
@@ -300,7 +303,7 @@ ${downloadName ? ` Downloaded File = ${downloadName}` : ''}
|
|
|
300
303
|
indent: false,
|
|
301
304
|
downloadBehavior: { type: 'play-in-browser' },
|
|
302
305
|
metadata,
|
|
303
|
-
renderIdOverride: (
|
|
306
|
+
renderIdOverride: (_c = args_1.parsedCloudrunCli['render-id-override']) !== null && _c !== void 0 ? _c : null,
|
|
304
307
|
renderStatusWebhook: args_1.parsedCloudrunCli.webhook
|
|
305
308
|
? {
|
|
306
309
|
url: args_1.parsedCloudrunCli.webhook,
|
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.
|
|
6
|
+
"version": "4.0.488",
|
|
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.
|
|
24
|
-
"@remotion/cli": "4.0.
|
|
25
|
-
"@remotion/renderer": "4.0.
|
|
23
|
+
"@remotion/bundler": "4.0.488",
|
|
24
|
+
"@remotion/cli": "4.0.488",
|
|
25
|
+
"@remotion/renderer": "4.0.488",
|
|
26
26
|
"google-auth-library": "8.7.0",
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.488",
|
|
28
28
|
"zod": "4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
31
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.488",
|
|
32
32
|
"@types/minimist": "1.2.2",
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.488",
|
|
34
34
|
"eslint": "9.19.0",
|
|
35
35
|
"@types/node": "20.12.14",
|
|
36
36
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|