@remotion/renderer 4.0.448 → 4.0.449
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.
|
@@ -74,21 +74,18 @@ const checkBunVersion = () => {
|
|
|
74
74
|
throw new Error(`Remotion requires at least Bun ${no_react_1.NoReactInternals.MIN_BUN_VERSION}. You currently have ${Bun.version}. Update your Bun version to ${no_react_1.NoReactInternals.MIN_BUN_VERSION} to use Remotion.`);
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
// Darwin kernel major version
|
|
78
|
-
const MIN_DARWIN_VERSION =
|
|
79
|
-
const MIN_MACOS_DISPLAY_VERSION = '
|
|
77
|
+
// Darwin kernel major version 24 = macOS 15 (Sequoia)
|
|
78
|
+
const MIN_DARWIN_VERSION = 24;
|
|
79
|
+
const MIN_MACOS_DISPLAY_VERSION = '15 (Sequoia)';
|
|
80
80
|
const checkMacOSVersion = (logLevel, indent) => {
|
|
81
81
|
if (process.platform !== 'darwin') {
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
if (Number.isNaN(majorVersion)) {
|
|
84
|
+
const majorVersion = Number(node_os_1.default.release().split('.')[0]);
|
|
85
|
+
if (Number.isNaN(majorVersion) || majorVersion >= MIN_DARWIN_VERSION) {
|
|
87
86
|
return;
|
|
88
87
|
}
|
|
89
|
-
|
|
90
|
-
logger_1.Log.warn({ logLevel, indent }, `Your macOS version is older than macOS ${MIN_MACOS_DISPLAY_VERSION}. Some features such as rendering may not work.`);
|
|
91
|
-
}
|
|
88
|
+
logger_1.Log.warn({ logLevel, indent }, `Your macOS version is older than macOS ${MIN_MACOS_DISPLAY_VERSION}. Some features such as rendering may not work.`);
|
|
92
89
|
};
|
|
93
90
|
const checkRuntimeVersion = (logLevel, indent) => {
|
|
94
91
|
if (typeof Bun === 'undefined') {
|
|
@@ -324,7 +324,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
324
324
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/2439");
|
|
325
325
|
}
|
|
326
326
|
if (err.message.includes("AVCaptureDeviceTypeContinuityCamera")) {
|
|
327
|
-
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS
|
|
327
|
+
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS 15 (Sequoia) or later.");
|
|
328
328
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/7027");
|
|
329
329
|
}
|
|
330
330
|
if (err.message.includes("EBADF")) {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4139,20 +4139,17 @@ var checkBunVersion = () => {
|
|
|
4139
4139
|
throw new Error(`Remotion requires at least Bun ${NoReactInternals3.MIN_BUN_VERSION}. You currently have ${Bun.version}. Update your Bun version to ${NoReactInternals3.MIN_BUN_VERSION} to use Remotion.`);
|
|
4140
4140
|
}
|
|
4141
4141
|
};
|
|
4142
|
-
var MIN_DARWIN_VERSION =
|
|
4143
|
-
var MIN_MACOS_DISPLAY_VERSION = "
|
|
4142
|
+
var MIN_DARWIN_VERSION = 24;
|
|
4143
|
+
var MIN_MACOS_DISPLAY_VERSION = "15 (Sequoia)";
|
|
4144
4144
|
var checkMacOSVersion = (logLevel, indent) => {
|
|
4145
4145
|
if (process.platform !== "darwin") {
|
|
4146
4146
|
return;
|
|
4147
4147
|
}
|
|
4148
|
-
const
|
|
4149
|
-
|
|
4150
|
-
if (Number.isNaN(majorVersion)) {
|
|
4148
|
+
const majorVersion = Number(os2.release().split(".")[0]);
|
|
4149
|
+
if (Number.isNaN(majorVersion) || majorVersion >= MIN_DARWIN_VERSION) {
|
|
4151
4150
|
return;
|
|
4152
4151
|
}
|
|
4153
|
-
|
|
4154
|
-
Log.warn({ logLevel, indent }, `Your macOS version is older than macOS ${MIN_MACOS_DISPLAY_VERSION}. Some features such as rendering may not work.`);
|
|
4155
|
-
}
|
|
4152
|
+
Log.warn({ logLevel, indent }, `Your macOS version is older than macOS ${MIN_MACOS_DISPLAY_VERSION}. Some features such as rendering may not work.`);
|
|
4156
4153
|
};
|
|
4157
4154
|
var checkRuntimeVersion = (logLevel, indent) => {
|
|
4158
4155
|
if (typeof Bun === "undefined") {
|
|
@@ -5358,7 +5355,7 @@ var getAvailableMemory = (logLevel) => {
|
|
|
5358
5355
|
Log.warn({ indent: false, logLevel }, `Memory reported by /proc/meminfo: ${(_procInfo / 1024 / 1024).toFixed(2)} MB`);
|
|
5359
5356
|
}
|
|
5360
5357
|
Log.warn({ indent: false, logLevel }, `Memory reported by Node: ${(nodeMemory / 1024 / 1024).toFixed(2)} MB`);
|
|
5361
|
-
Log.warn({ indent: false, logLevel }, "You might have
|
|
5358
|
+
Log.warn({ indent: false, logLevel }, "You might have inadvertently set the --memory flag of `docker run` to a value that is higher than the global Docker memory limit.");
|
|
5362
5359
|
Log.warn({ indent: false, logLevel }, "Using the lower amount of memory for calculation.");
|
|
5363
5360
|
}
|
|
5364
5361
|
return Math.min(nodeMemory, cgroupMemory);
|
|
@@ -16934,7 +16931,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
16934
16931
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/2439");
|
|
16935
16932
|
}
|
|
16936
16933
|
if (err.message.includes("AVCaptureDeviceTypeContinuityCamera")) {
|
|
16937
|
-
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS
|
|
16934
|
+
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS 15 (Sequoia) or later.");
|
|
16938
16935
|
Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/7027");
|
|
16939
16936
|
}
|
|
16940
16937
|
if (err.message.includes("EBADF")) {
|
|
@@ -30,7 +30,7 @@ const getAvailableMemory = (logLevel) => {
|
|
|
30
30
|
logger_1.Log.warn({ indent: false, logLevel }, `Memory reported by /proc/meminfo: ${(_procInfo / 1024 / 1024).toFixed(2)} MB`);
|
|
31
31
|
}
|
|
32
32
|
logger_1.Log.warn({ indent: false, logLevel }, `Memory reported by Node: ${(nodeMemory / 1024 / 1024).toFixed(2)} MB`);
|
|
33
|
-
logger_1.Log.warn({ indent: false, logLevel }, 'You might have
|
|
33
|
+
logger_1.Log.warn({ indent: false, logLevel }, 'You might have inadvertently set the --memory flag of `docker run` to a value that is higher than the global Docker memory limit.');
|
|
34
34
|
logger_1.Log.warn({ indent: false, logLevel }, 'Using the lower amount of memory for calculation.');
|
|
35
35
|
}
|
|
36
36
|
return Math.min(nodeMemory, cgroupMemory);
|
|
@@ -87,7 +87,7 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
|
|
|
87
87
|
logger_1.Log.info({ indent, logLevel }, '💡 Get help for this issue: https://github.com/remotion-dev/remotion/issues/2439');
|
|
88
88
|
}
|
|
89
89
|
if (err.message.includes('AVCaptureDeviceTypeContinuityCamera')) {
|
|
90
|
-
logger_1.Log.info({ indent, logLevel }, '💡 Remotion requires macOS
|
|
90
|
+
logger_1.Log.info({ indent, logLevel }, '💡 Remotion requires macOS 15 (Sequoia) or later.');
|
|
91
91
|
logger_1.Log.info({ indent, logLevel }, '💡 Get help for this issue: https://github.com/remotion-dev/remotion/issues/7027');
|
|
92
92
|
}
|
|
93
93
|
if (err.message.includes('EBADF')) {
|
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.449",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|