@remotion/webcodecs 4.0.302 → 4.0.303
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/convert-media.js +3 -3
- package/dist/create/matroska/matroska-utils.d.ts +1 -1
- package/dist/create/media-fn.d.ts +2 -0
- package/dist/create-media.d.ts +2 -0
- package/dist/create-media.js +19 -0
- package/dist/esm/index.mjs +3072 -3072
- package/dist/select-container-creator.d.ts +1 -1
- package/dist/select-container-creator.js +3 -3
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ConvertMediaContainer } from './get-available-containers';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const createMedia: (container: ConvertMediaContainer) => ({ writer, onBytesProgress, onMillisecondsProgress, logLevel, filename, progressTracker, expectedDurationInSeconds, expectedFrameRate, }: import("./create/media-fn").MediaFnGeneratorInput) => Promise<import("./create/media-fn").MediaFn>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createMedia = void 0;
|
|
4
4
|
const create_iso_base_media_1 = require("./create/iso-base-media/create-iso-base-media");
|
|
5
5
|
const create_matroska_media_1 = require("./create/matroska/create-matroska-media");
|
|
6
6
|
const create_wav_1 = require("./create/wav/create-wav");
|
|
7
|
-
const
|
|
7
|
+
const createMedia = (container) => {
|
|
8
8
|
if (container === 'mp4') {
|
|
9
9
|
return create_iso_base_media_1.createIsoBaseMedia;
|
|
10
10
|
}
|
|
@@ -16,4 +16,4 @@ const selectContainerCreator = (container) => {
|
|
|
16
16
|
}
|
|
17
17
|
throw new Error(`Unsupported container: ${container}`);
|
|
18
18
|
};
|
|
19
|
-
exports.
|
|
19
|
+
exports.createMedia = createMedia;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/webcodecs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.303",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
20
20
|
"license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@remotion/
|
|
23
|
-
"@remotion/
|
|
22
|
+
"@remotion/media-parser": "4.0.303",
|
|
23
|
+
"@remotion/licensing": "4.0.303"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"playwright": "1.51.1",
|
|
29
29
|
"@playwright/test": "1.51.1",
|
|
30
30
|
"eslint": "9.19.0",
|
|
31
|
-
"@remotion/
|
|
32
|
-
"@remotion/
|
|
31
|
+
"@remotion/eslint-config-internal": "4.0.303",
|
|
32
|
+
"@remotion/example-videos": "4.0.303"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [],
|
|
35
35
|
"publishConfig": {
|