@remotion/renderer 4.0.332 → 4.0.334
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.
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertToPositiveFrameIndex = void 0;
|
|
4
4
|
// Handle negative indices (e.g. -1 being the last frame)
|
|
5
5
|
const convertToPositiveFrameIndex = ({ frame, durationInFrames, }) => {
|
|
6
|
-
return frame < 0 ? durationInFrames
|
|
6
|
+
return frame < 0 ? durationInFrames + frame : frame;
|
|
7
7
|
};
|
|
8
8
|
exports.convertToPositiveFrameIndex = convertToPositiveFrameIndex;
|
|
@@ -271,8 +271,14 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
271
271
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/enametoolong");
|
|
272
272
|
}
|
|
273
273
|
if (err.message.includes("Member must have value less than or equal to 3008")) {
|
|
274
|
-
Log.
|
|
275
|
-
Log.
|
|
274
|
+
Log.warn({ indent, logLevel });
|
|
275
|
+
Log.warn({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that you have a AWS account on the free or basic tier or have been limited by your organization.");
|
|
276
|
+
Log.warn({ indent, logLevel }, "Often times this can be solved by adding a credit card, or if already done, by contacting AWS support.");
|
|
277
|
+
Log.warn({
|
|
278
|
+
indent,
|
|
279
|
+
logLevel
|
|
280
|
+
}, "Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus");
|
|
281
|
+
Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
|
|
276
282
|
}
|
|
277
283
|
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
|
|
278
284
|
Log.info({ indent, logLevel });
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4097,7 +4097,7 @@ var convertToPositiveFrameIndex = ({
|
|
|
4097
4097
|
frame,
|
|
4098
4098
|
durationInFrames
|
|
4099
4099
|
}) => {
|
|
4100
|
-
return frame < 0 ? durationInFrames
|
|
4100
|
+
return frame < 0 ? durationInFrames + frame : frame;
|
|
4101
4101
|
};
|
|
4102
4102
|
|
|
4103
4103
|
// src/symbolicate-stacktrace.ts
|
|
@@ -16376,8 +16376,14 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
16376
16376
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/enametoolong");
|
|
16377
16377
|
}
|
|
16378
16378
|
if (err.message.includes("Member must have value less than or equal to 3008")) {
|
|
16379
|
-
Log.
|
|
16380
|
-
Log.
|
|
16379
|
+
Log.warn({ indent, logLevel });
|
|
16380
|
+
Log.warn({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that you have a AWS account on the free or basic tier or have been limited by your organization.");
|
|
16381
|
+
Log.warn({ indent, logLevel }, "Often times this can be solved by adding a credit card, or if already done, by contacting AWS support.");
|
|
16382
|
+
Log.warn({
|
|
16383
|
+
indent,
|
|
16384
|
+
logLevel
|
|
16385
|
+
}, "Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus");
|
|
16386
|
+
Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
|
|
16381
16387
|
}
|
|
16382
16388
|
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
|
|
16383
16389
|
Log.info({ indent, logLevel });
|
|
@@ -39,8 +39,14 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
39
39
|
logger_1.Log.info({ indent, logLevel }, '💡 Get help for this issue at https://remotion.dev/docs/enametoolong');
|
|
40
40
|
}
|
|
41
41
|
if (err.message.includes('Member must have value less than or equal to 3008')) {
|
|
42
|
-
logger_1.Log.
|
|
43
|
-
logger_1.Log.
|
|
42
|
+
logger_1.Log.warn({ indent, logLevel });
|
|
43
|
+
logger_1.Log.warn({ indent, logLevel }, '💡 This error indicates that you have a AWS account on the free or basic tier or have been limited by your organization.');
|
|
44
|
+
logger_1.Log.warn({ indent, logLevel }, 'Often times this can be solved by adding a credit card, or if already done, by contacting AWS support.');
|
|
45
|
+
logger_1.Log.warn({
|
|
46
|
+
indent,
|
|
47
|
+
logLevel,
|
|
48
|
+
}, 'Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus');
|
|
49
|
+
logger_1.Log.warn({ indent, logLevel }, 'See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb');
|
|
44
50
|
}
|
|
45
51
|
if ((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException: Rate Exceeded.')) {
|
|
46
52
|
logger_1.Log.info({ indent, logLevel });
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.334",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"extract-zip": "2.0.1",
|
|
19
19
|
"source-map": "^0.8.0-beta.0",
|
|
20
20
|
"ws": "8.17.1",
|
|
21
|
-
"remotion": "4.0.
|
|
22
|
-
"@remotion/streaming": "4.0.
|
|
21
|
+
"remotion": "4.0.334",
|
|
22
|
+
"@remotion/streaming": "4.0.334"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=16.8.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"react-dom": "19.0.0",
|
|
34
34
|
"@types/ws": "8.5.10",
|
|
35
35
|
"eslint": "9.19.0",
|
|
36
|
-
"@remotion/
|
|
37
|
-
"@remotion/
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.334",
|
|
37
|
+
"@remotion/example-videos": "4.0.334"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
41
|
-
"@remotion/compositor-linux-arm64-
|
|
42
|
-
"@remotion/compositor-
|
|
43
|
-
"@remotion/compositor-
|
|
44
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
45
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
46
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.334",
|
|
41
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.334",
|
|
42
|
+
"@remotion/compositor-darwin-x64": "4.0.334",
|
|
43
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.334",
|
|
44
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.334",
|
|
45
|
+
"@remotion/compositor-linux-x64-musl": "4.0.334",
|
|
46
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.334"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|