@remotion/lambda 4.0.501 → 4.0.503

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.
@@ -37,11 +37,16 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
37
37
  (0, quit_1.quit)(1);
38
38
  }
39
39
  const region = (0, get_aws_region_1.getAwsRegion)();
40
- const { envVariables, frameRange, inputProps } = cli_1.CliInternals.getCliOptions({
40
+ const { envVariables, frameRange, inputProps, selectedFrames } = cli_1.CliInternals.getCliOptions({
41
41
  isStill: false,
42
42
  logLevel,
43
43
  indent: false,
44
44
  });
45
+ if (selectedFrames !== null ||
46
+ (Array.isArray(frameRange) && Array.isArray(frameRange[0]))) {
47
+ throw new Error('Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Lambda.');
48
+ }
49
+ const singleFrameRange = frameRange;
45
50
  const height = overrideHeightOption.getValue({
46
51
  commandLine: cli_1.CliInternals.parsedCli,
47
52
  }).value;
@@ -280,7 +285,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
280
285
  concurrency: concurrency !== null && concurrency !== void 0 ? concurrency : null,
281
286
  privacy,
282
287
  logLevel,
283
- frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
288
+ frameRange: singleFrameRange,
284
289
  outName: resolvedOutName,
285
290
  timeoutInMilliseconds,
286
291
  chromiumOptions,
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.501",
8607
+ version: "4.0.503",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  scripts: {
@@ -11904,11 +11904,15 @@ var renderCommand = async ({
11904
11904
  quit(1);
11905
11905
  }
11906
11906
  const region = getAwsRegion();
11907
- const { envVariables, frameRange, inputProps } = CliInternals14.getCliOptions({
11907
+ const { envVariables, frameRange, inputProps, selectedFrames } = CliInternals14.getCliOptions({
11908
11908
  isStill: false,
11909
11909
  logLevel,
11910
11910
  indent: false
11911
11911
  });
11912
+ if (selectedFrames !== null || Array.isArray(frameRange) && Array.isArray(frameRange[0])) {
11913
+ throw new Error("Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Lambda.");
11914
+ }
11915
+ const singleFrameRange = frameRange;
11912
11916
  const height = overrideHeightOption.getValue({
11913
11917
  commandLine: CliInternals14.parsedCli
11914
11918
  }).value;
@@ -12150,7 +12154,7 @@ var renderCommand = async ({
12150
12154
  concurrency: concurrency ?? null,
12151
12155
  privacy,
12152
12156
  logLevel,
12153
- frameRange: frameRange ?? null,
12157
+ frameRange: singleFrameRange,
12154
12158
  outName: resolvedOutName,
12155
12159
  timeoutInMilliseconds,
12156
12160
  chromiumOptions,
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.501",
6
+ "version": "4.0.503",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -28,22 +28,22 @@
28
28
  "@aws-sdk/client-cloudwatch-logs": "3.986.0",
29
29
  "@aws-sdk/client-service-quotas": "3.986.0",
30
30
  "@aws-sdk/lib-storage": "3.986.0",
31
- "@remotion/bundler": "4.0.501",
32
- "@remotion/cli": "4.0.501",
33
- "@remotion/lambda-client": "4.0.501",
34
- "@remotion/renderer": "4.0.501",
35
- "@remotion/serverless": "4.0.501",
36
- "@remotion/streaming": "4.0.501",
31
+ "@remotion/bundler": "4.0.503",
32
+ "@remotion/cli": "4.0.503",
33
+ "@remotion/lambda-client": "4.0.503",
34
+ "@remotion/renderer": "4.0.503",
35
+ "@remotion/serverless": "4.0.503",
36
+ "@remotion/streaming": "4.0.503",
37
37
  "@smithy/abort-controller": "4.0.1",
38
- "remotion": "4.0.501",
38
+ "remotion": "4.0.503",
39
39
  "zod": "4.4.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/bundler": "4.0.501",
42
+ "@remotion/bundler": "4.0.503",
43
43
  "@types/express": "5.0.1",
44
44
  "express": "4.21.0",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.501",
46
- "@remotion/eslint-config-internal": "4.0.501",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.503",
46
+ "@remotion/eslint-config-internal": "4.0.503",
47
47
  "mime-types": "2.1.34",
48
48
  "@types/mime-types": "2.1.1",
49
49
  "@types/minimist": "1.2.2",
@@ -54,7 +54,7 @@
54
54
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "@remotion/bundler": "4.0.501"
57
+ "@remotion/bundler": "4.0.503"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
Binary file