@remotion/studio 4.0.393 → 4.0.395
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/esm/{chunk-ate3k4rb.js → chunk-jzq8t233.js} +106 -39
- package/dist/esm/internals.mjs +106 -39
- package/dist/esm/previewEntry.mjs +106 -39
- package/dist/esm/renderEntry.mjs +1 -1
- package/package.json +10 -10
- package/dist/esm/chunk-fnfxxf7g.js +0 -53391
- package/dist/esm/chunk-mbjrewap.js +0 -43758
package/dist/esm/internals.mjs
CHANGED
|
@@ -20492,7 +20492,7 @@ var getTimelineSequenceLayout = ({
|
|
|
20492
20492
|
// src/helpers/use-max-media-duration.ts
|
|
20493
20493
|
import { getVideoMetadata as getVideoMetadata2 } from "@remotion/media-utils";
|
|
20494
20494
|
|
|
20495
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20495
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/misc.js
|
|
20496
20496
|
/*!
|
|
20497
20497
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20498
20498
|
*
|
|
@@ -20756,6 +20756,19 @@ var getUint24 = (view, byteOffset, littleEndian) => {
|
|
|
20756
20756
|
return byte1 << 16 | byte2 << 8 | byte3;
|
|
20757
20757
|
}
|
|
20758
20758
|
};
|
|
20759
|
+
var setUint24 = (view, byteOffset, value, littleEndian) => {
|
|
20760
|
+
value = value >>> 0;
|
|
20761
|
+
value = value & 16777215;
|
|
20762
|
+
if (littleEndian) {
|
|
20763
|
+
view.setUint8(byteOffset, value & 255);
|
|
20764
|
+
view.setUint8(byteOffset + 1, value >>> 8 & 255);
|
|
20765
|
+
view.setUint8(byteOffset + 2, value >>> 16 & 255);
|
|
20766
|
+
} else {
|
|
20767
|
+
view.setUint8(byteOffset, value >>> 16 & 255);
|
|
20768
|
+
view.setUint8(byteOffset + 1, value >>> 8 & 255);
|
|
20769
|
+
view.setUint8(byteOffset + 2, value & 255);
|
|
20770
|
+
}
|
|
20771
|
+
};
|
|
20759
20772
|
var clamp = (value, min, max) => {
|
|
20760
20773
|
return Math.max(min, Math.min(max, value));
|
|
20761
20774
|
};
|
|
@@ -20909,7 +20922,7 @@ var isNumber = (x) => {
|
|
|
20909
20922
|
return typeof x === "number" && !Number.isNaN(x);
|
|
20910
20923
|
};
|
|
20911
20924
|
|
|
20912
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20925
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/metadata.js
|
|
20913
20926
|
/*!
|
|
20914
20927
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20915
20928
|
*
|
|
@@ -20960,7 +20973,7 @@ var DEFAULT_TRACK_DISPOSITION = {
|
|
|
20960
20973
|
visuallyImpaired: false
|
|
20961
20974
|
};
|
|
20962
20975
|
|
|
20963
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20976
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/codec.js
|
|
20964
20977
|
/*!
|
|
20965
20978
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20966
20979
|
*
|
|
@@ -21234,7 +21247,7 @@ var parsePcmCodec = (codec) => {
|
|
|
21234
21247
|
return { dataType, sampleSize, littleEndian, silentValue };
|
|
21235
21248
|
};
|
|
21236
21249
|
|
|
21237
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
21250
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/codec-data.js
|
|
21238
21251
|
/*!
|
|
21239
21252
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
21240
21253
|
*
|
|
@@ -21337,6 +21350,45 @@ var removeEmulationPreventionBytes = (data) => {
|
|
|
21337
21350
|
}
|
|
21338
21351
|
return new Uint8Array(result);
|
|
21339
21352
|
};
|
|
21353
|
+
var ANNEX_B_START_CODE = new Uint8Array([0, 0, 0, 1]);
|
|
21354
|
+
var concatNalUnitsInAnnexB = (nalUnits) => {
|
|
21355
|
+
const totalLength = nalUnits.reduce((a, b) => a + ANNEX_B_START_CODE.byteLength + b.byteLength, 0);
|
|
21356
|
+
const result = new Uint8Array(totalLength);
|
|
21357
|
+
let offset = 0;
|
|
21358
|
+
for (const nalUnit of nalUnits) {
|
|
21359
|
+
result.set(ANNEX_B_START_CODE, offset);
|
|
21360
|
+
offset += ANNEX_B_START_CODE.byteLength;
|
|
21361
|
+
result.set(nalUnit, offset);
|
|
21362
|
+
offset += nalUnit.byteLength;
|
|
21363
|
+
}
|
|
21364
|
+
return result;
|
|
21365
|
+
};
|
|
21366
|
+
var concatNalUnitsInLengthPrefixed = (nalUnits, lengthSize) => {
|
|
21367
|
+
const totalLength = nalUnits.reduce((a, b) => a + lengthSize + b.byteLength, 0);
|
|
21368
|
+
const result = new Uint8Array(totalLength);
|
|
21369
|
+
let offset = 0;
|
|
21370
|
+
for (const nalUnit of nalUnits) {
|
|
21371
|
+
const dataView = new DataView(result.buffer, result.byteOffset, result.byteLength);
|
|
21372
|
+
switch (lengthSize) {
|
|
21373
|
+
case 1:
|
|
21374
|
+
dataView.setUint8(offset, nalUnit.byteLength);
|
|
21375
|
+
break;
|
|
21376
|
+
case 2:
|
|
21377
|
+
dataView.setUint16(offset, nalUnit.byteLength, false);
|
|
21378
|
+
break;
|
|
21379
|
+
case 3:
|
|
21380
|
+
setUint24(dataView, offset, nalUnit.byteLength, false);
|
|
21381
|
+
break;
|
|
21382
|
+
case 4:
|
|
21383
|
+
dataView.setUint32(offset, nalUnit.byteLength, false);
|
|
21384
|
+
break;
|
|
21385
|
+
}
|
|
21386
|
+
offset += lengthSize;
|
|
21387
|
+
result.set(nalUnit, offset);
|
|
21388
|
+
offset += nalUnit.byteLength;
|
|
21389
|
+
}
|
|
21390
|
+
return result;
|
|
21391
|
+
};
|
|
21340
21392
|
var extractAvcNalUnits = (packetData, decoderConfig) => {
|
|
21341
21393
|
if (decoderConfig.description) {
|
|
21342
21394
|
const bytes = toUint8Array(decoderConfig.description);
|
|
@@ -21347,6 +21399,16 @@ var extractAvcNalUnits = (packetData, decoderConfig) => {
|
|
|
21347
21399
|
return findNalUnitsInAnnexB(packetData);
|
|
21348
21400
|
}
|
|
21349
21401
|
};
|
|
21402
|
+
var concatAvcNalUnits = (nalUnits, decoderConfig) => {
|
|
21403
|
+
if (decoderConfig.description) {
|
|
21404
|
+
const bytes = toUint8Array(decoderConfig.description);
|
|
21405
|
+
const lengthSizeMinusOne = bytes[4] & 3;
|
|
21406
|
+
const lengthSize = lengthSizeMinusOne + 1;
|
|
21407
|
+
return concatNalUnitsInLengthPrefixed(nalUnits, lengthSize);
|
|
21408
|
+
} else {
|
|
21409
|
+
return concatNalUnitsInAnnexB(nalUnits);
|
|
21410
|
+
}
|
|
21411
|
+
};
|
|
21350
21412
|
var extractNalUnitTypeForAvc = (data) => {
|
|
21351
21413
|
return data[0] & 31;
|
|
21352
21414
|
};
|
|
@@ -22602,7 +22664,7 @@ var readVorbisComments = (bytes, metadataTags) => {
|
|
|
22602
22664
|
}
|
|
22603
22665
|
};
|
|
22604
22666
|
|
|
22605
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22667
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/demuxer.js
|
|
22606
22668
|
/*!
|
|
22607
22669
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22608
22670
|
*
|
|
@@ -22617,7 +22679,7 @@ class Demuxer {
|
|
|
22617
22679
|
}
|
|
22618
22680
|
}
|
|
22619
22681
|
|
|
22620
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22682
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/custom-coder.js
|
|
22621
22683
|
/*!
|
|
22622
22684
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22623
22685
|
*
|
|
@@ -22628,7 +22690,7 @@ class Demuxer {
|
|
|
22628
22690
|
var customVideoDecoders = [];
|
|
22629
22691
|
var customAudioDecoders = [];
|
|
22630
22692
|
|
|
22631
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22693
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/packet.js
|
|
22632
22694
|
/*!
|
|
22633
22695
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22634
22696
|
*
|
|
@@ -22760,7 +22822,7 @@ class EncodedPacket {
|
|
|
22760
22822
|
}
|
|
22761
22823
|
}
|
|
22762
22824
|
|
|
22763
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22825
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/sample.js
|
|
22764
22826
|
/*!
|
|
22765
22827
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22766
22828
|
*
|
|
@@ -23436,7 +23498,7 @@ var getPlaneConfigs = (format) => {
|
|
|
23436
23498
|
};
|
|
23437
23499
|
var AUDIO_SAMPLE_FORMATS = new Set(["f32", "f32-planar", "s16", "s16-planar", "s32", "s32-planar", "u8", "u8-planar"]);
|
|
23438
23500
|
|
|
23439
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
23501
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/media-sink.js
|
|
23440
23502
|
/*!
|
|
23441
23503
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
23442
23504
|
*
|
|
@@ -24035,7 +24097,6 @@ class VideoDecoderWrapper extends DecoderWrapper {
|
|
|
24035
24097
|
}
|
|
24036
24098
|
this.raslSkipped = true;
|
|
24037
24099
|
}
|
|
24038
|
-
this.currentPacketIndex++;
|
|
24039
24100
|
if (this.customDecoder) {
|
|
24040
24101
|
this.customDecoderQueueSize++;
|
|
24041
24102
|
this.customDecoderCallSerializer.call(() => this.customDecoder.decode(packet)).then(() => this.customDecoderQueueSize--);
|
|
@@ -24044,9 +24105,19 @@ class VideoDecoderWrapper extends DecoderWrapper {
|
|
|
24044
24105
|
if (!isWebKit()) {
|
|
24045
24106
|
insertSorted(this.inputTimestamps, packet.timestamp, (x) => x);
|
|
24046
24107
|
}
|
|
24108
|
+
if (isChromium() && this.currentPacketIndex === 0 && this.codec === "avc") {
|
|
24109
|
+
const nalUnits = extractAvcNalUnits(packet.data, this.decoderConfig);
|
|
24110
|
+
const filteredNalUnits = nalUnits.filter((x) => {
|
|
24111
|
+
const type = extractNalUnitTypeForAvc(x);
|
|
24112
|
+
return !(type >= 20 && type <= 31);
|
|
24113
|
+
});
|
|
24114
|
+
const newData = concatAvcNalUnits(filteredNalUnits, this.decoderConfig);
|
|
24115
|
+
packet = new EncodedPacket(newData, packet.type, packet.timestamp, packet.duration);
|
|
24116
|
+
}
|
|
24047
24117
|
this.decoder.decode(packet.toEncodedVideoChunk());
|
|
24048
24118
|
this.decodeAlphaData(packet);
|
|
24049
24119
|
}
|
|
24120
|
+
this.currentPacketIndex++;
|
|
24050
24121
|
}
|
|
24051
24122
|
decodeAlphaData(packet) {
|
|
24052
24123
|
if (!packet.sideData.alpha || this.mergerCreationFailed) {
|
|
@@ -24381,7 +24452,7 @@ class VideoSampleSink extends BaseMediaSampleSink {
|
|
|
24381
24452
|
}
|
|
24382
24453
|
}
|
|
24383
24454
|
|
|
24384
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24455
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input-track.js
|
|
24385
24456
|
/*!
|
|
24386
24457
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24387
24458
|
*
|
|
@@ -24590,7 +24661,7 @@ class InputAudioTrack extends InputTrack {
|
|
|
24590
24661
|
}
|
|
24591
24662
|
}
|
|
24592
24663
|
|
|
24593
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24664
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-misc.js
|
|
24594
24665
|
/*!
|
|
24595
24666
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24596
24667
|
*
|
|
@@ -24608,7 +24679,7 @@ var buildIsobmffMimeType = (info) => {
|
|
|
24608
24679
|
return string;
|
|
24609
24680
|
};
|
|
24610
24681
|
|
|
24611
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24682
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-reader.js
|
|
24612
24683
|
/*!
|
|
24613
24684
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24614
24685
|
*
|
|
@@ -24684,7 +24755,7 @@ var readDataBox = (slice) => {
|
|
|
24684
24755
|
}
|
|
24685
24756
|
};
|
|
24686
24757
|
|
|
24687
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24758
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js
|
|
24688
24759
|
/*!
|
|
24689
24760
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24690
24761
|
*
|
|
@@ -26962,7 +27033,7 @@ var sampleTableIsEmpty = (sampleTable) => {
|
|
|
26962
27033
|
return sampleTable.sampleSizes.length === 0;
|
|
26963
27034
|
};
|
|
26964
27035
|
|
|
26965
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27036
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/ebml.js
|
|
26966
27037
|
/*!
|
|
26967
27038
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
26968
27039
|
*
|
|
@@ -27277,7 +27348,7 @@ function assertDefinedSize(size4) {
|
|
|
27277
27348
|
}
|
|
27278
27349
|
}
|
|
27279
27350
|
|
|
27280
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27351
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/matroska-misc.js
|
|
27281
27352
|
/*!
|
|
27282
27353
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
27283
27354
|
*
|
|
@@ -27295,7 +27366,7 @@ var buildMatroskaMimeType = (info) => {
|
|
|
27295
27366
|
return string;
|
|
27296
27367
|
};
|
|
27297
27368
|
|
|
27298
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27369
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js
|
|
27299
27370
|
/*!
|
|
27300
27371
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
27301
27372
|
*
|
|
@@ -29174,7 +29245,7 @@ class MatroskaAudioTrackBacking extends MatroskaTrackBacking {
|
|
|
29174
29245
|
}
|
|
29175
29246
|
}
|
|
29176
29247
|
|
|
29177
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
29248
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/shared/mp3-misc.js
|
|
29178
29249
|
/*!
|
|
29179
29250
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
29180
29251
|
*
|
|
@@ -29416,7 +29487,7 @@ var decodeSynchsafe = (synchsafed) => {
|
|
|
29416
29487
|
return unsynchsafed;
|
|
29417
29488
|
};
|
|
29418
29489
|
|
|
29419
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
29490
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/id3.js
|
|
29420
29491
|
/*!
|
|
29421
29492
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
29422
29493
|
*
|
|
@@ -30116,7 +30187,7 @@ class Id3V2Reader {
|
|
|
30116
30187
|
}
|
|
30117
30188
|
}
|
|
30118
30189
|
|
|
30119
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30190
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/mp3/mp3-reader.js
|
|
30120
30191
|
/*!
|
|
30121
30192
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30122
30193
|
*
|
|
@@ -30142,7 +30213,7 @@ var readNextFrameHeader = async (reader, startPos, until) => {
|
|
|
30142
30213
|
return null;
|
|
30143
30214
|
};
|
|
30144
30215
|
|
|
30145
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30216
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/mp3/mp3-demuxer.js
|
|
30146
30217
|
/*!
|
|
30147
30218
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30148
30219
|
*
|
|
@@ -30407,7 +30478,7 @@ class Mp3AudioTrackBacking {
|
|
|
30407
30478
|
}
|
|
30408
30479
|
}
|
|
30409
30480
|
|
|
30410
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30481
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-misc.js
|
|
30411
30482
|
/*!
|
|
30412
30483
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30413
30484
|
*
|
|
@@ -30478,7 +30549,7 @@ var buildOggMimeType = (info) => {
|
|
|
30478
30549
|
return string;
|
|
30479
30550
|
};
|
|
30480
30551
|
|
|
30481
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30552
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-reader.js
|
|
30482
30553
|
/*!
|
|
30483
30554
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30484
30555
|
*
|
|
@@ -30542,7 +30613,7 @@ var findNextPageHeader = (slice, until) => {
|
|
|
30542
30613
|
return false;
|
|
30543
30614
|
};
|
|
30544
30615
|
|
|
30545
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30616
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-demuxer.js
|
|
30546
30617
|
/*!
|
|
30547
30618
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30548
30619
|
*
|
|
@@ -31202,7 +31273,7 @@ var findPreviousPacketEndPosition = (pageList, startPage, startSegmentIndex) =>
|
|
|
31202
31273
|
return { page: previousPage, segmentIndex: previousPage.lacingValues.length - 1 };
|
|
31203
31274
|
};
|
|
31204
31275
|
|
|
31205
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31276
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/wave/wave-demuxer.js
|
|
31206
31277
|
/*!
|
|
31207
31278
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31208
31279
|
*
|
|
@@ -31623,7 +31694,7 @@ class WaveAudioTrackBacking {
|
|
|
31623
31694
|
}
|
|
31624
31695
|
}
|
|
31625
31696
|
|
|
31626
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31697
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/adts/adts-reader.js
|
|
31627
31698
|
/*!
|
|
31628
31699
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31629
31700
|
*
|
|
@@ -31684,7 +31755,7 @@ var readFrameHeader2 = (slice) => {
|
|
|
31684
31755
|
};
|
|
31685
31756
|
};
|
|
31686
31757
|
|
|
31687
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31758
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/adts/adts-demuxer.js
|
|
31688
31759
|
/*!
|
|
31689
31760
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31690
31761
|
*
|
|
@@ -31905,7 +31976,7 @@ class AdtsAudioTrackBacking {
|
|
|
31905
31976
|
}
|
|
31906
31977
|
}
|
|
31907
31978
|
|
|
31908
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31979
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/flac/flac-misc.js
|
|
31909
31980
|
/*!
|
|
31910
31981
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31911
31982
|
*
|
|
@@ -32040,7 +32111,7 @@ var calculateCrc8 = (data) => {
|
|
|
32040
32111
|
return crc;
|
|
32041
32112
|
};
|
|
32042
32113
|
|
|
32043
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32114
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/flac/flac-demuxer.js
|
|
32044
32115
|
/*!
|
|
32045
32116
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
32046
32117
|
*
|
|
@@ -32464,7 +32535,7 @@ class FlacAudioTrackBacking {
|
|
|
32464
32535
|
}
|
|
32465
32536
|
}
|
|
32466
32537
|
|
|
32467
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32538
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input-format.js
|
|
32468
32539
|
/*!
|
|
32469
32540
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
32470
32541
|
*
|
|
@@ -32786,7 +32857,7 @@ var ADTS = /* @__PURE__ */ new AdtsInputFormat;
|
|
|
32786
32857
|
var FLAC = /* @__PURE__ */ new FlacInputFormat;
|
|
32787
32858
|
var ALL_FORMATS = [MP4, QTFF, MATROSKA, WEBM, WAVE, OGG, FLAC, MP3, ADTS];
|
|
32788
32859
|
|
|
32789
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32860
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/source.js
|
|
32790
32861
|
var nodeAlias = (() => ({}));
|
|
32791
32862
|
/*!
|
|
32792
32863
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
@@ -32953,7 +33024,7 @@ class UrlSource extends Source {
|
|
|
32953
33024
|
}
|
|
32954
33025
|
}
|
|
32955
33026
|
if (worker.aborted) {
|
|
32956
|
-
|
|
33027
|
+
continue;
|
|
32957
33028
|
}
|
|
32958
33029
|
const { done, value } = readResult;
|
|
32959
33030
|
if (done) {
|
|
@@ -32967,11 +33038,7 @@ class UrlSource extends Source {
|
|
|
32967
33038
|
this.onread?.(worker.currentPos, worker.currentPos + value.length);
|
|
32968
33039
|
this._orchestrator.supplyWorkerData(worker, value);
|
|
32969
33040
|
}
|
|
32970
|
-
if (worker.aborted) {
|
|
32971
|
-
break;
|
|
32972
|
-
}
|
|
32973
33041
|
}
|
|
32974
|
-
worker.running = false;
|
|
32975
33042
|
}
|
|
32976
33043
|
_getTotalLengthFromRangeResponse(response) {
|
|
32977
33044
|
const contentRange = response.headers.get("Content-Range");
|
|
@@ -33324,7 +33391,7 @@ class ReadOrchestrator {
|
|
|
33324
33391
|
}
|
|
33325
33392
|
}
|
|
33326
33393
|
|
|
33327
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33394
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input.js
|
|
33328
33395
|
/*!
|
|
33329
33396
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33330
33397
|
*
|
|
@@ -33431,7 +33498,7 @@ class InputDisposedError extends Error {
|
|
|
33431
33498
|
}
|
|
33432
33499
|
}
|
|
33433
33500
|
|
|
33434
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33501
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/reader.js
|
|
33435
33502
|
/*!
|
|
33436
33503
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33437
33504
|
*
|
|
@@ -33649,7 +33716,7 @@ var readAscii = (slice, length) => {
|
|
|
33649
33716
|
}
|
|
33650
33717
|
return str;
|
|
33651
33718
|
};
|
|
33652
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33719
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/index.js
|
|
33653
33720
|
/*!
|
|
33654
33721
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33655
33722
|
*
|