@remotion/lambda-client 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.
- package/.turbo/turbo-make.log +2 -2
- package/dist/esm/index.mjs +11 -6
- package/dist/index.d.ts +1 -1
- package/dist/make-lambda-payload.d.ts +1 -1
- package/dist/make-lambda-payload.js +3 -1
- package/dist/render-media-on-lambda.js +41 -40
- package/dist/render-still-on-lambda.js +2 -1
- package/package.json +3 -3
- package/src/make-lambda-payload.ts +3 -0
- package/src/render-media-on-lambda.ts +1 -0
- package/src/render-still-on-lambda.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-make.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/lambda-client@4.0.
|
|
3
|
+
> @remotion/lambda-client@4.0.263 make /Users/jonathanburger/remotion/packages/lambda-client
|
|
4
4
|
> tsc -d && bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
6
|
-
[0m[2m[[
|
|
6
|
+
[0m[2m[[1m31.22ms[0m[2m][0m Generated.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -230,7 +230,7 @@ var require_log_level = __commonJS((exports) => {
|
|
|
230
230
|
var require_version = __commonJS((exports) => {
|
|
231
231
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
232
232
|
exports.VERSION = undefined;
|
|
233
|
-
exports.VERSION = "4.0.
|
|
233
|
+
exports.VERSION = "4.0.263";
|
|
234
234
|
});
|
|
235
235
|
var require_find_closest_package_json = __commonJS((exports) => {
|
|
236
236
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -2301,7 +2301,7 @@ var validateFramesPerFunction = ({
|
|
|
2301
2301
|
};
|
|
2302
2302
|
var import_error_handling = __toESM(require_error_handling(), 1);
|
|
2303
2303
|
var import_streaming2 = __toESM(require_dist(), 1);
|
|
2304
|
-
var VERSION = "4.0.
|
|
2304
|
+
var VERSION = "4.0.263";
|
|
2305
2305
|
var min = (arr) => {
|
|
2306
2306
|
if (arr.length === 0) {
|
|
2307
2307
|
throw new Error("Array of 0 length");
|
|
@@ -5699,7 +5699,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
5699
5699
|
preferLossless,
|
|
5700
5700
|
forcePathStyle,
|
|
5701
5701
|
metadata,
|
|
5702
|
-
apiKey
|
|
5702
|
+
apiKey,
|
|
5703
|
+
offthreadVideoThreads
|
|
5703
5704
|
}) => {
|
|
5704
5705
|
const actualCodec = validateLambdaCodec(codec);
|
|
5705
5706
|
validateServeUrl(serveUrl);
|
|
@@ -5772,7 +5773,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
5772
5773
|
preferLossless: preferLossless ?? false,
|
|
5773
5774
|
forcePathStyle: forcePathStyle ?? false,
|
|
5774
5775
|
metadata: metadata ?? null,
|
|
5775
|
-
apiKey: apiKey ?? null
|
|
5776
|
+
apiKey: apiKey ?? null,
|
|
5777
|
+
offthreadVideoThreads: offthreadVideoThreads ?? null
|
|
5776
5778
|
};
|
|
5777
5779
|
};
|
|
5778
5780
|
var getRenderProgressPayload = ({
|
|
@@ -5865,7 +5867,8 @@ var makeLambdaRenderStillPayload = async ({
|
|
|
5865
5867
|
type: ServerlessRoutines.still,
|
|
5866
5868
|
streamed: true,
|
|
5867
5869
|
forcePathStyle,
|
|
5868
|
-
apiKey: apiKey ?? null
|
|
5870
|
+
apiKey: apiKey ?? null,
|
|
5871
|
+
offthreadVideoThreads: null
|
|
5869
5872
|
};
|
|
5870
5873
|
};
|
|
5871
5874
|
|
|
@@ -5921,6 +5924,7 @@ var internalRenderMediaOnLambdaRaw = async (input) => {
|
|
|
5921
5924
|
};
|
|
5922
5925
|
var renderMediaOnLambdaOptionalToRequired = (options) => {
|
|
5923
5926
|
return {
|
|
5927
|
+
offthreadVideoThreads: options.offthreadVideoThreads ?? null,
|
|
5924
5928
|
audioBitrate: options.audioBitrate ?? null,
|
|
5925
5929
|
audioCodec: options.audioCodec ?? null,
|
|
5926
5930
|
chromiumOptions: options.chromiumOptions ?? {},
|
|
@@ -6435,7 +6439,8 @@ var renderStillOnLambda = (input) => {
|
|
|
6435
6439
|
timeoutInMilliseconds: input.timeoutInMilliseconds ?? 30000,
|
|
6436
6440
|
dumpBrowserLogs: false,
|
|
6437
6441
|
forcePathStyle: input.forcePathStyle ?? false,
|
|
6438
|
-
apiKey: input.apiKey ?? null
|
|
6442
|
+
apiKey: input.apiKey ?? null,
|
|
6443
|
+
offthreadVideoThreads: input.offthreadVideoThreads ?? null
|
|
6439
6444
|
});
|
|
6440
6445
|
};
|
|
6441
6446
|
// src/speculate-function-name.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const LambdaClientInternals: {
|
|
|
69
69
|
parseBucketName: (name: string) => {
|
|
70
70
|
region: import("./regions").AwsRegion | null;
|
|
71
71
|
};
|
|
72
|
-
makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, }: import("./make-lambda-payload").InnerRenderMediaOnLambdaInput) => Promise<import("@remotion/serverless-client").ServerlessStartPayload<import("./aws-provider").AwsProvider>>;
|
|
72
|
+
makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, offthreadVideoThreads, }: import("./make-lambda-payload").InnerRenderMediaOnLambdaInput) => Promise<import("@remotion/serverless-client").ServerlessStartPayload<import("./aws-provider").AwsProvider>>;
|
|
73
73
|
renderMediaOnLambdaOptionalToRequired: (options: import("./render-media-on-lambda").RenderMediaOnLambdaInput) => import("./make-lambda-payload").InnerRenderMediaOnLambdaInput;
|
|
74
74
|
internalDeleteRender: (input: import("./delete-render").DeleteRenderInput & {
|
|
75
75
|
providerSpecifics: import("@remotion/serverless-client").ProviderSpecifics<import("./aws-provider").AwsProvider>;
|
|
@@ -49,6 +49,6 @@ export type InnerRenderMediaOnLambdaInput = {
|
|
|
49
49
|
forcePathStyle: boolean;
|
|
50
50
|
metadata: Record<string, string> | null;
|
|
51
51
|
} & ToOptions<typeof BrowserSafeApis.optionsMap.renderMediaOnLambda>;
|
|
52
|
-
export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
|
|
52
|
+
export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, offthreadVideoThreads, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
|
|
53
53
|
export declare const getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, forcePathStyle, }: GetRenderProgressInput) => ServerlessStatusPayload<AwsProvider>;
|
|
54
54
|
export declare const makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, forcePathStyle, apiKey, }: RenderStillOnLambdaNonNullInput) => Promise<ServerlessPayloads<AwsProvider>[ServerlessRoutines.still]>;
|
|
@@ -6,7 +6,7 @@ const aws_provider_1 = require("./aws-provider");
|
|
|
6
6
|
const serverless_client_2 = require("@remotion/serverless-client");
|
|
7
7
|
const validate_lambda_codec_1 = require("./validate-lambda-codec");
|
|
8
8
|
const validate_serveurl_1 = require("./validate-serveurl");
|
|
9
|
-
const makeLambdaRenderMediaPayload = async ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, }) => {
|
|
9
|
+
const makeLambdaRenderMediaPayload = async ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, apiKey, offthreadVideoThreads, }) => {
|
|
10
10
|
const actualCodec = (0, validate_lambda_codec_1.validateLambdaCodec)(codec);
|
|
11
11
|
(0, validate_serveurl_1.validateServeUrl)(serveUrl);
|
|
12
12
|
(0, serverless_client_1.validateFramesPerFunction)({
|
|
@@ -79,6 +79,7 @@ const makeLambdaRenderMediaPayload = async ({ rendererFunctionName, frameRange,
|
|
|
79
79
|
forcePathStyle: forcePathStyle !== null && forcePathStyle !== void 0 ? forcePathStyle : false,
|
|
80
80
|
metadata: metadata !== null && metadata !== void 0 ? metadata : null,
|
|
81
81
|
apiKey: apiKey !== null && apiKey !== void 0 ? apiKey : null,
|
|
82
|
+
offthreadVideoThreads: offthreadVideoThreads !== null && offthreadVideoThreads !== void 0 ? offthreadVideoThreads : null,
|
|
82
83
|
};
|
|
83
84
|
};
|
|
84
85
|
exports.makeLambdaRenderMediaPayload = makeLambdaRenderMediaPayload;
|
|
@@ -143,6 +144,7 @@ const makeLambdaRenderStillPayload = async ({ serveUrl, inputProps, imageFormat,
|
|
|
143
144
|
streamed: true,
|
|
144
145
|
forcePathStyle,
|
|
145
146
|
apiKey: apiKey !== null && apiKey !== void 0 ? apiKey : null,
|
|
147
|
+
offthreadVideoThreads: null,
|
|
146
148
|
};
|
|
147
149
|
};
|
|
148
150
|
exports.makeLambdaRenderStillPayload = makeLambdaRenderStillPayload;
|
|
@@ -58,54 +58,55 @@ const internalRenderMediaOnLambdaRaw = async (input) => {
|
|
|
58
58
|
};
|
|
59
59
|
exports.internalRenderMediaOnLambdaRaw = internalRenderMediaOnLambdaRaw;
|
|
60
60
|
const renderMediaOnLambdaOptionalToRequired = (options) => {
|
|
61
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14;
|
|
61
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15;
|
|
62
62
|
return {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
offthreadVideoThreads: (_a = options.offthreadVideoThreads) !== null && _a !== void 0 ? _a : null,
|
|
64
|
+
audioBitrate: (_b = options.audioBitrate) !== null && _b !== void 0 ? _b : null,
|
|
65
|
+
audioCodec: (_c = options.audioCodec) !== null && _c !== void 0 ? _c : null,
|
|
66
|
+
chromiumOptions: (_d = options.chromiumOptions) !== null && _d !== void 0 ? _d : {},
|
|
66
67
|
codec: options.codec,
|
|
67
|
-
colorSpace: (
|
|
68
|
+
colorSpace: (_e = options.colorSpace) !== null && _e !== void 0 ? _e : null,
|
|
68
69
|
composition: options.composition,
|
|
69
|
-
concurrencyPerLambda: (
|
|
70
|
+
concurrencyPerLambda: (_f = options.concurrencyPerLambda) !== null && _f !== void 0 ? _f : 1,
|
|
70
71
|
crf: options.crf,
|
|
71
|
-
downloadBehavior: (
|
|
72
|
-
envVariables: (
|
|
73
|
-
everyNthFrame: (
|
|
74
|
-
forceBucketName: (
|
|
75
|
-
forceHeight: (
|
|
76
|
-
forceWidth: (
|
|
77
|
-
frameRange: (
|
|
78
|
-
framesPerLambda: (
|
|
72
|
+
downloadBehavior: (_g = options.downloadBehavior) !== null && _g !== void 0 ? _g : { type: 'play-in-browser' },
|
|
73
|
+
envVariables: (_h = options.envVariables) !== null && _h !== void 0 ? _h : {},
|
|
74
|
+
everyNthFrame: (_j = options.everyNthFrame) !== null && _j !== void 0 ? _j : 1,
|
|
75
|
+
forceBucketName: (_k = options.forceBucketName) !== null && _k !== void 0 ? _k : null,
|
|
76
|
+
forceHeight: (_l = options.forceHeight) !== null && _l !== void 0 ? _l : null,
|
|
77
|
+
forceWidth: (_m = options.forceWidth) !== null && _m !== void 0 ? _m : null,
|
|
78
|
+
frameRange: (_o = options.frameRange) !== null && _o !== void 0 ? _o : null,
|
|
79
|
+
framesPerLambda: (_p = options.framesPerLambda) !== null && _p !== void 0 ? _p : null,
|
|
79
80
|
functionName: options.functionName,
|
|
80
|
-
imageFormat: (
|
|
81
|
-
inputProps: (
|
|
82
|
-
jpegQuality: (
|
|
83
|
-
logLevel: (
|
|
84
|
-
maxRetries: (
|
|
85
|
-
muted: (
|
|
86
|
-
numberOfGifLoops: (
|
|
87
|
-
offthreadVideoCacheSizeInBytes: (
|
|
88
|
-
outName: (
|
|
89
|
-
overwrite: (
|
|
90
|
-
pixelFormat: (
|
|
91
|
-
privacy: (
|
|
92
|
-
proResProfile: (
|
|
81
|
+
imageFormat: (_q = options.imageFormat) !== null && _q !== void 0 ? _q : 'jpeg',
|
|
82
|
+
inputProps: (_r = options.inputProps) !== null && _r !== void 0 ? _r : {},
|
|
83
|
+
jpegQuality: (_s = options.jpegQuality) !== null && _s !== void 0 ? _s : 80,
|
|
84
|
+
logLevel: (_t = options.logLevel) !== null && _t !== void 0 ? _t : 'info',
|
|
85
|
+
maxRetries: (_u = options.maxRetries) !== null && _u !== void 0 ? _u : 1,
|
|
86
|
+
muted: (_v = options.muted) !== null && _v !== void 0 ? _v : false,
|
|
87
|
+
numberOfGifLoops: (_w = options.numberOfGifLoops) !== null && _w !== void 0 ? _w : null,
|
|
88
|
+
offthreadVideoCacheSizeInBytes: (_x = options.offthreadVideoCacheSizeInBytes) !== null && _x !== void 0 ? _x : null,
|
|
89
|
+
outName: (_y = options.outName) !== null && _y !== void 0 ? _y : null,
|
|
90
|
+
overwrite: (_z = options.overwrite) !== null && _z !== void 0 ? _z : false,
|
|
91
|
+
pixelFormat: (_0 = options.pixelFormat) !== null && _0 !== void 0 ? _0 : undefined,
|
|
92
|
+
privacy: (_1 = options.privacy) !== null && _1 !== void 0 ? _1 : 'public',
|
|
93
|
+
proResProfile: (_2 = options.proResProfile) !== null && _2 !== void 0 ? _2 : undefined,
|
|
93
94
|
region: options.region,
|
|
94
|
-
rendererFunctionName: (
|
|
95
|
-
scale: (
|
|
95
|
+
rendererFunctionName: (_3 = options.rendererFunctionName) !== null && _3 !== void 0 ? _3 : null,
|
|
96
|
+
scale: (_4 = options.scale) !== null && _4 !== void 0 ? _4 : 1,
|
|
96
97
|
serveUrl: options.serveUrl,
|
|
97
|
-
timeoutInMilliseconds: (
|
|
98
|
-
videoBitrate: (
|
|
99
|
-
encodingMaxRate: (
|
|
100
|
-
encodingBufferSize: (
|
|
101
|
-
webhook: (
|
|
102
|
-
x264Preset: (
|
|
103
|
-
deleteAfter: (
|
|
104
|
-
preferLossless: (
|
|
105
|
-
forcePathStyle: (
|
|
98
|
+
timeoutInMilliseconds: (_5 = options.timeoutInMilliseconds) !== null && _5 !== void 0 ? _5 : 30000,
|
|
99
|
+
videoBitrate: (_6 = options.videoBitrate) !== null && _6 !== void 0 ? _6 : null,
|
|
100
|
+
encodingMaxRate: (_7 = options.encodingMaxRate) !== null && _7 !== void 0 ? _7 : null,
|
|
101
|
+
encodingBufferSize: (_8 = options.encodingBufferSize) !== null && _8 !== void 0 ? _8 : null,
|
|
102
|
+
webhook: (_9 = options.webhook) !== null && _9 !== void 0 ? _9 : null,
|
|
103
|
+
x264Preset: (_10 = options.x264Preset) !== null && _10 !== void 0 ? _10 : null,
|
|
104
|
+
deleteAfter: (_11 = options.deleteAfter) !== null && _11 !== void 0 ? _11 : null,
|
|
105
|
+
preferLossless: (_12 = options.preferLossless) !== null && _12 !== void 0 ? _12 : false,
|
|
106
|
+
forcePathStyle: (_13 = options.forcePathStyle) !== null && _13 !== void 0 ? _13 : false,
|
|
106
107
|
indent: false,
|
|
107
|
-
metadata: (
|
|
108
|
-
apiKey: (
|
|
108
|
+
metadata: (_14 = options.metadata) !== null && _14 !== void 0 ? _14 : null,
|
|
109
|
+
apiKey: (_15 = options.apiKey) !== null && _15 !== void 0 ? _15 : null,
|
|
109
110
|
};
|
|
110
111
|
};
|
|
111
112
|
exports.renderMediaOnLambdaOptionalToRequired = renderMediaOnLambdaOptionalToRequired;
|
|
@@ -83,7 +83,7 @@ const errorHandled = (0, serverless_client_2.wrapWithErrorHandling)(internalRend
|
|
|
83
83
|
* @see [Documentation](https://remotion.dev/docs/lambda/renderstillonlambda)
|
|
84
84
|
*/
|
|
85
85
|
const renderStillOnLambda = (input) => {
|
|
86
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
86
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
87
87
|
return errorHandled({
|
|
88
88
|
chromiumOptions: (_a = input.chromiumOptions) !== null && _a !== void 0 ? _a : {},
|
|
89
89
|
composition: input.composition,
|
|
@@ -113,6 +113,7 @@ const renderStillOnLambda = (input) => {
|
|
|
113
113
|
dumpBrowserLogs: false,
|
|
114
114
|
forcePathStyle: (_s = input.forcePathStyle) !== null && _s !== void 0 ? _s : false,
|
|
115
115
|
apiKey: (_t = input.apiKey) !== null && _t !== void 0 ? _t : null,
|
|
116
|
+
offthreadVideoThreads: (_u = input.offthreadVideoThreads) !== null && _u !== void 0 ? _u : null,
|
|
116
117
|
});
|
|
117
118
|
};
|
|
118
119
|
exports.renderStillOnLambda = renderStillOnLambda;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/lambda-client",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.263",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"eslint": "9.19.0",
|
|
26
26
|
"next": "15.1.6",
|
|
27
27
|
"@types/mime-types": "2.1.1",
|
|
28
|
-
"@remotion/serverless-client": "4.0.
|
|
29
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
28
|
+
"@remotion/serverless-client": "4.0.263",
|
|
29
|
+
"@remotion/eslint-config-internal": "4.0.263"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
@@ -131,6 +131,7 @@ export const makeLambdaRenderMediaPayload = async ({
|
|
|
131
131
|
forcePathStyle,
|
|
132
132
|
metadata,
|
|
133
133
|
apiKey,
|
|
134
|
+
offthreadVideoThreads,
|
|
134
135
|
}: InnerRenderMediaOnLambdaInput): Promise<
|
|
135
136
|
ServerlessStartPayload<AwsProvider>
|
|
136
137
|
> => {
|
|
@@ -211,6 +212,7 @@ export const makeLambdaRenderMediaPayload = async ({
|
|
|
211
212
|
forcePathStyle: forcePathStyle ?? false,
|
|
212
213
|
metadata: metadata ?? null,
|
|
213
214
|
apiKey: apiKey ?? null,
|
|
215
|
+
offthreadVideoThreads: offthreadVideoThreads ?? null,
|
|
214
216
|
};
|
|
215
217
|
};
|
|
216
218
|
|
|
@@ -313,5 +315,6 @@ export const makeLambdaRenderStillPayload = async ({
|
|
|
313
315
|
streamed: true,
|
|
314
316
|
forcePathStyle,
|
|
315
317
|
apiKey: apiKey ?? null,
|
|
318
|
+
offthreadVideoThreads: null,
|
|
316
319
|
};
|
|
317
320
|
};
|
|
@@ -142,6 +142,7 @@ export const renderMediaOnLambdaOptionalToRequired = (
|
|
|
142
142
|
options: RenderMediaOnLambdaInput,
|
|
143
143
|
): InnerRenderMediaOnLambdaInput => {
|
|
144
144
|
return {
|
|
145
|
+
offthreadVideoThreads: options.offthreadVideoThreads ?? null,
|
|
145
146
|
audioBitrate: options.audioBitrate ?? null,
|
|
146
147
|
audioCodec: options.audioCodec ?? null,
|
|
147
148
|
chromiumOptions: options.chromiumOptions ?? {},
|
|
@@ -191,5 +191,6 @@ export const renderStillOnLambda = (input: RenderStillOnLambdaInput) => {
|
|
|
191
191
|
dumpBrowserLogs: false,
|
|
192
192
|
forcePathStyle: input.forcePathStyle ?? false,
|
|
193
193
|
apiKey: input.apiKey ?? null,
|
|
194
|
+
offthreadVideoThreads: input.offthreadVideoThreads ?? null,
|
|
194
195
|
});
|
|
195
196
|
};
|