@remotion/media-utils 4.0.499 → 4.0.501

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.
@@ -299,7 +299,7 @@ var onMediaError = ({
299
299
  `Failed to execute ${api}: Received a 404 error loading "${src}".`,
300
300
  "Correct the URL of the file."
301
301
  ].join(" ")) : new Error([
302
- `Failed to execute ${api}, Received a MediaError loading "${src}". Consider using parseMedia() instead which supports more codecs: https://www.remotion.dev/docs/miscellaneous/parse-media-vs-get-video-metadata`,
302
+ `Failed to execute ${api}, Received a MediaError loading "${src}". Consider using Mediabunny instead, which supports more codecs: https://www.remotion.dev/docs/mediabunny/metadata`,
303
303
  status === null ? null : `HTTP Status code of the file: ${status}.`,
304
304
  error.message ? `Browser error message: ${error.message}` : null,
305
305
  "Check the path of the file and if it is a valid video."
@@ -2,6 +2,6 @@ import type { VideoMetadata } from './types';
2
2
  /**
3
3
  * @description Takes a src to a video, loads it and returns metadata for the specified source.
4
4
  * @see [Documentation](https://remotion.dev/docs/get-video-metadata)
5
- * @deprecated Use `parseMedia()` instead: https://www.remotion.dev/docs/miscellaneous/parse-media-vs-get-video-metadata
5
+ * @deprecated Use Mediabunny instead: https://www.remotion.dev/docs/mediabunny/metadata
6
6
  */
7
7
  export declare const getVideoMetadata: (src: string) => Promise<VideoMetadata>;
@@ -59,7 +59,7 @@ const fn = (src) => {
59
59
  /**
60
60
  * @description Takes a src to a video, loads it and returns metadata for the specified source.
61
61
  * @see [Documentation](https://remotion.dev/docs/get-video-metadata)
62
- * @deprecated Use `parseMedia()` instead: https://www.remotion.dev/docs/miscellaneous/parse-media-vs-get-video-metadata
62
+ * @deprecated Use Mediabunny instead: https://www.remotion.dev/docs/mediabunny/metadata
63
63
  */
64
64
  const getVideoMetadata = (src) => {
65
65
  return limit(fn, src);
@@ -52,7 +52,7 @@ const onMediaError = ({ error, src, reject, cleanup, api, }) => {
52
52
  'Correct the URL of the file.',
53
53
  ].join(' '))
54
54
  : new Error([
55
- `Failed to execute ${api}, Received a MediaError loading "${src}". Consider using parseMedia() instead which supports more codecs: https://www.remotion.dev/docs/miscellaneous/parse-media-vs-get-video-metadata`,
55
+ `Failed to execute ${api}, Received a MediaError loading "${src}". Consider using Mediabunny instead, which supports more codecs: https://www.remotion.dev/docs/mediabunny/metadata`,
56
56
  status === null
57
57
  ? null
58
58
  : `HTTP Status code of the file: ${status}.`,
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.499",
6
+ "version": "4.0.501",
7
7
  "description": "Utilities for working with media files",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "url": "https://github.com/remotion-dev/remotion/issues"
21
21
  },
22
22
  "dependencies": {
23
- "remotion": "4.0.499",
23
+ "remotion": "4.0.501",
24
24
  "mediabunny": "1.50.8"
25
25
  },
26
26
  "peerDependencies": {
@@ -28,7 +28,7 @@
28
28
  "react-dom": ">=16.8.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@remotion/eslint-config-internal": "4.0.499",
31
+ "@remotion/eslint-config-internal": "4.0.501",
32
32
  "eslint": "9.19.0",
33
33
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
34
34
  },