@remotion/serverless 4.0.464 → 4.0.466

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.
@@ -164,7 +164,7 @@ const innerLaunchHandler = async ({ params, options, overallProgress, registerCl
164
164
  // Throttling a bit, allowing more progress if there is lower concurrency.
165
165
  const progressEveryNthFrame = Math.ceil(chunks.length / 15);
166
166
  const lambdaPayloads = chunks.map((chunkPayload) => {
167
- var _a, _b;
167
+ var _a, _b, _c;
168
168
  const payload = {
169
169
  type: serverless_client_2.ServerlessRoutines.renderer,
170
170
  frameRange: chunkPayload,
@@ -186,12 +186,13 @@ const innerLaunchHandler = async ({ params, options, overallProgress, registerCl
186
186
  pixelFormat: params.pixelFormat,
187
187
  proResProfile: params.proResProfile,
188
188
  x264Preset: params.x264Preset,
189
+ gopSize: (_a = params.gopSize) !== null && _a !== void 0 ? _a : null,
189
190
  jpegQuality: params.jpegQuality,
190
191
  privacy: params.privacy,
191
- logLevel: (_a = params.logLevel) !== null && _a !== void 0 ? _a : 'info',
192
+ logLevel: (_b = params.logLevel) !== null && _b !== void 0 ? _b : 'info',
192
193
  attempt: 1,
193
194
  timeoutInMilliseconds: params.timeoutInMilliseconds,
194
- chromiumOptions: (_b = params.chromiumOptions) !== null && _b !== void 0 ? _b : {},
195
+ chromiumOptions: (_c = params.chromiumOptions) !== null && _c !== void 0 ? _c : {},
195
196
  scale: params.scale,
196
197
  everyNthFrame: params.everyNthFrame,
197
198
  concurrencyPerLambda: params.concurrencyPerFunction,
@@ -128,7 +128,7 @@ const renderHandler = async ({ params, options, logs, onStream, providerSpecific
128
128
  });
129
129
  };
130
130
  await new Promise((resolve, reject) => {
131
- var _a, _b, _c, _d, _e;
131
+ var _a, _b, _c, _d, _e, _f;
132
132
  renderer_1.RenderInternals.internalRenderMedia({
133
133
  repro: false,
134
134
  composition: {
@@ -191,6 +191,7 @@ const renderHandler = async ({ params, options, logs, onStream, providerSpecific
191
191
  pixelFormat: (_d = params.pixelFormat) !== null && _d !== void 0 ? _d : renderer_1.RenderInternals.DEFAULT_PIXEL_FORMAT,
192
192
  proResProfile: (_e = params.proResProfile) !== null && _e !== void 0 ? _e : undefined,
193
193
  x264Preset: params.x264Preset,
194
+ gopSize: (_f = params.gopSize) !== null && _f !== void 0 ? _f : null,
194
195
  onDownload: (0, on_downloads_helpers_1.onDownloadsHelper)(params.logLevel),
195
196
  overwrite: false,
196
197
  chromiumOptions: params.chromiumOptions,
@@ -5,7 +5,7 @@ const serverless_client_1 = require("@remotion/serverless-client");
5
5
  const overall_render_progress_1 = require("../overall-render-progress");
6
6
  const check_version_mismatch_1 = require("./check-version-mismatch");
7
7
  const startHandler = async ({ params, options, providerSpecifics, insideFunctionSpecifics, }) => {
8
- var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
9
9
  if (params.type !== serverless_client_1.ServerlessRoutines.start) {
10
10
  throw new TypeError('Expected type start');
11
11
  }
@@ -60,6 +60,7 @@ const startHandler = async ({ params, options, providerSpecifics, insideFunction
60
60
  pixelFormat: (_c = params.pixelFormat) !== null && _c !== void 0 ? _c : null,
61
61
  proResProfile: (_d = params.proResProfile) !== null && _d !== void 0 ? _d : null,
62
62
  x264Preset: params.x264Preset,
63
+ gopSize: (_e = params.gopSize) !== null && _e !== void 0 ? _e : null,
63
64
  jpegQuality: params.jpegQuality,
64
65
  maxRetries: params.maxRetries,
65
66
  privacy: params.privacy,
@@ -82,8 +83,8 @@ const startHandler = async ({ params, options, providerSpecifics, insideFunction
82
83
  encodingMaxRate: params.encodingMaxRate,
83
84
  forceHeight: params.forceHeight,
84
85
  forceWidth: params.forceWidth,
85
- forceFps: (_e = params.forceFps) !== null && _e !== void 0 ? _e : null,
86
- forceDurationInFrames: (_f = params.forceDurationInFrames) !== null && _f !== void 0 ? _f : null,
86
+ forceFps: (_f = params.forceFps) !== null && _f !== void 0 ? _f : null,
87
+ forceDurationInFrames: (_g = params.forceDurationInFrames) !== null && _g !== void 0 ? _g : null,
87
88
  rendererFunctionName: params.rendererFunctionName,
88
89
  audioCodec: params.audioCodec,
89
90
  offthreadVideoCacheSizeInBytes: params.offthreadVideoCacheSizeInBytes,
@@ -96,8 +97,8 @@ const startHandler = async ({ params, options, providerSpecifics, insideFunction
96
97
  offthreadVideoThreads: params.offthreadVideoThreads,
97
98
  storageClass: params.storageClass,
98
99
  mediaCacheSizeInBytes: params.mediaCacheSizeInBytes,
99
- isProduction: (_g = params.isProduction) !== null && _g !== void 0 ? _g : true,
100
- sampleRate: (_h = params.sampleRate) !== null && _h !== void 0 ? _h : 48000,
100
+ isProduction: (_h = params.isProduction) !== null && _h !== void 0 ? _h : true,
101
+ sampleRate: (_j = params.sampleRate) !== null && _j !== void 0 ? _j : 48000,
101
102
  };
102
103
  await providerSpecifics.callFunctionAsync({
103
104
  functionName: insideFunctionSpecifics.getCurrentFunctionName(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/serverless"
4
4
  },
5
5
  "name": "@remotion/serverless",
6
- "version": "4.0.464",
6
+ "version": "4.0.466",
7
7
  "description": "A runtime for distributed rendering",
8
8
  "main": "dist",
9
9
  "scripts": {
@@ -23,13 +23,13 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@remotion/renderer": "4.0.464",
27
- "@remotion/bundler": "4.0.464",
28
- "@remotion/licensing": "4.0.464",
29
- "@remotion/serverless-client": "4.0.464"
26
+ "@remotion/renderer": "4.0.466",
27
+ "@remotion/bundler": "4.0.466",
28
+ "@remotion/licensing": "4.0.466",
29
+ "@remotion/serverless-client": "4.0.466"
30
30
  },
31
31
  "devDependencies": {
32
- "@remotion/eslint-config-internal": "4.0.464",
32
+ "@remotion/eslint-config-internal": "4.0.466",
33
33
  "eslint": "9.19.0",
34
34
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
35
35
  },