@remotion/lambda 4.0.465 → 4.0.467

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, sampleRateOption, } = client_1.BrowserSafeApis.options;
27
+ const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, scaleOption, crfOption, gopSizeOption, 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];
@@ -95,6 +95,9 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
95
95
  const crf = crfOption.getValue({
96
96
  commandLine: cli_1.CliInternals.parsedCli,
97
97
  }).value;
98
+ const gopSize = gopSizeOption.getValue({
99
+ commandLine: cli_1.CliInternals.parsedCli,
100
+ }).value;
98
101
  const jpegQuality = jpegQualityOption.getValue({
99
102
  commandLine: cli_1.CliInternals.parsedCli,
100
103
  }).value;
@@ -248,6 +251,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
248
251
  codec: codec,
249
252
  imageFormat,
250
253
  crf: crf !== null && crf !== void 0 ? crf : undefined,
254
+ gopSize,
251
255
  envVariables,
252
256
  pixelFormat,
253
257
  proResProfile,
@@ -4,15 +4,29 @@ var __getProtoOf = Object.getPrototypeOf;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ function __accessProp(key) {
8
+ return this[key];
9
+ }
10
+ var __toESMCache_node;
11
+ var __toESMCache_esm;
7
12
  var __toESM = (mod, isNodeMode, target) => {
13
+ var canCache = mod != null && typeof mod === "object";
14
+ if (canCache) {
15
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
+ var cached = cache.get(mod);
17
+ if (cached)
18
+ return cached;
19
+ }
8
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
9
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
10
22
  for (let key of __getOwnPropNames(mod))
11
23
  if (!__hasOwnProp.call(to, key))
12
24
  __defProp(to, key, {
13
- get: () => mod[key],
25
+ get: __accessProp.bind(mod, key),
14
26
  enumerable: true
15
27
  });
28
+ if (canCache)
29
+ cache.set(mod, to);
16
30
  return to;
17
31
  };
18
32
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
@@ -8493,16 +8507,6 @@ var require_db = __commonJS((exports, module) => {
8493
8507
  };
8494
8508
  });
8495
8509
 
8496
- // ../../node_modules/.bun/mime-db@1.51.0/node_modules/mime-db/index.js
8497
- var require_mime_db = __commonJS((exports, module) => {
8498
- /*!
8499
- * mime-db
8500
- * Copyright(c) 2014 Jonathan Ong
8501
- * MIT Licensed
8502
- */
8503
- module.exports = require_db();
8504
- });
8505
-
8506
8510
  // ../../node_modules/.bun/mime-types@2.1.34/node_modules/mime-types/index.js
8507
8511
  var require_mime_types = __commonJS((exports) => {
8508
8512
  /*!
@@ -8511,7 +8515,7 @@ var require_mime_types = __commonJS((exports) => {
8511
8515
  * Copyright(c) 2015 Douglas Christopher Wilson
8512
8516
  * MIT Licensed
8513
8517
  */
8514
- var db = require_mime_db();
8518
+ var db = require_db();
8515
8519
  var extname = __require("path").extname;
8516
8520
  var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
8517
8521
  var TEXT_TYPE_REGEXP = /^text\//i;
@@ -8604,7 +8608,7 @@ var require_package = __commonJS((exports, module) => {
8604
8608
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8609
  },
8606
8610
  name: "@remotion/lambda",
8607
- version: "4.0.465",
8611
+ version: "4.0.467",
8608
8612
  description: "Render Remotion videos on AWS Lambda",
8609
8613
  main: "dist/index.js",
8610
8614
  scripts: {
@@ -11606,6 +11610,7 @@ var {
11606
11610
  offthreadVideoThreadsOption,
11607
11611
  scaleOption,
11608
11612
  crfOption,
11613
+ gopSizeOption,
11609
11614
  jpegQualityOption,
11610
11615
  videoBitrateOption,
11611
11616
  mutedOption,
@@ -11713,6 +11718,9 @@ var renderCommand = async ({
11713
11718
  const crf = crfOption.getValue({
11714
11719
  commandLine: CliInternals14.parsedCli
11715
11720
  }).value;
11721
+ const gopSize = gopSizeOption.getValue({
11722
+ commandLine: CliInternals14.parsedCli
11723
+ }).value;
11716
11724
  const jpegQuality = jpegQualityOption.getValue({
11717
11725
  commandLine: CliInternals14.parsedCli
11718
11726
  }).value;
@@ -11869,6 +11877,7 @@ var renderCommand = async ({
11869
11877
  codec,
11870
11878
  imageFormat,
11871
11879
  crf: crf ?? undefined,
11880
+ gopSize,
11872
11881
  envVariables,
11873
11882
  pixelFormat,
11874
11883
  proResProfile,
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.465",
6
+ "version": "4.0.467",
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.465",
32
- "@remotion/cli": "4.0.465",
33
- "@remotion/lambda-client": "4.0.465",
34
- "@remotion/renderer": "4.0.465",
35
- "@remotion/serverless": "4.0.465",
36
- "@remotion/streaming": "4.0.465",
31
+ "@remotion/bundler": "4.0.467",
32
+ "@remotion/cli": "4.0.467",
33
+ "@remotion/lambda-client": "4.0.467",
34
+ "@remotion/renderer": "4.0.467",
35
+ "@remotion/serverless": "4.0.467",
36
+ "@remotion/streaming": "4.0.467",
37
37
  "@smithy/abort-controller": "4.0.1",
38
- "remotion": "4.0.465",
38
+ "remotion": "4.0.467",
39
39
  "zod": "4.3.6"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/bundler": "4.0.465",
42
+ "@remotion/bundler": "4.0.467",
43
43
  "@types/express": "5.0.1",
44
44
  "express": "4.21.0",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.465",
46
- "@remotion/eslint-config-internal": "4.0.465",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.467",
46
+ "@remotion/eslint-config-internal": "4.0.467",
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.465"
57
+ "@remotion/bundler": "4.0.467"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
Binary file