@remotion/renderer 4.0.353 → 4.0.355
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.
|
@@ -280,7 +280,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
280
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
281
|
Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
|
|
282
282
|
}
|
|
283
|
-
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
|
|
283
|
+
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.") || err.message?.includes("ConcurrentInvocationLimitExceeded")) {
|
|
284
284
|
Log.info({ indent, logLevel });
|
|
285
285
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
|
|
286
286
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -16547,7 +16547,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
16547
16547
|
}, "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");
|
|
16548
16548
|
Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
|
|
16549
16549
|
}
|
|
16550
|
-
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
|
|
16550
|
+
if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.") || err.message?.includes("ConcurrentInvocationLimitExceeded")) {
|
|
16551
16551
|
Log.info({ indent, logLevel });
|
|
16552
16552
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
|
|
16553
16553
|
}
|
|
@@ -21448,15 +21448,20 @@ var internalRenderMediaRaw = ({
|
|
|
21448
21448
|
if (onCtrlCExit && workingDir) {
|
|
21449
21449
|
onCtrlCExit(`Delete ${workingDir}`, () => deleteDirectory(workingDir));
|
|
21450
21450
|
}
|
|
21451
|
-
const {
|
|
21451
|
+
const {
|
|
21452
|
+
actualWidth: widthEvenDimensionsUndivided,
|
|
21453
|
+
actualHeight: heightEvenDimensionsUndivided
|
|
21454
|
+
} = validateEvenDimensionsWithCodec({
|
|
21452
21455
|
codec,
|
|
21453
21456
|
height: compositionWithPossibleUnevenDimensions.height,
|
|
21454
|
-
scale
|
|
21457
|
+
scale,
|
|
21455
21458
|
width: compositionWithPossibleUnevenDimensions.width,
|
|
21456
21459
|
wantsImageSequence: false,
|
|
21457
21460
|
indent,
|
|
21458
21461
|
logLevel
|
|
21459
21462
|
});
|
|
21463
|
+
const heightEvenDimensions = Math.round(heightEvenDimensionsUndivided / scale);
|
|
21464
|
+
const widthEvenDimensions = Math.round(widthEvenDimensionsUndivided / scale);
|
|
21460
21465
|
const { actualWidth, actualHeight } = validateEvenDimensionsWithCodec({
|
|
21461
21466
|
codec,
|
|
21462
21467
|
height: compositionWithPossibleUnevenDimensions.height,
|
|
@@ -5,7 +5,7 @@ const logger_1 = require("./logger");
|
|
|
5
5
|
const truthy_1 = require("./truthy");
|
|
6
6
|
let alreadyPrintedCache = [];
|
|
7
7
|
const printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
8
|
-
var _a, _b;
|
|
8
|
+
var _a, _b, _c;
|
|
9
9
|
const errorStack = err.stack;
|
|
10
10
|
if (errorStack && alreadyPrintedCache.includes(errorStack)) {
|
|
11
11
|
return;
|
|
@@ -48,7 +48,8 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
48
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
49
|
logger_1.Log.warn({ indent, logLevel }, 'See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb');
|
|
50
50
|
}
|
|
51
|
-
if ((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException: Rate Exceeded.'))
|
|
51
|
+
if (((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException: Rate Exceeded.')) ||
|
|
52
|
+
((_b = err.message) === null || _b === void 0 ? void 0 : _b.includes('ConcurrentInvocationLimitExceeded'))) {
|
|
52
53
|
logger_1.Log.info({ indent, logLevel });
|
|
53
54
|
logger_1.Log.info({ indent, logLevel }, '💡 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit');
|
|
54
55
|
}
|
|
@@ -68,7 +69,7 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
68
69
|
logger_1.Log.info({ indent, logLevel }, '💡 Fix for this issue: https://remotion.dev/docs/lambda/troubleshooting/bucket-disallows-acl');
|
|
69
70
|
}
|
|
70
71
|
if (err.message.includes('Minified React error #306')) {
|
|
71
|
-
const componentName = (
|
|
72
|
+
const componentName = (_c = err.message.match(/<\w+>/)) === null || _c === void 0 ? void 0 : _c[0];
|
|
72
73
|
logger_1.Log.info({ indent, logLevel }, [
|
|
73
74
|
'💡 This error indicates that the component',
|
|
74
75
|
componentName ? `(${componentName})` : null,
|
package/dist/render-media.js
CHANGED
|
@@ -177,16 +177,17 @@ const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition: c
|
|
|
177
177
|
if (onCtrlCExit && workingDir) {
|
|
178
178
|
onCtrlCExit(`Delete ${workingDir}`, () => (0, delete_directory_1.deleteDirectory)(workingDir));
|
|
179
179
|
}
|
|
180
|
-
const { actualWidth:
|
|
180
|
+
const { actualWidth: widthEvenDimensionsUndivided, actualHeight: heightEvenDimensionsUndivided, } = (0, validate_even_dimensions_with_codec_1.validateEvenDimensionsWithCodec)({
|
|
181
181
|
codec,
|
|
182
182
|
height: compositionWithPossibleUnevenDimensions.height,
|
|
183
|
-
|
|
184
|
-
scale: 1,
|
|
183
|
+
scale,
|
|
185
184
|
width: compositionWithPossibleUnevenDimensions.width,
|
|
186
185
|
wantsImageSequence: false,
|
|
187
186
|
indent,
|
|
188
187
|
logLevel,
|
|
189
188
|
});
|
|
189
|
+
const heightEvenDimensions = Math.round(heightEvenDimensionsUndivided / scale);
|
|
190
|
+
const widthEvenDimensions = Math.round(widthEvenDimensionsUndivided / scale);
|
|
190
191
|
const { actualWidth, actualHeight } = (0, validate_even_dimensions_with_codec_1.validateEvenDimensionsWithCodec)({
|
|
191
192
|
codec,
|
|
192
193
|
height: compositionWithPossibleUnevenDimensions.height,
|
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.355",
|
|
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.355",
|
|
22
|
+
"@remotion/streaming": "4.0.355"
|
|
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.355",
|
|
37
|
+
"@remotion/example-videos": "4.0.355"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-
|
|
41
|
-
"@remotion/compositor-darwin-
|
|
42
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
43
|
-
"@remotion/compositor-linux-
|
|
44
|
-
"@remotion/compositor-linux-
|
|
45
|
-
"@remotion/compositor-
|
|
46
|
-
"@remotion/compositor-
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.355",
|
|
41
|
+
"@remotion/compositor-darwin-x64": "4.0.355",
|
|
42
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.355",
|
|
43
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.355",
|
|
44
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.355",
|
|
45
|
+
"@remotion/compositor-linux-x64-musl": "4.0.355",
|
|
46
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.355"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|