@remotion/renderer 4.0.277 → 4.0.279
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.
- package/dist/assets/calculate-asset-positions.js +0 -1
- package/dist/assets/ffmpeg-volume-expression.d.ts +1 -2
- package/dist/assets/ffmpeg-volume-expression.js +3 -5
- package/dist/assets/types.d.ts +0 -1
- package/dist/can-concat-seamlessly.d.ts +4 -0
- package/dist/can-concat-seamlessly.js +17 -0
- package/dist/client.d.ts +2 -2
- package/dist/combine-chunks.d.ts +39 -0
- package/dist/{combine-videos.js → combine-chunks.js} +50 -7
- package/dist/esm/client.mjs +209 -281
- package/dist/esm/error-handling.mjs +8 -0
- package/dist/esm/index.mjs +2146 -2143
- package/dist/index.d.ts +30 -22
- package/dist/index.js +8 -3
- package/dist/options/index.d.ts +2 -2
- package/dist/options/metadata.d.ts +1 -1
- package/dist/options/webhook-custom-data.d.ts +1 -1
- package/dist/print-useful-error-message.js +8 -0
- package/dist/render-media.d.ts +2 -1
- package/dist/render-media.js +7 -8
- package/dist/stringify-ffmpeg-filter.js +0 -1
- package/dist/symbolicate-stacktrace.js +2 -1
- package/dist/validate-even-dimensions-with-codec.d.ts +4 -1
- package/dist/validate-even-dimensions-with-codec.js +14 -4
- package/package.json +15 -15
- package/dist/combine-videos.d.ts +0 -27
|
@@ -321,6 +321,14 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
321
321
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 On Lambda, one reason this could happen is that Chrome is rejecting an asset to be loaded when it is running low on disk space.");
|
|
322
322
|
Log.info({ indent, logLevel }, "Try increasing the disk size of your Lambda function.");
|
|
323
323
|
}
|
|
324
|
+
if (err.message.includes("Invalid value specified for cpu")) {
|
|
325
|
+
Log.info({ indent, logLevel });
|
|
326
|
+
Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your GCP account does have a limit. Try setting `--maxInstances=5` / `maxInstances: 5` when deploying this service.");
|
|
327
|
+
Log.info({
|
|
328
|
+
indent,
|
|
329
|
+
logLevel
|
|
330
|
+
});
|
|
331
|
+
}
|
|
324
332
|
};
|
|
325
333
|
|
|
326
334
|
// src/wrap-with-error-handling.ts
|