@remotion/media 4.0.520 → 4.0.522
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/esm/index.mjs +6 -0
- package/package.json +5 -5
package/dist/esm/index.mjs
CHANGED
|
@@ -4076,6 +4076,10 @@ var makeKeyframeBank = async ({
|
|
|
4076
4076
|
};
|
|
4077
4077
|
const ensureEnoughFramesForTimestamp = async (timestampInSeconds, logLevel, fps) => {
|
|
4078
4078
|
while (!hasDecodedEnoughForTimestamp(timestampInSeconds)) {
|
|
4079
|
+
deleteFramesBeforeTimestamp({
|
|
4080
|
+
logLevel: parentLogLevel,
|
|
4081
|
+
timestampInSeconds: timestampInSeconds - getSafeWindowOfMonotonicity(fps)
|
|
4082
|
+
});
|
|
4079
4083
|
const sample = await sampleIterator.next();
|
|
4080
4084
|
if (sample.value) {
|
|
4081
4085
|
addFrame(sample.value, logLevel);
|
|
@@ -5695,6 +5699,7 @@ var { validateMediaProps } = Internals19;
|
|
|
5695
5699
|
var audioSchema = {
|
|
5696
5700
|
src: {
|
|
5697
5701
|
type: "asset",
|
|
5702
|
+
assetType: "audio",
|
|
5698
5703
|
default: undefined,
|
|
5699
5704
|
description: "Source",
|
|
5700
5705
|
keyframable: false
|
|
@@ -6736,6 +6741,7 @@ var {
|
|
|
6736
6741
|
var videoSchema = {
|
|
6737
6742
|
src: {
|
|
6738
6743
|
type: "asset",
|
|
6744
|
+
assetType: "video",
|
|
6739
6745
|
default: undefined,
|
|
6740
6746
|
description: "Source",
|
|
6741
6747
|
keyframable: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/media",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.522",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"mediabunny": "1.55.5",
|
|
26
|
-
"remotion": "4.0.
|
|
27
|
-
"zod": "4.4
|
|
26
|
+
"remotion": "4.0.522",
|
|
27
|
+
"zod": "4.5.4"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": ">=16.8.0",
|
|
31
31
|
"react-dom": ">=16.8.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
35
|
-
"@remotion/player": "4.0.
|
|
34
|
+
"@remotion/eslint-config-internal": "4.0.522",
|
|
35
|
+
"@remotion/player": "4.0.522",
|
|
36
36
|
"@vitest/browser-webdriverio": "4.0.9",
|
|
37
37
|
"eslint": "9.19.0",
|
|
38
38
|
"react": "19.2.3",
|