@remotion/renderer 4.0.340 → 4.0.341
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/LICENSE.md +7 -7
- package/dist/assets/types.js +1 -1
- package/dist/esm/index.mjs +23 -9
- package/dist/render-media.js +23 -8
- package/ensure-browser.mjs +33 -51
- package/package.json +12 -12
package/LICENSE.md
CHANGED
|
@@ -6,10 +6,10 @@ In Remotion 5.0, the license will slightly change. [View the changes here](https
|
|
|
6
6
|
|
|
7
7
|
Depending on the type of your legal entity, you are granted permission to use Remotion for your project. Individuals and small companies are allowed to use Remotion to create videos for free (even commercial), while a company license is required for for-profit organizations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use.
|
|
8
8
|
|
|
9
|
-
- [Free
|
|
10
|
-
- [Company
|
|
9
|
+
- [Free License](#free-license)
|
|
10
|
+
- [Company License](#company-license)
|
|
11
11
|
|
|
12
|
-
## Free
|
|
12
|
+
## Free License
|
|
13
13
|
|
|
14
14
|
Copyright © 2025 [Remotion](https://www.remotion.dev)
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ You are eligible to use Remotion for free if you are:
|
|
|
24
24
|
|
|
25
25
|
### Allowed use cases
|
|
26
26
|
|
|
27
|
-
Permission is hereby granted, free of charge, to any person eligible for the "Free
|
|
27
|
+
Permission is hereby granted, free of charge, to any person eligible for the "Free License", to use the software non-commercially or commercially for the purpose of creating videos and images and to modify the software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion.
|
|
28
28
|
|
|
29
29
|
### Disallowed use cases
|
|
30
30
|
|
|
@@ -38,12 +38,12 @@ The software is provided "as is", without warranty of any kind, express or impli
|
|
|
38
38
|
|
|
39
39
|
Support is provided on a best-we-can-do basis via GitHub Issues and Discord.
|
|
40
40
|
|
|
41
|
-
## Company
|
|
41
|
+
## Company License
|
|
42
42
|
|
|
43
|
-
You are required to obtain a
|
|
43
|
+
You are required to obtain a Company License to use Remotion if you are not within the group of entities eligible for a Free License. This license will enable you to use Remotion for the allowed use cases specified in the Free License, and give you access to prioritized support (read the [Support Policy](https://www.remotion.dev/docs/support)).
|
|
44
44
|
|
|
45
45
|
Visit [remotion.pro](https://www.remotion.pro/license) for pricing and to buy a license.
|
|
46
46
|
|
|
47
47
|
### FAQs
|
|
48
48
|
|
|
49
|
-
Are you not sure whether you need a
|
|
49
|
+
Are you not sure whether you need a Company License because of an edge case? Here are some [frequently asked questions](https://www.remotion.pro/faq).
|
package/dist/assets/types.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.uncompressMediaAsset = void 0;
|
|
4
4
|
const uncompressMediaAsset = (allRenderAssets, assetToUncompress) => {
|
|
5
|
-
const isCompressed = assetToUncompress.src.match(/same-as-(.*)-([0-9]+)$/);
|
|
5
|
+
const isCompressed = assetToUncompress.src.match(/same-as-(.*)-([0-9.]+)$/);
|
|
6
6
|
if (!isCompressed) {
|
|
7
7
|
return assetToUncompress;
|
|
8
8
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -19693,7 +19693,7 @@ var convertAssetToFlattenedVolume = (asset) => {
|
|
|
19693
19693
|
|
|
19694
19694
|
// src/assets/types.ts
|
|
19695
19695
|
var uncompressMediaAsset = (allRenderAssets, assetToUncompress) => {
|
|
19696
|
-
const isCompressed = assetToUncompress.src.match(/same-as-(.*)-([0-9]+)$/);
|
|
19696
|
+
const isCompressed = assetToUncompress.src.match(/same-as-(.*)-([0-9.]+)$/);
|
|
19697
19697
|
if (!isCompressed) {
|
|
19698
19698
|
return assetToUncompress;
|
|
19699
19699
|
}
|
|
@@ -21041,7 +21041,7 @@ var internalRenderMediaRaw = ({
|
|
|
21041
21041
|
proResProfile,
|
|
21042
21042
|
x264Preset,
|
|
21043
21043
|
crf,
|
|
21044
|
-
composition,
|
|
21044
|
+
composition: compositionWithPossibleUnevenDimensions,
|
|
21045
21045
|
serializedInputPropsWithCustomSchema,
|
|
21046
21046
|
pixelFormat: userPixelFormat,
|
|
21047
21047
|
codec,
|
|
@@ -21095,11 +21095,11 @@ var internalRenderMediaRaw = ({
|
|
|
21095
21095
|
chromeMode,
|
|
21096
21096
|
offthreadVideoThreads
|
|
21097
21097
|
}) => {
|
|
21098
|
-
const pixelFormat = userPixelFormat ??
|
|
21098
|
+
const pixelFormat = userPixelFormat ?? compositionWithPossibleUnevenDimensions.defaultPixelFormat ?? DEFAULT_PIXEL_FORMAT;
|
|
21099
21099
|
if (repro) {
|
|
21100
21100
|
enableRepro({
|
|
21101
21101
|
serveUrl,
|
|
21102
|
-
compositionName:
|
|
21102
|
+
compositionName: compositionWithPossibleUnevenDimensions.id,
|
|
21103
21103
|
serializedInputPropsWithCustomSchema,
|
|
21104
21104
|
serializedResolvedPropsWithCustomSchema
|
|
21105
21105
|
});
|
|
@@ -21155,8 +21155,8 @@ var internalRenderMediaRaw = ({
|
|
|
21155
21155
|
const recentFrameTimings = [];
|
|
21156
21156
|
const renderStart = Date.now();
|
|
21157
21157
|
const { estimatedUsage, freeMemory, hasEnoughMemory } = shouldUseParallelEncoding({
|
|
21158
|
-
height:
|
|
21159
|
-
width:
|
|
21158
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
21159
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
21160
21160
|
logLevel
|
|
21161
21161
|
});
|
|
21162
21162
|
const parallelEncoding = !disallowParallelEncoding && hasEnoughMemory && canUseParallelEncoding(codec);
|
|
@@ -21201,22 +21201,36 @@ var internalRenderMediaRaw = ({
|
|
|
21201
21201
|
tag: "renderMedia()"
|
|
21202
21202
|
}, "Parallel encoding is disabled.");
|
|
21203
21203
|
}
|
|
21204
|
-
const imageFormat = isAudioCodec(codec) ? "none" : provisionalImageFormat ??
|
|
21204
|
+
const imageFormat = isAudioCodec(codec) ? "none" : provisionalImageFormat ?? compositionWithPossibleUnevenDimensions.defaultVideoImageFormat ?? DEFAULT_VIDEO_IMAGE_FORMAT;
|
|
21205
21205
|
validateSelectedPixelFormatAndImageFormatCombination(pixelFormat, imageFormat);
|
|
21206
21206
|
const workingDir = fs15.mkdtempSync(path25.join(os6.tmpdir(), "react-motion-render"));
|
|
21207
21207
|
const preEncodedFileLocation = parallelEncoding ? path25.join(workingDir, "pre-encode." + getFileExtensionFromCodec(codec, audioCodec)) : null;
|
|
21208
21208
|
if (onCtrlCExit && workingDir) {
|
|
21209
21209
|
onCtrlCExit(`Delete ${workingDir}`, () => deleteDirectory(workingDir));
|
|
21210
21210
|
}
|
|
21211
|
+
const { actualWidth: widthEvenDimensions, actualHeight: heightEvenDimensions } = validateEvenDimensionsWithCodec({
|
|
21212
|
+
codec,
|
|
21213
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
21214
|
+
scale: 1,
|
|
21215
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
21216
|
+
wantsImageSequence: false,
|
|
21217
|
+
indent,
|
|
21218
|
+
logLevel
|
|
21219
|
+
});
|
|
21211
21220
|
const { actualWidth, actualHeight } = validateEvenDimensionsWithCodec({
|
|
21212
21221
|
codec,
|
|
21213
|
-
height:
|
|
21222
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
21214
21223
|
scale,
|
|
21215
|
-
width:
|
|
21224
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
21216
21225
|
wantsImageSequence: false,
|
|
21217
21226
|
indent,
|
|
21218
21227
|
logLevel
|
|
21219
21228
|
});
|
|
21229
|
+
const composition = {
|
|
21230
|
+
...compositionWithPossibleUnevenDimensions,
|
|
21231
|
+
height: heightEvenDimensions,
|
|
21232
|
+
width: widthEvenDimensions
|
|
21233
|
+
};
|
|
21220
21234
|
const realFrameRange = getRealFrameRange(composition.durationInFrames, frameRange);
|
|
21221
21235
|
const totalFramesToRender = getFramesToRender(realFrameRange, everyNthFrame).length;
|
|
21222
21236
|
Log.verbose({ indent, logLevel, tag: "renderMedia()" }, `Rendering frames ${realFrameRange.join("-")}`);
|
package/dist/render-media.js
CHANGED
|
@@ -52,13 +52,13 @@ const validate_videobitrate_1 = require("./validate-videobitrate");
|
|
|
52
52
|
const wrap_with_error_handling_1 = require("./wrap-with-error-handling");
|
|
53
53
|
const SLOWEST_FRAME_COUNT = 10;
|
|
54
54
|
const MAX_RECENT_FRAME_TIMINGS = 50;
|
|
55
|
-
const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition, serializedInputPropsWithCustomSchema, pixelFormat: userPixelFormat, codec, envVariables, frameRange, puppeteerInstance, outputLocation, onProgress, overwrite, onDownload, onBrowserLog, onStart, timeoutInMilliseconds, chromiumOptions, scale, browserExecutable, port, cancelSignal, muted, enforceAudioTrack, ffmpegOverride, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, audioCodec, concurrency, disallowParallelEncoding, everyNthFrame, imageFormat: provisionalImageFormat, indent, jpegQuality, numberOfGifLoops, onCtrlCExit, preferLossless, serveUrl, server: reusedServer, logLevel, serializedResolvedPropsWithCustomSchema, offthreadVideoCacheSizeInBytes, colorSpace, repro, binariesDirectory, separateAudioTo, forSeamlessAacConcatenation, compositionStart, onBrowserDownload, onArtifact, metadata, hardwareAcceleration, chromeMode, offthreadVideoThreads, }) => {
|
|
55
|
+
const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition: compositionWithPossibleUnevenDimensions, serializedInputPropsWithCustomSchema, pixelFormat: userPixelFormat, codec, envVariables, frameRange, puppeteerInstance, outputLocation, onProgress, overwrite, onDownload, onBrowserLog, onStart, timeoutInMilliseconds, chromiumOptions, scale, browserExecutable, port, cancelSignal, muted, enforceAudioTrack, ffmpegOverride, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, audioCodec, concurrency, disallowParallelEncoding, everyNthFrame, imageFormat: provisionalImageFormat, indent, jpegQuality, numberOfGifLoops, onCtrlCExit, preferLossless, serveUrl, server: reusedServer, logLevel, serializedResolvedPropsWithCustomSchema, offthreadVideoCacheSizeInBytes, colorSpace, repro, binariesDirectory, separateAudioTo, forSeamlessAacConcatenation, compositionStart, onBrowserDownload, onArtifact, metadata, hardwareAcceleration, chromeMode, offthreadVideoThreads, }) => {
|
|
56
56
|
var _a, _b;
|
|
57
|
-
const pixelFormat = (_a = userPixelFormat !== null && userPixelFormat !== void 0 ? userPixelFormat :
|
|
57
|
+
const pixelFormat = (_a = userPixelFormat !== null && userPixelFormat !== void 0 ? userPixelFormat : compositionWithPossibleUnevenDimensions.defaultPixelFormat) !== null && _a !== void 0 ? _a : pixel_format_1.DEFAULT_PIXEL_FORMAT;
|
|
58
58
|
if (repro) {
|
|
59
59
|
(0, repro_1.enableRepro)({
|
|
60
60
|
serveUrl,
|
|
61
|
-
compositionName:
|
|
61
|
+
compositionName: compositionWithPossibleUnevenDimensions.id,
|
|
62
62
|
serializedInputPropsWithCustomSchema,
|
|
63
63
|
serializedResolvedPropsWithCustomSchema,
|
|
64
64
|
});
|
|
@@ -117,8 +117,8 @@ const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition, s
|
|
|
117
117
|
const recentFrameTimings = [];
|
|
118
118
|
const renderStart = Date.now();
|
|
119
119
|
const { estimatedUsage, freeMemory, hasEnoughMemory } = (0, prestitcher_memory_usage_1.shouldUseParallelEncoding)({
|
|
120
|
-
height:
|
|
121
|
-
width:
|
|
120
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
121
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
122
122
|
logLevel,
|
|
123
123
|
});
|
|
124
124
|
const parallelEncoding = !disallowParallelEncoding &&
|
|
@@ -168,7 +168,7 @@ const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition, s
|
|
|
168
168
|
}
|
|
169
169
|
const imageFormat = (0, is_audio_codec_1.isAudioCodec)(codec)
|
|
170
170
|
? 'none'
|
|
171
|
-
: ((_b = provisionalImageFormat !== null && provisionalImageFormat !== void 0 ? provisionalImageFormat :
|
|
171
|
+
: ((_b = provisionalImageFormat !== null && provisionalImageFormat !== void 0 ? provisionalImageFormat : compositionWithPossibleUnevenDimensions.defaultVideoImageFormat) !== null && _b !== void 0 ? _b : image_format_1.DEFAULT_VIDEO_IMAGE_FORMAT);
|
|
172
172
|
(0, image_format_1.validateSelectedPixelFormatAndImageFormatCombination)(pixelFormat, imageFormat);
|
|
173
173
|
const workingDir = node_fs_1.default.mkdtempSync(node_path_1.default.join(node_os_1.default.tmpdir(), 'react-motion-render'));
|
|
174
174
|
const preEncodedFileLocation = parallelEncoding
|
|
@@ -177,15 +177,30 @@ const internalRenderMediaRaw = ({ proResProfile, x264Preset, crf, composition, s
|
|
|
177
177
|
if (onCtrlCExit && workingDir) {
|
|
178
178
|
onCtrlCExit(`Delete ${workingDir}`, () => (0, delete_directory_1.deleteDirectory)(workingDir));
|
|
179
179
|
}
|
|
180
|
+
const { actualWidth: widthEvenDimensions, actualHeight: heightEvenDimensions } = (0, validate_even_dimensions_with_codec_1.validateEvenDimensionsWithCodec)({
|
|
181
|
+
codec,
|
|
182
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
183
|
+
// Don't apply scale yet, only ensure even dimensions
|
|
184
|
+
scale: 1,
|
|
185
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
186
|
+
wantsImageSequence: false,
|
|
187
|
+
indent,
|
|
188
|
+
logLevel,
|
|
189
|
+
});
|
|
180
190
|
const { actualWidth, actualHeight } = (0, validate_even_dimensions_with_codec_1.validateEvenDimensionsWithCodec)({
|
|
181
191
|
codec,
|
|
182
|
-
height:
|
|
192
|
+
height: compositionWithPossibleUnevenDimensions.height,
|
|
183
193
|
scale,
|
|
184
|
-
width:
|
|
194
|
+
width: compositionWithPossibleUnevenDimensions.width,
|
|
185
195
|
wantsImageSequence: false,
|
|
186
196
|
indent,
|
|
187
197
|
logLevel,
|
|
188
198
|
});
|
|
199
|
+
const composition = {
|
|
200
|
+
...compositionWithPossibleUnevenDimensions,
|
|
201
|
+
height: heightEvenDimensions,
|
|
202
|
+
width: widthEvenDimensions,
|
|
203
|
+
};
|
|
189
204
|
const realFrameRange = (0, get_frame_to_render_1.getRealFrameRange)(composition.durationInFrames, frameRange);
|
|
190
205
|
const totalFramesToRender = (0, get_duration_from_frame_range_1.getFramesToRender)(realFrameRange, everyNthFrame).length;
|
|
191
206
|
logger_1.Log.verbose({ indent, logLevel, tag: 'renderMedia()' }, `Rendering frames ${realFrameRange.join('-')}`);
|
package/ensure-browser.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
18
18
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
19
19
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/.pnpm/ms@2.1.
|
|
21
|
+
// ../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js
|
|
22
22
|
var require_ms = __commonJS((exports, module) => {
|
|
23
23
|
var s = 1000;
|
|
24
24
|
var m = s * 60;
|
|
@@ -128,7 +128,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
// ../../node_modules/.pnpm/debug@4.4
|
|
131
|
+
// ../../node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/common.js
|
|
132
132
|
var require_common = __commonJS((exports, module) => {
|
|
133
133
|
function setup(env) {
|
|
134
134
|
createDebug.debug = createDebug;
|
|
@@ -230,64 +230,50 @@ var require_common = __commonJS((exports, module) => {
|
|
|
230
230
|
createDebug.namespaces = namespaces;
|
|
231
231
|
createDebug.names = [];
|
|
232
232
|
createDebug.skips = [];
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
233
|
+
let i;
|
|
234
|
+
const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
235
|
+
const len = split.length;
|
|
236
|
+
for (i = 0;i < len; i++) {
|
|
237
|
+
if (!split[i]) {
|
|
238
|
+
continue;
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
let searchIndex = 0;
|
|
244
|
-
let templateIndex = 0;
|
|
245
|
-
let starIndex = -1;
|
|
246
|
-
let matchIndex = 0;
|
|
247
|
-
while (searchIndex < search.length) {
|
|
248
|
-
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
249
|
-
if (template[templateIndex] === "*") {
|
|
250
|
-
starIndex = templateIndex;
|
|
251
|
-
matchIndex = searchIndex;
|
|
252
|
-
templateIndex++;
|
|
253
|
-
} else {
|
|
254
|
-
searchIndex++;
|
|
255
|
-
templateIndex++;
|
|
256
|
-
}
|
|
257
|
-
} else if (starIndex !== -1) {
|
|
258
|
-
templateIndex = starIndex + 1;
|
|
259
|
-
matchIndex++;
|
|
260
|
-
searchIndex = matchIndex;
|
|
240
|
+
namespaces = split[i].replace(/\*/g, ".*?");
|
|
241
|
+
if (namespaces[0] === "-") {
|
|
242
|
+
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
|
261
243
|
} else {
|
|
262
|
-
|
|
244
|
+
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
263
245
|
}
|
|
264
246
|
}
|
|
265
|
-
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
266
|
-
templateIndex++;
|
|
267
|
-
}
|
|
268
|
-
return templateIndex === template.length;
|
|
269
247
|
}
|
|
270
248
|
function disable() {
|
|
271
249
|
const namespaces = [
|
|
272
|
-
...createDebug.names,
|
|
273
|
-
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
250
|
+
...createDebug.names.map(toNamespace),
|
|
251
|
+
...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
|
|
274
252
|
].join(",");
|
|
275
253
|
createDebug.enable("");
|
|
276
254
|
return namespaces;
|
|
277
255
|
}
|
|
278
256
|
function enabled(name) {
|
|
279
|
-
|
|
280
|
-
|
|
257
|
+
if (name[name.length - 1] === "*") {
|
|
258
|
+
return true;
|
|
259
|
+
}
|
|
260
|
+
let i;
|
|
261
|
+
let len;
|
|
262
|
+
for (i = 0, len = createDebug.skips.length;i < len; i++) {
|
|
263
|
+
if (createDebug.skips[i].test(name)) {
|
|
281
264
|
return false;
|
|
282
265
|
}
|
|
283
266
|
}
|
|
284
|
-
for (
|
|
285
|
-
if (
|
|
267
|
+
for (i = 0, len = createDebug.names.length;i < len; i++) {
|
|
268
|
+
if (createDebug.names[i].test(name)) {
|
|
286
269
|
return true;
|
|
287
270
|
}
|
|
288
271
|
}
|
|
289
272
|
return false;
|
|
290
273
|
}
|
|
274
|
+
function toNamespace(regexp) {
|
|
275
|
+
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
276
|
+
}
|
|
291
277
|
function coerce(val) {
|
|
292
278
|
if (val instanceof Error) {
|
|
293
279
|
return val.stack || val.message;
|
|
@@ -303,7 +289,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
303
289
|
module.exports = setup;
|
|
304
290
|
});
|
|
305
291
|
|
|
306
|
-
// ../../node_modules/.pnpm/debug@4.4
|
|
292
|
+
// ../../node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/browser.js
|
|
307
293
|
var require_browser = __commonJS((exports, module) => {
|
|
308
294
|
exports.formatArgs = formatArgs;
|
|
309
295
|
exports.save = save;
|
|
@@ -404,8 +390,7 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
404
390
|
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
405
391
|
return false;
|
|
406
392
|
}
|
|
407
|
-
|
|
408
|
-
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
393
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
409
394
|
}
|
|
410
395
|
function formatArgs(args) {
|
|
411
396
|
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
|
|
@@ -572,7 +557,7 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
572
557
|
};
|
|
573
558
|
});
|
|
574
559
|
|
|
575
|
-
// ../../node_modules/.pnpm/debug@4.4
|
|
560
|
+
// ../../node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/node.js
|
|
576
561
|
var require_node = __commonJS((exports, module) => {
|
|
577
562
|
var tty = __require("tty");
|
|
578
563
|
var util = __require("util");
|
|
@@ -710,7 +695,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
710
695
|
return new Date().toISOString() + " ";
|
|
711
696
|
}
|
|
712
697
|
function log(...args) {
|
|
713
|
-
return process.stderr.write(util.
|
|
698
|
+
return process.stderr.write(util.format(...args) + `
|
|
714
699
|
`);
|
|
715
700
|
}
|
|
716
701
|
function save(namespaces) {
|
|
@@ -743,7 +728,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
743
728
|
};
|
|
744
729
|
});
|
|
745
730
|
|
|
746
|
-
// ../../node_modules/.pnpm/debug@4.4
|
|
731
|
+
// ../../node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js
|
|
747
732
|
var require_src = __commonJS((exports, module) => {
|
|
748
733
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
749
734
|
module.exports = require_browser();
|
|
@@ -3086,17 +3071,14 @@ var getDownloadsCacheDir = () => {
|
|
|
3086
3071
|
};
|
|
3087
3072
|
|
|
3088
3073
|
// src/browser/BrowserFetcher.ts
|
|
3089
|
-
var TESTED_VERSION = "
|
|
3090
|
-
var PLAYWRIGHT_VERSION = "
|
|
3074
|
+
var TESTED_VERSION = "133.0.6943.0";
|
|
3075
|
+
var PLAYWRIGHT_VERSION = "1155";
|
|
3091
3076
|
function getChromeDownloadUrl({
|
|
3092
3077
|
platform: platform2,
|
|
3093
3078
|
version,
|
|
3094
3079
|
chromeMode
|
|
3095
3080
|
}) {
|
|
3096
3081
|
if (platform2 === "linux-arm64") {
|
|
3097
|
-
if (chromeMode === "chrome-for-testing") {
|
|
3098
|
-
return `https://playwright.azureedge.net/builds/chromium/${version ?? PLAYWRIGHT_VERSION}/chromium-linux-arm64.zip`;
|
|
3099
|
-
}
|
|
3100
3082
|
return `https://playwright.azureedge.net/builds/chromium/${version ?? PLAYWRIGHT_VERSION}/chromium-headless-shell-linux-arm64.zip`;
|
|
3101
3083
|
}
|
|
3102
3084
|
if (chromeMode === "headless-shell") {
|
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.341",
|
|
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.341",
|
|
22
|
+
"@remotion/streaming": "4.0.341"
|
|
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/example-videos": "4.0.
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
36
|
+
"@remotion/example-videos": "4.0.341",
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.341"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
41
|
-
"@remotion/compositor-
|
|
42
|
-
"@remotion/compositor-linux-
|
|
43
|
-
"@remotion/compositor-linux-
|
|
44
|
-
"@remotion/compositor-
|
|
45
|
-
"@remotion/compositor-
|
|
46
|
-
"@remotion/compositor-
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.341",
|
|
41
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.341",
|
|
42
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.341",
|
|
43
|
+
"@remotion/compositor-linux-x64-musl": "4.0.341",
|
|
44
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.341",
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.341",
|
|
46
|
+
"@remotion/compositor-darwin-x64": "4.0.341"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|