@remotion/media-parser 4.0.423 → 4.0.424
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/containers/iso-base-media/collect-sample-positions-from-moof-boxes.d.ts +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/state/iso-base-media/iso-state.d.ts +2 -2
- package/dist/state/parser-state.d.ts +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -6
|
@@ -9,7 +9,7 @@ export declare const collectSamplePositionsFromMoofBoxes: ({ moofBoxes, tkhdBox,
|
|
|
9
9
|
}) => {
|
|
10
10
|
samplePositions: {
|
|
11
11
|
isLastFragment: boolean;
|
|
12
|
-
samples: import("
|
|
12
|
+
samples: import("../..").SamplePosition[];
|
|
13
13
|
}[];
|
|
14
14
|
isComplete: boolean;
|
|
15
15
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -18208,7 +18208,7 @@ var downloadAndParseMedia = async (options) => {
|
|
|
18208
18208
|
return returnValue;
|
|
18209
18209
|
};
|
|
18210
18210
|
// src/version.ts
|
|
18211
|
-
var VERSION = "4.0.
|
|
18211
|
+
var VERSION = "4.0.424";
|
|
18212
18212
|
|
|
18213
18213
|
// src/index.ts
|
|
18214
18214
|
var MediaParserInternals = {
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type { MediaParserKeyframe, ParseMediaSrc } from './options';
|
|
|
13
13
|
export type { MediaParserEmbeddedImage } from './state/images';
|
|
14
14
|
export { downloadAndParseMedia } from './download-and-parse-media';
|
|
15
15
|
export type { Options, ParseMediaFields } from './fields';
|
|
16
|
-
export type { MediaParserContainer, ParseMediaOnProgress, ParseMediaOptions, ParseMediaProgress, ParseMediaResult, } from './options';
|
|
16
|
+
export type { M3uPlaylistContext, MediaParserContainer, ParseMediaCallbacksMandatory, ParseMediaMandatoryOptions, ParseMediaOnProgress, ParseMediaOnWorkerOptions, ParseMediaOptions, ParseMediaProgress, ParseMediaResult, SerializeableOptionalParseMediaParams, } from './options';
|
|
17
17
|
export type { MediaParserAudioSample, MediaParserOnAudioSample, MediaParserOnAudioTrack, MediaParserOnAudioTrackParams, MediaParserOnVideoSample, MediaParserOnVideoTrack, MediaParserOnVideoTrackParams, MediaParserVideoSample, } from './webcodec-sample-types';
|
|
18
18
|
export type { MediaParserCodecData } from './codec-data';
|
|
19
19
|
export type { MediaParserDimensions } from './get-dimensions';
|
|
@@ -23,6 +23,9 @@ export type { MediaParserLocation } from './get-location';
|
|
|
23
23
|
*/
|
|
24
24
|
export type { MediaParserReaderInterface } from './readers/reader';
|
|
25
25
|
import type { CreateContent, Writer, WriterInterface } from './writers/writer';
|
|
26
|
+
export type { AllOptions } from './fields';
|
|
27
|
+
export type { SeekingHints } from './seeking-hints';
|
|
28
|
+
export type { CreateContent, Ebml, FloatWithSize, MatroskaElement, PossibleEbml, SamplePosition, UintWithSize, Writer, WriterInterface, };
|
|
26
29
|
/**
|
|
27
30
|
* @deprecated Dont use these yet.
|
|
28
31
|
*/
|
|
@@ -14,11 +14,11 @@ export declare const isoBaseMediaState: ({ contentLength, controller, readerInte
|
|
|
14
14
|
flatSamples: {
|
|
15
15
|
getSamples: (mdatStart: number) => {
|
|
16
16
|
trackId: number;
|
|
17
|
-
samplePositions: import("
|
|
17
|
+
samplePositions: import("../..").SamplePosition[];
|
|
18
18
|
}[] | null;
|
|
19
19
|
setSamples: (mdatStart: number, samples: {
|
|
20
20
|
trackId: number;
|
|
21
|
-
samplePositions: import("
|
|
21
|
+
samplePositions: import("../..").SamplePosition[];
|
|
22
22
|
}[]) => void;
|
|
23
23
|
setCurrentSampleIndex: (mdatStart: number, trackId: number, index: number) => void;
|
|
24
24
|
getCurrentSampleIndices: (mdatStart: number) => Record<number, number>;
|
|
@@ -166,11 +166,11 @@ export declare const makeParserState: ({ hasAudioTrackHandlers, hasVideoTrackHan
|
|
|
166
166
|
flatSamples: {
|
|
167
167
|
getSamples: (mdatStart: number) => {
|
|
168
168
|
trackId: number;
|
|
169
|
-
samplePositions: import("
|
|
169
|
+
samplePositions: import("..").SamplePosition[];
|
|
170
170
|
}[] | null;
|
|
171
171
|
setSamples: (mdatStart: number, samples: {
|
|
172
172
|
trackId: number;
|
|
173
|
-
samplePositions: import("
|
|
173
|
+
samplePositions: import("..").SamplePosition[];
|
|
174
174
|
}[]) => void;
|
|
175
175
|
setCurrentSampleIndex: (mdatStart: number, trackId: number, index: number) => void;
|
|
176
176
|
getCurrentSampleIndices: (mdatStart: number) => Record<number, number>;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.0.
|
|
1
|
+
export declare const VERSION = "4.0.424";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -3,23 +3,24 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/media-parser"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/media-parser",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.424",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
10
|
"formatting": "prettier --experimental-cli src --check",
|
|
11
11
|
"lint": "eslint src",
|
|
12
12
|
"testwebcodecs": "bun test src/test --timeout=30000",
|
|
13
|
-
"make": "
|
|
13
|
+
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",
|
|
14
14
|
"prepublishOnly": "bun ensure-correct-version.ts"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@remotion/example-videos": "4.0.
|
|
17
|
+
"@remotion/example-videos": "4.0.424",
|
|
18
18
|
"@types/wicg-file-system-access": "2023.10.5",
|
|
19
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
19
|
+
"@remotion/eslint-config-internal": "4.0.424",
|
|
20
20
|
"eslint": "9.19.0",
|
|
21
|
-
"mediabunny": "1.34.
|
|
22
|
-
"@types/bun": "1.3.3"
|
|
21
|
+
"mediabunny": "1.34.4",
|
|
22
|
+
"@types/bun": "1.3.3",
|
|
23
|
+
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
23
24
|
},
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|