@remotion/lambda 4.0.262 → 4.0.263
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.
|
@@ -24,7 +24,7 @@ const quit_1 = require("../../helpers/quit");
|
|
|
24
24
|
const log_1 = require("../../log");
|
|
25
25
|
const progress_1 = require("./progress");
|
|
26
26
|
exports.RENDER_COMMAND = 'render';
|
|
27
|
-
const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, jpegQualityOption, videoBitrateOption, mutedOption, colorSpaceOption, deleteAfterOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, overwriteOption, binariesDirectoryOption, preferLosslessOption, metadataOption, } = client_1.BrowserSafeApis.options;
|
|
27
|
+
const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, scaleOption, crfOption, jpegQualityOption, videoBitrateOption, mutedOption, colorSpaceOption, deleteAfterOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, overwriteOption, binariesDirectoryOption, preferLosslessOption, metadataOption, } = client_1.BrowserSafeApis.options;
|
|
28
28
|
const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }) => {
|
|
29
29
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
30
30
|
const serveUrl = args[0];
|
|
@@ -50,6 +50,9 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
|
|
|
50
50
|
const offthreadVideoCacheSizeInBytes = offthreadVideoCacheSizeInBytesOption.getValue({
|
|
51
51
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
52
52
|
}).value;
|
|
53
|
+
const offthreadVideoThreads = offthreadVideoThreadsOption.getValue({
|
|
54
|
+
commandLine: cli_1.CliInternals.parsedCli,
|
|
55
|
+
}).value;
|
|
53
56
|
const scale = scaleOption.getValue({
|
|
54
57
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
55
58
|
}).value;
|
|
@@ -120,7 +123,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
|
|
|
120
123
|
throw Error('Passing the shorthand serve URL without composition name is currently not supported.\n Make sure to pass a composition name after the shorthand serve URL or pass the complete serveURL without composition name to get to choose between all compositions.');
|
|
121
124
|
}
|
|
122
125
|
const server = await renderer_1.RenderInternals.prepareServer({
|
|
123
|
-
|
|
126
|
+
offthreadVideoThreads: 1,
|
|
124
127
|
indent: false,
|
|
125
128
|
port: config_1.ConfigInternals.getRendererPortFromConfigFileAndCliFlag(),
|
|
126
129
|
remotionRoot,
|
|
@@ -152,6 +155,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
|
|
|
152
155
|
width,
|
|
153
156
|
server,
|
|
154
157
|
offthreadVideoCacheSizeInBytes,
|
|
158
|
+
offthreadVideoThreads,
|
|
155
159
|
binariesDirectory,
|
|
156
160
|
onBrowserDownload: cli_1.CliInternals.defaultBrowserDownloadProgress({
|
|
157
161
|
indent,
|
|
@@ -235,6 +239,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
|
|
|
235
239
|
colorSpace,
|
|
236
240
|
downloadBehavior: { type: 'play-in-browser' },
|
|
237
241
|
offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytes !== null && offthreadVideoCacheSizeInBytes !== void 0 ? offthreadVideoCacheSizeInBytes : null,
|
|
242
|
+
offthreadVideoThreads: offthreadVideoThreads !== null && offthreadVideoThreads !== void 0 ? offthreadVideoThreads : null,
|
|
238
243
|
x264Preset: x264Preset !== null && x264Preset !== void 0 ? x264Preset : null,
|
|
239
244
|
preferLossless,
|
|
240
245
|
indent: false,
|
|
@@ -21,7 +21,7 @@ const find_function_name_1 = require("../helpers/find-function-name");
|
|
|
21
21
|
const quit_1 = require("../helpers/quit");
|
|
22
22
|
const log_1 = require("../log");
|
|
23
23
|
const progress_1 = require("./render/progress");
|
|
24
|
-
const { offthreadVideoCacheSizeInBytesOption, scaleOption, deleteAfterOption, jpegQualityOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, } = client_1.BrowserSafeApis.options;
|
|
24
|
+
const { offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, scaleOption, deleteAfterOption, jpegQualityOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, } = client_1.BrowserSafeApis.options;
|
|
25
25
|
const { parsedCli, determineFinalStillImageFormat, chalk, getCliOptions, formatBytes, getCompositionWithDimensionOverride, } = cli_1.CliInternals;
|
|
26
26
|
exports.STILL_COMMAND = 'still';
|
|
27
27
|
const stillCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }) => {
|
|
@@ -62,6 +62,9 @@ const stillCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }
|
|
|
62
62
|
const offthreadVideoCacheSizeInBytes = offthreadVideoCacheSizeInBytesOption.getValue({
|
|
63
63
|
commandLine: parsedCli,
|
|
64
64
|
}).value;
|
|
65
|
+
const offthreadVideoThreads = offthreadVideoThreadsOption.getValue({
|
|
66
|
+
commandLine: parsedCli,
|
|
67
|
+
}).value;
|
|
65
68
|
const binariesDirectory = binariesDirectoryOption.getValue({
|
|
66
69
|
commandLine: parsedCli,
|
|
67
70
|
}).value;
|
|
@@ -72,7 +75,7 @@ const stillCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }
|
|
|
72
75
|
throw Error('Passing the shorthand serve URL without composition name is currently not supported.\n Make sure to pass a composition name after the shorthand serve URL or pass the complete serveURL without composition name to get to choose between all compositions.');
|
|
73
76
|
}
|
|
74
77
|
const server = await renderer_1.RenderInternals.prepareServer({
|
|
75
|
-
|
|
78
|
+
offthreadVideoThreads: 1,
|
|
76
79
|
indent: false,
|
|
77
80
|
port: config_1.ConfigInternals.getRendererPortFromConfigFileAndCliFlag(),
|
|
78
81
|
remotionRoot,
|
|
@@ -104,6 +107,7 @@ const stillCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }
|
|
|
104
107
|
width,
|
|
105
108
|
server,
|
|
106
109
|
offthreadVideoCacheSizeInBytes,
|
|
110
|
+
offthreadVideoThreads,
|
|
107
111
|
binariesDirectory,
|
|
108
112
|
onBrowserDownload: cli_1.CliInternals.defaultBrowserDownloadProgress({
|
|
109
113
|
indent,
|
package/dist/cli/log.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Log: {
|
|
2
|
-
trace: (options: import("@remotion/renderer").LogOptions & {
|
|
2
|
+
trace: (options: import("@remotion/renderer/dist/logger").LogOptions & {
|
|
3
3
|
tag?: string;
|
|
4
4
|
}, ...args: Parameters<typeof console.log>) => boolean | void;
|
|
5
5
|
verbose: (options: import("@remotion/renderer").LogOptions & {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/lambda",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.263",
|
|
7
7
|
"description": "Render Remotion videos on AWS Lambda",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"@aws-sdk/lib-storage": "3.738.0",
|
|
22
22
|
"@smithy/abort-controller": "4.0.1",
|
|
23
23
|
"zod": "3.22.3",
|
|
24
|
-
"@remotion/bundler": "4.0.
|
|
25
|
-
"@remotion/cli": "4.0.
|
|
26
|
-
"@remotion/
|
|
27
|
-
"@remotion/serverless": "4.0.
|
|
28
|
-
"
|
|
29
|
-
"@remotion/
|
|
30
|
-
"remotion": "4.0.
|
|
24
|
+
"@remotion/bundler": "4.0.263",
|
|
25
|
+
"@remotion/cli": "4.0.263",
|
|
26
|
+
"@remotion/renderer": "4.0.263",
|
|
27
|
+
"@remotion/serverless": "4.0.263",
|
|
28
|
+
"remotion": "4.0.263",
|
|
29
|
+
"@remotion/lambda-client": "4.0.263",
|
|
30
|
+
"@remotion/streaming": "4.0.263"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/express": "^5.0.0",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"next": "15.1.6",
|
|
41
41
|
"pureimage": "0.4.13",
|
|
42
42
|
"zip-lib": "^0.7.2",
|
|
43
|
-
"@remotion/bundler": "4.0.
|
|
44
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
43
|
+
"@remotion/bundler": "4.0.263",
|
|
44
|
+
"@remotion/eslint-config-internal": "4.0.263",
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.263"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@remotion/bundler": "4.0.
|
|
48
|
+
"@remotion/bundler": "4.0.263"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|