@remotion/lambda-client 4.0.424 → 4.0.426
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/cjs/index.js
CHANGED
|
@@ -70578,7 +70578,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
70578
70578
|
}
|
|
70579
70579
|
}
|
|
70580
70580
|
};
|
|
70581
|
-
var VERSION = "4.0.
|
|
70581
|
+
var VERSION = "4.0.426";
|
|
70582
70582
|
var isColorSupported = () => {
|
|
70583
70583
|
const env = process.env || {};
|
|
70584
70584
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -75072,6 +75072,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
75072
75072
|
audioCodec,
|
|
75073
75073
|
forceHeight,
|
|
75074
75074
|
forceWidth,
|
|
75075
|
+
forceFps,
|
|
75076
|
+
forceDurationInFrames,
|
|
75075
75077
|
webhook,
|
|
75076
75078
|
videoBitrate,
|
|
75077
75079
|
encodingMaxRate,
|
|
@@ -75154,6 +75156,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
75154
75156
|
webhook: webhook ?? null,
|
|
75155
75157
|
forceHeight: forceHeight ?? null,
|
|
75156
75158
|
forceWidth: forceWidth ?? null,
|
|
75159
|
+
forceFps: forceFps ?? null,
|
|
75160
|
+
forceDurationInFrames: forceDurationInFrames ?? null,
|
|
75157
75161
|
bucketName: bucketName ?? null,
|
|
75158
75162
|
audioCodec: audioCodec ?? null,
|
|
75159
75163
|
type: ServerlessRoutines.start,
|
|
@@ -75206,6 +75210,8 @@ var makeLambdaRenderStillPayload = async ({
|
|
|
75206
75210
|
downloadBehavior,
|
|
75207
75211
|
forceHeight,
|
|
75208
75212
|
forceWidth,
|
|
75213
|
+
forceFps,
|
|
75214
|
+
forceDurationInFrames,
|
|
75209
75215
|
forceBucketName,
|
|
75210
75216
|
offthreadVideoCacheSizeInBytes,
|
|
75211
75217
|
deleteAfter,
|
|
@@ -75257,6 +75263,8 @@ var makeLambdaRenderStillPayload = async ({
|
|
|
75257
75263
|
version: VERSION,
|
|
75258
75264
|
forceHeight,
|
|
75259
75265
|
forceWidth,
|
|
75266
|
+
forceFps,
|
|
75267
|
+
forceDurationInFrames,
|
|
75260
75268
|
bucketName: forceBucketName,
|
|
75261
75269
|
offthreadVideoCacheSizeInBytes,
|
|
75262
75270
|
deleteAfter,
|
|
@@ -75340,6 +75348,8 @@ var renderMediaOnLambdaOptionalToRequired = (options) => {
|
|
|
75340
75348
|
forceBucketName: options.forceBucketName ?? null,
|
|
75341
75349
|
forceHeight: options.forceHeight ?? null,
|
|
75342
75350
|
forceWidth: options.forceWidth ?? null,
|
|
75351
|
+
forceFps: options.forceFps ?? null,
|
|
75352
|
+
forceDurationInFrames: options.forceDurationInFrames ?? null,
|
|
75343
75353
|
frameRange: options.frameRange ?? null,
|
|
75344
75354
|
framesPerLambda: options.framesPerLambda ?? null,
|
|
75345
75355
|
functionName: options.functionName,
|
|
@@ -75465,6 +75475,8 @@ function renderStillOnLambda(input) {
|
|
|
75465
75475
|
forceBucketName: input.forceBucketName ?? null,
|
|
75466
75476
|
forceHeight: input.forceHeight ?? null,
|
|
75467
75477
|
forceWidth: input.forceWidth ?? null,
|
|
75478
|
+
forceFps: input.forceFps ?? null,
|
|
75479
|
+
forceDurationInFrames: input.forceDurationInFrames ?? null,
|
|
75468
75480
|
frame: input.frame ?? 0,
|
|
75469
75481
|
functionName: input.functionName,
|
|
75470
75482
|
imageFormat: input.imageFormat,
|
|
@@ -43,6 +43,8 @@ export type InnerRenderMediaOnLambdaInput = {
|
|
|
43
43
|
webhook: WebhookOption | null;
|
|
44
44
|
forceWidth: number | null;
|
|
45
45
|
forceHeight: number | null;
|
|
46
|
+
forceFps: number | null;
|
|
47
|
+
forceDurationInFrames: number | null;
|
|
46
48
|
rendererFunctionName: string | null;
|
|
47
49
|
forceBucketName: string | null;
|
|
48
50
|
audioCodec: AudioCodec | null;
|
|
@@ -55,9 +57,9 @@ export type InnerRenderMediaOnLambdaInput = {
|
|
|
55
57
|
requestHandler: RequestHandler | null;
|
|
56
58
|
isProduction: boolean | null;
|
|
57
59
|
} & ToOptions<Omit<typeof BrowserSafeApis.optionsMap.renderMediaOnLambda, 'apiKey'>>;
|
|
58
|
-
export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, concurrency, 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, mediaCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, licenseKey, offthreadVideoThreads, storageClass, requestHandler, isProduction, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
|
|
60
|
+
export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, concurrency, 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, forceFps, forceDurationInFrames, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, mediaCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, licenseKey, offthreadVideoThreads, storageClass, requestHandler, isProduction, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
|
|
59
61
|
export declare const getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, forcePathStyle, }: GetRenderProgressInput) => ServerlessStatusPayload<AwsProvider>;
|
|
60
|
-
export declare const makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, forcePathStyle, licenseKey, storageClass, requestHandler, offthreadVideoThreads, mediaCacheSizeInBytes, isProduction, }: RenderStillOnLambdaNonNullInput) => Promise<{
|
|
62
|
+
export declare const makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceFps, forceDurationInFrames, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, forcePathStyle, licenseKey, storageClass, requestHandler, offthreadVideoThreads, mediaCacheSizeInBytes, isProduction, }: RenderStillOnLambdaNonNullInput) => Promise<{
|
|
61
63
|
type: ServerlessRoutines.still;
|
|
62
64
|
serveUrl: string;
|
|
63
65
|
composition: string;
|
|
@@ -78,6 +80,8 @@ export declare const makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imag
|
|
|
78
80
|
version: string;
|
|
79
81
|
forceHeight: number | null;
|
|
80
82
|
forceWidth: number | null;
|
|
83
|
+
forceFps: number | null;
|
|
84
|
+
forceDurationInFrames: number | null;
|
|
81
85
|
bucketName: string | null;
|
|
82
86
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
83
87
|
offthreadVideoThreads: number | null;
|
|
@@ -36,6 +36,8 @@ export type RenderMediaOnLambdaInput = {
|
|
|
36
36
|
webhook?: WebhookOption | null;
|
|
37
37
|
forceWidth?: number | null;
|
|
38
38
|
forceHeight?: number | null;
|
|
39
|
+
forceFps?: number | null;
|
|
40
|
+
forceDurationInFrames?: number | null;
|
|
39
41
|
rendererFunctionName?: string | null;
|
|
40
42
|
forceBucketName?: string;
|
|
41
43
|
audioCodec?: AudioCodec | null;
|
|
@@ -22,6 +22,8 @@ type OptionalParameters = {
|
|
|
22
22
|
downloadBehavior: DownloadBehavior;
|
|
23
23
|
forceWidth: number | null;
|
|
24
24
|
forceHeight: number | null;
|
|
25
|
+
forceFps: number | null;
|
|
26
|
+
forceDurationInFrames: number | null;
|
|
25
27
|
forceBucketName: string | null;
|
|
26
28
|
onInit: (data: {
|
|
27
29
|
renderId: string;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -69921,7 +69921,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
69921
69921
|
}
|
|
69922
69922
|
}
|
|
69923
69923
|
};
|
|
69924
|
-
var VERSION = "4.0.
|
|
69924
|
+
var VERSION = "4.0.426";
|
|
69925
69925
|
var isColorSupported = () => {
|
|
69926
69926
|
const env = process.env || {};
|
|
69927
69927
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -74899,6 +74899,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
74899
74899
|
audioCodec,
|
|
74900
74900
|
forceHeight,
|
|
74901
74901
|
forceWidth,
|
|
74902
|
+
forceFps,
|
|
74903
|
+
forceDurationInFrames,
|
|
74902
74904
|
webhook,
|
|
74903
74905
|
videoBitrate,
|
|
74904
74906
|
encodingMaxRate,
|
|
@@ -74981,6 +74983,8 @@ var makeLambdaRenderMediaPayload = async ({
|
|
|
74981
74983
|
webhook: webhook ?? null,
|
|
74982
74984
|
forceHeight: forceHeight ?? null,
|
|
74983
74985
|
forceWidth: forceWidth ?? null,
|
|
74986
|
+
forceFps: forceFps ?? null,
|
|
74987
|
+
forceDurationInFrames: forceDurationInFrames ?? null,
|
|
74984
74988
|
bucketName: bucketName ?? null,
|
|
74985
74989
|
audioCodec: audioCodec ?? null,
|
|
74986
74990
|
type: ServerlessRoutines.start,
|
|
@@ -75033,6 +75037,8 @@ var makeLambdaRenderStillPayload = async ({
|
|
|
75033
75037
|
downloadBehavior,
|
|
75034
75038
|
forceHeight,
|
|
75035
75039
|
forceWidth,
|
|
75040
|
+
forceFps,
|
|
75041
|
+
forceDurationInFrames,
|
|
75036
75042
|
forceBucketName,
|
|
75037
75043
|
offthreadVideoCacheSizeInBytes,
|
|
75038
75044
|
deleteAfter,
|
|
@@ -75084,6 +75090,8 @@ var makeLambdaRenderStillPayload = async ({
|
|
|
75084
75090
|
version: VERSION,
|
|
75085
75091
|
forceHeight,
|
|
75086
75092
|
forceWidth,
|
|
75093
|
+
forceFps,
|
|
75094
|
+
forceDurationInFrames,
|
|
75087
75095
|
bucketName: forceBucketName,
|
|
75088
75096
|
offthreadVideoCacheSizeInBytes,
|
|
75089
75097
|
deleteAfter,
|
|
@@ -75167,6 +75175,8 @@ var renderMediaOnLambdaOptionalToRequired = (options) => {
|
|
|
75167
75175
|
forceBucketName: options.forceBucketName ?? null,
|
|
75168
75176
|
forceHeight: options.forceHeight ?? null,
|
|
75169
75177
|
forceWidth: options.forceWidth ?? null,
|
|
75178
|
+
forceFps: options.forceFps ?? null,
|
|
75179
|
+
forceDurationInFrames: options.forceDurationInFrames ?? null,
|
|
75170
75180
|
frameRange: options.frameRange ?? null,
|
|
75171
75181
|
framesPerLambda: options.framesPerLambda ?? null,
|
|
75172
75182
|
functionName: options.functionName,
|
|
@@ -75292,6 +75302,8 @@ function renderStillOnLambda(input) {
|
|
|
75292
75302
|
forceBucketName: input.forceBucketName ?? null,
|
|
75293
75303
|
forceHeight: input.forceHeight ?? null,
|
|
75294
75304
|
forceWidth: input.forceWidth ?? null,
|
|
75305
|
+
forceFps: input.forceFps ?? null,
|
|
75306
|
+
forceDurationInFrames: input.forceDurationInFrames ?? null,
|
|
75295
75307
|
frame: input.frame ?? 0,
|
|
75296
75308
|
functionName: input.functionName,
|
|
75297
75309
|
imageFormat: input.imageFormat,
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
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.426",
|
|
7
7
|
"main": "dist/cjs/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
|
-
"formatting": "prettier
|
|
10
|
+
"formatting": "prettier src --check",
|
|
11
11
|
"test": "bun test src",
|
|
12
12
|
"lint": "eslint src",
|
|
13
13
|
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@aws-sdk/lib-storage": "3.986.0",
|
|
27
27
|
"mime-types": "2.1.34",
|
|
28
28
|
"@aws-sdk/credential-provider-ini": "3.972.5",
|
|
29
|
-
"@remotion/serverless-client": "4.0.
|
|
29
|
+
"@remotion/serverless-client": "4.0.426",
|
|
30
30
|
"@types/express": "^5.0.0",
|
|
31
31
|
"express": "4.21.0",
|
|
32
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
+
"@remotion/eslint-config-internal": "4.0.426",
|
|
33
33
|
"eslint": "9.19.0",
|
|
34
34
|
"next": "16.1.5",
|
|
35
35
|
"@types/mime-types": "2.1.1",
|