@remotion/lambda 4.0.446 → 4.0.448

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, offthreadVideoThreadsOption, scaleOption, crfOption, jpegQualityOption, videoBitrateOption, mutedOption, colorSpaceOption, deleteAfterOption, enableMultiprocessOnLinuxOption, glOption, headlessOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, overwriteOption, binariesDirectoryOption, preferLosslessOption, metadataOption, mediaCacheSizeInBytesOption, darkModeOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, audioCodecOption, videoCodecOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, } = 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, mediaCacheSizeInBytesOption, darkModeOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, audioCodecOption, videoCodecOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, sampleRateOption, } = 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, _o, _p, _q;
30
30
  const serveUrl = args[0];
@@ -143,6 +143,9 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
143
143
  const metadata = metadataOption.getValue({
144
144
  commandLine: cli_1.CliInternals.parsedCli,
145
145
  }).value;
146
+ const sampleRate = sampleRateOption.getValue({
147
+ commandLine: cli_1.CliInternals.parsedCli,
148
+ }).value;
146
149
  const darkMode = darkModeOption.getValue({
147
150
  commandLine: cli_1.CliInternals.parsedCli,
148
151
  }).value;
@@ -175,6 +178,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
175
178
  offthreadVideoCacheSizeInBytes,
176
179
  binariesDirectory,
177
180
  forceIPv4: false,
181
+ sampleRate: 48000,
178
182
  });
179
183
  const indent = false;
180
184
  const { compositionId } = await cli_1.CliInternals.getCompositionWithDimensionOverride({
@@ -298,6 +302,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
298
302
  storageClass: (_p = args_1.parsedLambdaCli['storage-class']) !== null && _p !== void 0 ? _p : null,
299
303
  requestHandler: null,
300
304
  isProduction: (_q = args_1.parsedLambdaCli[client_1.BrowserSafeApis.options.isProductionOption.cliFlag]) !== null && _q !== void 0 ? _q : true,
305
+ sampleRate,
301
306
  });
302
307
  const progressBar = cli_1.CliInternals.createOverwriteableCliOutput({
303
308
  quiet: cli_1.CliInternals.quietFlagProvided(),
@@ -107,6 +107,7 @@ const stillCommand = async ({ args, remotionRoot, logLevel, providerSpecifics, }
107
107
  offthreadVideoCacheSizeInBytes,
108
108
  binariesDirectory,
109
109
  forceIPv4: false,
110
+ sampleRate: 48000,
110
111
  });
111
112
  const indent = false;
112
113
  const { compositionId } = await getCompositionWithDimensionOverride({
@@ -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.446",
8607
+ version: "4.0.448",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  sideEffects: false,
@@ -11654,7 +11654,8 @@ var {
11654
11654
  overrideHeightOption,
11655
11655
  overrideWidthOption,
11656
11656
  overrideFpsOption,
11657
- overrideDurationOption
11657
+ overrideDurationOption,
11658
+ sampleRateOption
11658
11659
  } = BrowserSafeApis3.options;
11659
11660
  var renderCommand = async ({
11660
11661
  args,
@@ -11778,6 +11779,9 @@ var renderCommand = async ({
11778
11779
  const metadata = metadataOption.getValue({
11779
11780
  commandLine: CliInternals14.parsedCli
11780
11781
  }).value;
11782
+ const sampleRate = sampleRateOption.getValue({
11783
+ commandLine: CliInternals14.parsedCli
11784
+ }).value;
11781
11785
  const darkMode = darkModeOption2.getValue({
11782
11786
  commandLine: CliInternals14.parsedCli
11783
11787
  }).value;
@@ -11810,7 +11814,8 @@ var renderCommand = async ({
11810
11814
  webpackConfigOrServeUrl: serveUrl,
11811
11815
  offthreadVideoCacheSizeInBytes,
11812
11816
  binariesDirectory,
11813
- forceIPv4: false
11817
+ forceIPv4: false,
11818
+ sampleRate: 48000
11814
11819
  });
11815
11820
  const indent = false;
11816
11821
  const { compositionId } = await CliInternals14.getCompositionWithDimensionOverride({
@@ -11933,7 +11938,8 @@ var renderCommand = async ({
11933
11938
  licenseKey: parsedLambdaCli[BrowserSafeApis3.options.licenseKeyOption.cliFlag] ?? null,
11934
11939
  storageClass: parsedLambdaCli["storage-class"] ?? null,
11935
11940
  requestHandler: null,
11936
- isProduction: parsedLambdaCli[BrowserSafeApis3.options.isProductionOption.cliFlag] ?? true
11941
+ isProduction: parsedLambdaCli[BrowserSafeApis3.options.isProductionOption.cliFlag] ?? true,
11942
+ sampleRate
11937
11943
  });
11938
11944
  const progressBar = CliInternals14.createOverwriteableCliOutput({
11939
11945
  quiet: CliInternals14.quietFlagProvided(),
@@ -12690,7 +12696,8 @@ var stillCommand = async ({
12690
12696
  webpackConfigOrServeUrl: serveUrl,
12691
12697
  offthreadVideoCacheSizeInBytes,
12692
12698
  binariesDirectory,
12693
- forceIPv4: false
12699
+ forceIPv4: false,
12700
+ sampleRate: 48000
12694
12701
  });
12695
12702
  const indent = false;
12696
12703
  const { compositionId } = await getCompositionWithDimensionOverride({
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.446",
6
+ "version": "4.0.448",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -29,33 +29,33 @@
29
29
  "@aws-sdk/client-cloudwatch-logs": "3.986.0",
30
30
  "@aws-sdk/client-service-quotas": "3.986.0",
31
31
  "@aws-sdk/lib-storage": "3.986.0",
32
- "@remotion/bundler": "4.0.446",
33
- "@remotion/cli": "4.0.446",
34
- "@remotion/lambda-client": "4.0.446",
35
- "@remotion/renderer": "4.0.446",
36
- "@remotion/serverless": "4.0.446",
37
- "@remotion/streaming": "4.0.446",
32
+ "@remotion/bundler": "4.0.448",
33
+ "@remotion/cli": "4.0.448",
34
+ "@remotion/lambda-client": "4.0.448",
35
+ "@remotion/renderer": "4.0.448",
36
+ "@remotion/serverless": "4.0.448",
37
+ "@remotion/streaming": "4.0.448",
38
38
  "@smithy/abort-controller": "4.0.1",
39
- "remotion": "4.0.446",
39
+ "remotion": "4.0.448",
40
40
  "zod": "4.3.6"
41
41
  },
42
42
  "devDependencies": {
43
- "@remotion/bundler": "4.0.446",
43
+ "@remotion/bundler": "4.0.448",
44
44
  "@types/express": "^5.0.0",
45
45
  "express": "4.21.0",
46
- "@remotion/compositor-linux-arm64-gnu": "4.0.446",
47
- "@remotion/eslint-config-internal": "4.0.446",
46
+ "@remotion/compositor-linux-arm64-gnu": "4.0.448",
47
+ "@remotion/eslint-config-internal": "4.0.448",
48
48
  "mime-types": "2.1.34",
49
49
  "@types/mime-types": "2.1.1",
50
50
  "@types/minimist": "1.2.2",
51
51
  "eslint": "9.19.0",
52
- "next": "16.1.7",
52
+ "next": "16.2.3",
53
53
  "pureimage": "0.4.13",
54
54
  "@types/node": "20.12.14",
55
55
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@remotion/bundler": "4.0.446"
58
+ "@remotion/bundler": "4.0.448"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
Binary file