@remotion/media-utils 4.0.436 → 4.0.438
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description Gets the duration in seconds of an audio source by creating an invisible `<audio>` tag, loading the audio, and returning the duration.
|
|
3
3
|
* @see [Documentation](https://remotion.dev/docs/get-audio-duration-in-seconds)
|
|
4
|
-
* @deprecated Use
|
|
4
|
+
* @deprecated Use Mediabunny instead: https://www.remotion.dev/docs/mediabunny/metadata
|
|
5
5
|
*/
|
|
6
6
|
export declare const getAudioDurationInSeconds: (src: string) => Promise<number>;
|
|
7
7
|
/**
|
|
@@ -42,7 +42,7 @@ const fn = (src) => {
|
|
|
42
42
|
/**
|
|
43
43
|
* @description Gets the duration in seconds of an audio source by creating an invisible `<audio>` tag, loading the audio, and returning the duration.
|
|
44
44
|
* @see [Documentation](https://remotion.dev/docs/get-audio-duration-in-seconds)
|
|
45
|
-
* @deprecated Use
|
|
45
|
+
* @deprecated Use Mediabunny instead: https://www.remotion.dev/docs/mediabunny/metadata
|
|
46
46
|
*/
|
|
47
47
|
const getAudioDurationInSeconds = (src) => {
|
|
48
48
|
return limit(fn, src);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/media-utils"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/media-utils",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.438",
|
|
7
7
|
"description": "Utilities for working with media files",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -19,17 +19,15 @@
|
|
|
19
19
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"remotion": "4.0.436",
|
|
25
|
-
"mediabunny": "1.37.0"
|
|
22
|
+
"remotion": "4.0.438",
|
|
23
|
+
"mediabunny": "1.39.2"
|
|
26
24
|
},
|
|
27
25
|
"peerDependencies": {
|
|
28
26
|
"react": ">=16.8.0",
|
|
29
27
|
"react-dom": ">=16.8.0"
|
|
30
28
|
},
|
|
31
29
|
"devDependencies": {
|
|
32
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.438",
|
|
33
31
|
"eslint": "9.19.0",
|
|
34
32
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
35
33
|
},
|