@meframe/core 0.6.12 → 0.6.13
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/mp4box@0.5.4/node_modules/mp4box/dist/mp4box.all.js +36 -12
- package/dist/node_modules/.pnpm/mp4box@0.5.4/node_modules/mp4box/dist/mp4box.all.js.map +1 -1
- package/dist/orchestrator/AudioWindowPreparer.d.ts +4 -3
- package/dist/orchestrator/AudioWindowPreparer.d.ts.map +1 -1
- package/dist/orchestrator/AudioWindowPreparer.js +35 -8
- package/dist/orchestrator/AudioWindowPreparer.js.map +1 -1
- package/dist/orchestrator/aac-window-timeline.d.ts +6 -1
- package/dist/orchestrator/aac-window-timeline.d.ts.map +1 -1
- package/dist/orchestrator/aac-window-timeline.js +9 -7
- package/dist/orchestrator/aac-window-timeline.js.map +1 -1
- package/dist/stages/decode/AudioChunkDecoder.d.ts.map +1 -1
- package/dist/stages/decode/AudioChunkDecoder.js +2 -1
- package/dist/stages/decode/AudioChunkDecoder.js.map +1 -1
- package/dist/stages/demux/MP4Demuxer.d.ts +1 -0
- package/dist/stages/demux/MP4Demuxer.d.ts.map +1 -1
- package/dist/stages/demux/MP4Demuxer.js +4 -1
- package/dist/stages/demux/MP4Demuxer.js.map +1 -1
- package/dist/stages/demux/MP4IndexParser.d.ts.map +1 -1
- package/dist/stages/demux/MP4IndexParser.js +11 -3
- package/dist/stages/demux/MP4IndexParser.js.map +1 -1
- package/dist/utils/mp4box.js +2 -2
- package/dist/utils/mp4box.js.map +1 -1
- package/dist/workers/stages/export/{export.worker.BepPfuIx.js → export.worker.C8jKSbVj.js} +1 -1
- package/dist/workers/stages/export/{export.worker.BepPfuIx.js.map → export.worker.C8jKSbVj.js.map} +1 -1
- package/dist/workers/worker-manifest.json +1 -1
- package/package.json +22 -23
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.13] - 2026-11-02
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Preserve the original AAC codec string and the exact AudioSpecificConfig bytes from the indexed MP4 path, and pass the configuration to decoder support checks. HE-AAC and HE-AAC v2 MP4 audio previously decoded as silence or failed once the configuration was dropped (Medeo issue 5028).
|
|
15
|
+
- Limit the MP4 audio description to AAC tracks. Opus decodes without a description, and the raw dOps payload is not an OpusHead.
|
|
16
|
+
- Warm ordinary AAC cold seeks with two preroll packets and keep their attenuated PCM out of the audio cache, so seek points no longer carry a volume dip.
|
|
17
|
+
|
|
10
18
|
## [0.6.12] - 2026-10-15
|
|
11
19
|
|
|
12
20
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export { ResourceNotCachedError, ResourceCorruptedError, ResourceSupersededError
|
|
|
16
16
|
export type { EnsureResourceCachedContext, EnsureResourceCachedHandler, ResourceCacheAdapters, ResourceNetworkPolicy, VideoParseStreamHandler, } from './stages/load/types';
|
|
17
17
|
export { BrowserCompatibilityError } from './utils/errors';
|
|
18
18
|
export type { MeframeOpfsGateway } from './cache/storage/opfs/gateway';
|
|
19
|
-
export declare const VERSION = "0.6.
|
|
19
|
+
export declare const VERSION = "0.6.13";
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { CompositionModel } from "./model/CompositionModel.js";
|
|
|
4
4
|
import { computeCaptionLayout } from "./stages/compose/text-utils/caption-layout.js";
|
|
5
5
|
import { checkCanvasDPI, createHiDPICanvas, setupCanvasDPI } from "./utils/canvas-utils.js";
|
|
6
6
|
import { BrowserCompatibilityError, ResourceCorruptedError, ResourceNotCachedError, ResourceSupersededError } from "./utils/errors.js";
|
|
7
|
-
const VERSION = "0.6.
|
|
7
|
+
const VERSION = "0.6.13";
|
|
8
8
|
export {
|
|
9
9
|
BrowserCompatibilityError,
|
|
10
10
|
CompositionModel,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * @meframe/core - Next generation media processing framework\n * Based on WebCodecs API for high-performance video/audio processing\n */\n\n// Core exports\nexport { Meframe } from './Meframe';\nexport type { MeframeConfig, MeframeState } from './types';\nexport { MeframeEvent } from './event/events';\n\n// Model exports\nexport { CompositionModel } from './model/CompositionModel';\nexport type {\n CompositionModelData,\n CompositionPatch,\n DirtyRange,\n TimeUs,\n Track,\n Clip,\n VideoClip,\n AudioClip,\n CaptionClip,\n Resource,\n Effect,\n Transition,\n Attachment,\n AnimationEffect,\n AnimationKeyframe,\n Transform2D,\n} from './model/types';\n\n// Cache exports\nexport type { CacheConfig, CacheStats } from './cache/types';\n\n// Plugin exports\nexport type { Plugin, PluginHook } from './plugins/types';\n\n// Caption layout exports\nexport { computeCaptionLayout } from './stages/compose/text-utils/caption-layout';\nexport type {\n CaptionLayoutInput,\n CaptionLayout,\n CaptionLine,\n CaptionWord,\n CaptionStyle,\n CaptionContainer,\n} from './stages/compose/text-utils/caption-layout';\n\n// Utility exports\nexport { setupCanvasDPI, createHiDPICanvas, checkCanvasDPI } from './utils/canvas-utils';\nexport {\n ResourceNotCachedError,\n ResourceCorruptedError,\n ResourceSupersededError,\n} from './utils/errors';\nexport type {\n EnsureResourceCachedContext,\n EnsureResourceCachedHandler,\n ResourceCacheAdapters,\n ResourceNetworkPolicy,\n VideoParseStreamHandler,\n} from './stages/load/types';\n\nexport { BrowserCompatibilityError } from './utils/errors';\nexport type { MeframeOpfsGateway } from './cache/storage/opfs/gateway';\n\n// Re-export version\nexport const VERSION = '0.6.
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * @meframe/core - Next generation media processing framework\n * Based on WebCodecs API for high-performance video/audio processing\n */\n\n// Core exports\nexport { Meframe } from './Meframe';\nexport type { MeframeConfig, MeframeState } from './types';\nexport { MeframeEvent } from './event/events';\n\n// Model exports\nexport { CompositionModel } from './model/CompositionModel';\nexport type {\n CompositionModelData,\n CompositionPatch,\n DirtyRange,\n TimeUs,\n Track,\n Clip,\n VideoClip,\n AudioClip,\n CaptionClip,\n Resource,\n Effect,\n Transition,\n Attachment,\n AnimationEffect,\n AnimationKeyframe,\n Transform2D,\n} from './model/types';\n\n// Cache exports\nexport type { CacheConfig, CacheStats } from './cache/types';\n\n// Plugin exports\nexport type { Plugin, PluginHook } from './plugins/types';\n\n// Caption layout exports\nexport { computeCaptionLayout } from './stages/compose/text-utils/caption-layout';\nexport type {\n CaptionLayoutInput,\n CaptionLayout,\n CaptionLine,\n CaptionWord,\n CaptionStyle,\n CaptionContainer,\n} from './stages/compose/text-utils/caption-layout';\n\n// Utility exports\nexport { setupCanvasDPI, createHiDPICanvas, checkCanvasDPI } from './utils/canvas-utils';\nexport {\n ResourceNotCachedError,\n ResourceCorruptedError,\n ResourceSupersededError,\n} from './utils/errors';\nexport type {\n EnsureResourceCachedContext,\n EnsureResourceCachedHandler,\n ResourceCacheAdapters,\n ResourceNetworkPolicy,\n VideoParseStreamHandler,\n} from './stages/load/types';\n\nexport { BrowserCompatibilityError } from './utils/errors';\nexport type { MeframeOpfsGateway } from './cache/storage/opfs/gateway';\n\n// Re-export version\nexport const VERSION = '0.6.13';\n"],"names":[],"mappings":";;;;;;AAmEO,MAAM,UAAU;"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../../../../../_virtual/_commonjsHelpers.js";
|
|
2
2
|
import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all.js";
|
|
3
|
-
|
|
3
|
+
function _mergeNamespaces(n, m) {
|
|
4
|
+
for (var i2 = 0; i2 < m.length; i2++) {
|
|
5
|
+
const e = m[i2];
|
|
6
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default" && !(k in n)) {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
if (d) {
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
+
}
|
|
22
|
+
(function(exports) {
|
|
4
23
|
var Log = /* @__PURE__ */ function() {
|
|
5
24
|
var start = /* @__PURE__ */ new Date();
|
|
6
25
|
var LOG_LEVEL_ERROR = 4;
|
|
@@ -87,7 +106,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
87
106
|
}
|
|
88
107
|
};
|
|
89
108
|
{
|
|
90
|
-
exports
|
|
109
|
+
exports.Log = Log;
|
|
91
110
|
}
|
|
92
111
|
var MP4BoxStream = function(arrayBuffer) {
|
|
93
112
|
if (arrayBuffer instanceof ArrayBuffer) {
|
|
@@ -252,7 +271,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
252
271
|
return arr;
|
|
253
272
|
};
|
|
254
273
|
{
|
|
255
|
-
exports
|
|
274
|
+
exports.MP4BoxStream = MP4BoxStream;
|
|
256
275
|
}
|
|
257
276
|
var DataStream = function(arrayBuffer, byteOffset, endianness) {
|
|
258
277
|
this._byteOffset = byteOffset || 0;
|
|
@@ -601,7 +620,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
601
620
|
return (this.readUint8() << 16) + (this.readUint8() << 8) + this.readUint8();
|
|
602
621
|
};
|
|
603
622
|
{
|
|
604
|
-
exports
|
|
623
|
+
exports.DataStream = DataStream;
|
|
605
624
|
}
|
|
606
625
|
DataStream.prototype.save = function(filename) {
|
|
607
626
|
var blob = new Blob([this.buffer]);
|
|
@@ -1316,7 +1335,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
1316
1335
|
return this.buffers[this.bufferIndex].fileStart + this.byteLength;
|
|
1317
1336
|
};
|
|
1318
1337
|
{
|
|
1319
|
-
exports
|
|
1338
|
+
exports.MultiBufferStream = MultiBufferStream;
|
|
1320
1339
|
}
|
|
1321
1340
|
var MPEG4DescriptorParser = function() {
|
|
1322
1341
|
var ES_DescrTag = 3;
|
|
@@ -1454,7 +1473,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
1454
1473
|
return this;
|
|
1455
1474
|
};
|
|
1456
1475
|
{
|
|
1457
|
-
exports
|
|
1476
|
+
exports.MPEG4DescriptorParser = MPEG4DescriptorParser;
|
|
1458
1477
|
}
|
|
1459
1478
|
var BoxParser = {
|
|
1460
1479
|
ERR_INVALID_DATA: -1,
|
|
@@ -1701,7 +1720,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
1701
1720
|
return this;
|
|
1702
1721
|
};
|
|
1703
1722
|
{
|
|
1704
|
-
exports
|
|
1723
|
+
exports.BoxParser = BoxParser;
|
|
1705
1724
|
}
|
|
1706
1725
|
BoxParser.parseUUID = function(stream) {
|
|
1707
1726
|
return BoxParser.parseHex16(stream);
|
|
@@ -5287,9 +5306,9 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
5287
5306
|
return textString;
|
|
5288
5307
|
};
|
|
5289
5308
|
{
|
|
5290
|
-
exports
|
|
5291
|
-
exports
|
|
5292
|
-
exports
|
|
5309
|
+
exports.VTTin4Parser = VTTin4Parser;
|
|
5310
|
+
exports.XMLSubtitlein4Parser = XMLSubtitlein4Parser;
|
|
5311
|
+
exports.Textin4Parser = Textin4Parser;
|
|
5293
5312
|
}
|
|
5294
5313
|
var ISOFile = function(stream) {
|
|
5295
5314
|
this.stream = stream || new MultiBufferStream();
|
|
@@ -5852,7 +5871,7 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
5852
5871
|
return true;
|
|
5853
5872
|
};
|
|
5854
5873
|
{
|
|
5855
|
-
exports
|
|
5874
|
+
exports.ISOFile = ISOFile;
|
|
5856
5875
|
}
|
|
5857
5876
|
ISOFile.prototype.lastBoxStartPosition = 0;
|
|
5858
5877
|
ISOFile.prototype.parsingMdat = null;
|
|
@@ -7041,11 +7060,16 @@ import { __exports as mp4box_all$1 } from "../../../../../../_virtual/mp4box.all
|
|
|
7041
7060
|
return file;
|
|
7042
7061
|
};
|
|
7043
7062
|
{
|
|
7044
|
-
exports
|
|
7063
|
+
exports.createFile = MP4Box.createFile;
|
|
7045
7064
|
}
|
|
7046
7065
|
})(mp4box_all$1);
|
|
7047
7066
|
const mp4box_all = /* @__PURE__ */ getDefaultExportFromCjs(mp4box_all$1);
|
|
7067
|
+
const MP4BoxLib = /* @__PURE__ */ _mergeNamespaces({
|
|
7068
|
+
__proto__: null,
|
|
7069
|
+
default: mp4box_all
|
|
7070
|
+
}, [mp4box_all$1]);
|
|
7048
7071
|
export {
|
|
7072
|
+
MP4BoxLib as M,
|
|
7049
7073
|
mp4box_all as default
|
|
7050
7074
|
};
|
|
7051
7075
|
//# sourceMappingURL=mp4box.all.js.map
|