@remotion/renderer 4.0.452 → 4.0.454
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/types.js +1 -1
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/pure.mjs +2 -2
- package/dist/get-duration-from-frame-range.js +2 -2
- package/package.json +13 -13
- package/dist/sample-rate.d.ts +0 -1
- package/dist/sample-rate.js +0 -4
package/dist/assets/types.js
CHANGED
|
@@ -7,7 +7,7 @@ const uncompressMediaAsset = (allRenderAssets, assetToUncompress) => {
|
|
|
7
7
|
return assetToUncompress;
|
|
8
8
|
}
|
|
9
9
|
const [, id, frame] = isCompressed;
|
|
10
|
-
const assetToFill = allRenderAssets.find((a) => a.id === id && String(a.frame) === frame);
|
|
10
|
+
const assetToFill = allRenderAssets.find((a) => a.id === id && String(a.frame) === frame && !a.src.startsWith('same-as'));
|
|
11
11
|
if (!assetToFill) {
|
|
12
12
|
console.log('List of assets:');
|
|
13
13
|
console.log(allRenderAssets);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -17244,8 +17244,8 @@ var getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
17244
17244
|
}
|
|
17245
17245
|
return new Array(frameRange[1] - frameRange[0] + 1).fill(true).map((_, index) => {
|
|
17246
17246
|
return index + frameRange[0];
|
|
17247
|
-
}).filter((
|
|
17248
|
-
return
|
|
17247
|
+
}).filter((frame) => {
|
|
17248
|
+
return (frame - frameRange[0]) % everyNthFrame === 0;
|
|
17249
17249
|
});
|
|
17250
17250
|
};
|
|
17251
17251
|
|
|
@@ -20324,7 +20324,7 @@ var uncompressMediaAsset = (allRenderAssets, assetToUncompress) => {
|
|
|
20324
20324
|
return assetToUncompress;
|
|
20325
20325
|
}
|
|
20326
20326
|
const [, id, frame] = isCompressed;
|
|
20327
|
-
const assetToFill = allRenderAssets.find((a) => a.id === id && String(a.frame) === frame);
|
|
20327
|
+
const assetToFill = allRenderAssets.find((a) => a.id === id && String(a.frame) === frame && !a.src.startsWith("same-as"));
|
|
20328
20328
|
if (!assetToFill) {
|
|
20329
20329
|
console.log("List of assets:");
|
|
20330
20330
|
console.log(allRenderAssets);
|
package/dist/esm/pure.mjs
CHANGED
|
@@ -65,8 +65,8 @@ var getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
65
65
|
}
|
|
66
66
|
return new Array(frameRange[1] - frameRange[0] + 1).fill(true).map((_, index) => {
|
|
67
67
|
return index + frameRange[0];
|
|
68
|
-
}).filter((
|
|
69
|
-
return
|
|
68
|
+
}).filter((frame) => {
|
|
69
|
+
return (frame - frameRange[0]) % everyNthFrame === 0;
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
|
|
@@ -10,8 +10,8 @@ const getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
10
10
|
.map((_, index) => {
|
|
11
11
|
return index + frameRange[0];
|
|
12
12
|
})
|
|
13
|
-
.filter((
|
|
14
|
-
return
|
|
13
|
+
.filter((frame) => {
|
|
14
|
+
return (frame - frameRange[0]) % everyNthFrame === 0;
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
exports.getFramesToRender = getFramesToRender;
|
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.454",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"execa": "5.1.1",
|
|
26
26
|
"extract-zip": "2.0.1",
|
|
27
|
-
"remotion": "4.0.
|
|
28
|
-
"@remotion/streaming": "4.0.
|
|
27
|
+
"remotion": "4.0.454",
|
|
28
|
+
"@remotion/streaming": "4.0.454",
|
|
29
29
|
"source-map": "^0.8.0-beta.0",
|
|
30
30
|
"ws": "8.17.1",
|
|
31
|
-
"@remotion/licensing": "4.0.
|
|
31
|
+
"@remotion/licensing": "4.0.454"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=16.8.0",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"react-dom": "19.2.3",
|
|
43
43
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
44
44
|
"@types/ws": "8.5.10",
|
|
45
|
-
"@remotion/example-videos": "4.0.
|
|
46
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/example-videos": "4.0.454",
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.454",
|
|
47
47
|
"eslint": "9.19.0",
|
|
48
48
|
"@types/node": "20.12.14"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
52
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
53
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
54
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.
|
|
55
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
56
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
57
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
51
|
+
"@remotion/compositor-darwin-arm64": "4.0.454",
|
|
52
|
+
"@remotion/compositor-darwin-x64": "4.0.454",
|
|
53
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.454",
|
|
54
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.454",
|
|
55
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.454",
|
|
56
|
+
"@remotion/compositor-linux-x64-musl": "4.0.454",
|
|
57
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.454"
|
|
58
58
|
},
|
|
59
59
|
"keywords": [
|
|
60
60
|
"remotion",
|
package/dist/sample-rate.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_SAMPLE_RATE = 48000;
|
package/dist/sample-rate.js
DELETED