@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
|
@@ -20473,7 +20473,7 @@ var getTimelineSequenceLayout = ({
|
|
|
20473
20473
|
// src/helpers/use-max-media-duration.ts
|
|
20474
20474
|
import { getVideoMetadata as getVideoMetadata2 } from "@remotion/media-utils";
|
|
20475
20475
|
|
|
20476
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20476
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/misc.js
|
|
20477
20477
|
/*!
|
|
20478
20478
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20479
20479
|
*
|
|
@@ -20737,6 +20737,19 @@ var getUint24 = (view, byteOffset, littleEndian) => {
|
|
|
20737
20737
|
return byte1 << 16 | byte2 << 8 | byte3;
|
|
20738
20738
|
}
|
|
20739
20739
|
};
|
|
20740
|
+
var setUint24 = (view, byteOffset, value, littleEndian) => {
|
|
20741
|
+
value = value >>> 0;
|
|
20742
|
+
value = value & 16777215;
|
|
20743
|
+
if (littleEndian) {
|
|
20744
|
+
view.setUint8(byteOffset, value & 255);
|
|
20745
|
+
view.setUint8(byteOffset + 1, value >>> 8 & 255);
|
|
20746
|
+
view.setUint8(byteOffset + 2, value >>> 16 & 255);
|
|
20747
|
+
} else {
|
|
20748
|
+
view.setUint8(byteOffset, value >>> 16 & 255);
|
|
20749
|
+
view.setUint8(byteOffset + 1, value >>> 8 & 255);
|
|
20750
|
+
view.setUint8(byteOffset + 2, value & 255);
|
|
20751
|
+
}
|
|
20752
|
+
};
|
|
20740
20753
|
var clamp = (value, min, max) => {
|
|
20741
20754
|
return Math.max(min, Math.min(max, value));
|
|
20742
20755
|
};
|
|
@@ -20890,7 +20903,7 @@ var isNumber = (x) => {
|
|
|
20890
20903
|
return typeof x === "number" && !Number.isNaN(x);
|
|
20891
20904
|
};
|
|
20892
20905
|
|
|
20893
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20906
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/metadata.js
|
|
20894
20907
|
/*!
|
|
20895
20908
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20896
20909
|
*
|
|
@@ -20941,7 +20954,7 @@ var DEFAULT_TRACK_DISPOSITION = {
|
|
|
20941
20954
|
visuallyImpaired: false
|
|
20942
20955
|
};
|
|
20943
20956
|
|
|
20944
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
20957
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/codec.js
|
|
20945
20958
|
/*!
|
|
20946
20959
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
20947
20960
|
*
|
|
@@ -21215,7 +21228,7 @@ var parsePcmCodec = (codec) => {
|
|
|
21215
21228
|
return { dataType, sampleSize, littleEndian, silentValue };
|
|
21216
21229
|
};
|
|
21217
21230
|
|
|
21218
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
21231
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/codec-data.js
|
|
21219
21232
|
/*!
|
|
21220
21233
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
21221
21234
|
*
|
|
@@ -21318,6 +21331,45 @@ var removeEmulationPreventionBytes = (data) => {
|
|
|
21318
21331
|
}
|
|
21319
21332
|
return new Uint8Array(result);
|
|
21320
21333
|
};
|
|
21334
|
+
var ANNEX_B_START_CODE = new Uint8Array([0, 0, 0, 1]);
|
|
21335
|
+
var concatNalUnitsInAnnexB = (nalUnits) => {
|
|
21336
|
+
const totalLength = nalUnits.reduce((a, b) => a + ANNEX_B_START_CODE.byteLength + b.byteLength, 0);
|
|
21337
|
+
const result = new Uint8Array(totalLength);
|
|
21338
|
+
let offset = 0;
|
|
21339
|
+
for (const nalUnit of nalUnits) {
|
|
21340
|
+
result.set(ANNEX_B_START_CODE, offset);
|
|
21341
|
+
offset += ANNEX_B_START_CODE.byteLength;
|
|
21342
|
+
result.set(nalUnit, offset);
|
|
21343
|
+
offset += nalUnit.byteLength;
|
|
21344
|
+
}
|
|
21345
|
+
return result;
|
|
21346
|
+
};
|
|
21347
|
+
var concatNalUnitsInLengthPrefixed = (nalUnits, lengthSize) => {
|
|
21348
|
+
const totalLength = nalUnits.reduce((a, b) => a + lengthSize + b.byteLength, 0);
|
|
21349
|
+
const result = new Uint8Array(totalLength);
|
|
21350
|
+
let offset = 0;
|
|
21351
|
+
for (const nalUnit of nalUnits) {
|
|
21352
|
+
const dataView = new DataView(result.buffer, result.byteOffset, result.byteLength);
|
|
21353
|
+
switch (lengthSize) {
|
|
21354
|
+
case 1:
|
|
21355
|
+
dataView.setUint8(offset, nalUnit.byteLength);
|
|
21356
|
+
break;
|
|
21357
|
+
case 2:
|
|
21358
|
+
dataView.setUint16(offset, nalUnit.byteLength, false);
|
|
21359
|
+
break;
|
|
21360
|
+
case 3:
|
|
21361
|
+
setUint24(dataView, offset, nalUnit.byteLength, false);
|
|
21362
|
+
break;
|
|
21363
|
+
case 4:
|
|
21364
|
+
dataView.setUint32(offset, nalUnit.byteLength, false);
|
|
21365
|
+
break;
|
|
21366
|
+
}
|
|
21367
|
+
offset += lengthSize;
|
|
21368
|
+
result.set(nalUnit, offset);
|
|
21369
|
+
offset += nalUnit.byteLength;
|
|
21370
|
+
}
|
|
21371
|
+
return result;
|
|
21372
|
+
};
|
|
21321
21373
|
var extractAvcNalUnits = (packetData, decoderConfig) => {
|
|
21322
21374
|
if (decoderConfig.description) {
|
|
21323
21375
|
const bytes = toUint8Array(decoderConfig.description);
|
|
@@ -21328,6 +21380,16 @@ var extractAvcNalUnits = (packetData, decoderConfig) => {
|
|
|
21328
21380
|
return findNalUnitsInAnnexB(packetData);
|
|
21329
21381
|
}
|
|
21330
21382
|
};
|
|
21383
|
+
var concatAvcNalUnits = (nalUnits, decoderConfig) => {
|
|
21384
|
+
if (decoderConfig.description) {
|
|
21385
|
+
const bytes = toUint8Array(decoderConfig.description);
|
|
21386
|
+
const lengthSizeMinusOne = bytes[4] & 3;
|
|
21387
|
+
const lengthSize = lengthSizeMinusOne + 1;
|
|
21388
|
+
return concatNalUnitsInLengthPrefixed(nalUnits, lengthSize);
|
|
21389
|
+
} else {
|
|
21390
|
+
return concatNalUnitsInAnnexB(nalUnits);
|
|
21391
|
+
}
|
|
21392
|
+
};
|
|
21331
21393
|
var extractNalUnitTypeForAvc = (data) => {
|
|
21332
21394
|
return data[0] & 31;
|
|
21333
21395
|
};
|
|
@@ -22583,7 +22645,7 @@ var readVorbisComments = (bytes, metadataTags) => {
|
|
|
22583
22645
|
}
|
|
22584
22646
|
};
|
|
22585
22647
|
|
|
22586
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22648
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/demuxer.js
|
|
22587
22649
|
/*!
|
|
22588
22650
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22589
22651
|
*
|
|
@@ -22598,7 +22660,7 @@ class Demuxer {
|
|
|
22598
22660
|
}
|
|
22599
22661
|
}
|
|
22600
22662
|
|
|
22601
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22663
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/custom-coder.js
|
|
22602
22664
|
/*!
|
|
22603
22665
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22604
22666
|
*
|
|
@@ -22609,7 +22671,7 @@ class Demuxer {
|
|
|
22609
22671
|
var customVideoDecoders = [];
|
|
22610
22672
|
var customAudioDecoders = [];
|
|
22611
22673
|
|
|
22612
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22674
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/packet.js
|
|
22613
22675
|
/*!
|
|
22614
22676
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22615
22677
|
*
|
|
@@ -22741,7 +22803,7 @@ class EncodedPacket {
|
|
|
22741
22803
|
}
|
|
22742
22804
|
}
|
|
22743
22805
|
|
|
22744
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
22806
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/sample.js
|
|
22745
22807
|
/*!
|
|
22746
22808
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
22747
22809
|
*
|
|
@@ -23417,7 +23479,7 @@ var getPlaneConfigs = (format) => {
|
|
|
23417
23479
|
};
|
|
23418
23480
|
var AUDIO_SAMPLE_FORMATS = new Set(["f32", "f32-planar", "s16", "s16-planar", "s32", "s32-planar", "u8", "u8-planar"]);
|
|
23419
23481
|
|
|
23420
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
23482
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/media-sink.js
|
|
23421
23483
|
/*!
|
|
23422
23484
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
23423
23485
|
*
|
|
@@ -24016,7 +24078,6 @@ class VideoDecoderWrapper extends DecoderWrapper {
|
|
|
24016
24078
|
}
|
|
24017
24079
|
this.raslSkipped = true;
|
|
24018
24080
|
}
|
|
24019
|
-
this.currentPacketIndex++;
|
|
24020
24081
|
if (this.customDecoder) {
|
|
24021
24082
|
this.customDecoderQueueSize++;
|
|
24022
24083
|
this.customDecoderCallSerializer.call(() => this.customDecoder.decode(packet)).then(() => this.customDecoderQueueSize--);
|
|
@@ -24025,9 +24086,19 @@ class VideoDecoderWrapper extends DecoderWrapper {
|
|
|
24025
24086
|
if (!isWebKit()) {
|
|
24026
24087
|
insertSorted(this.inputTimestamps, packet.timestamp, (x) => x);
|
|
24027
24088
|
}
|
|
24089
|
+
if (isChromium() && this.currentPacketIndex === 0 && this.codec === "avc") {
|
|
24090
|
+
const nalUnits = extractAvcNalUnits(packet.data, this.decoderConfig);
|
|
24091
|
+
const filteredNalUnits = nalUnits.filter((x) => {
|
|
24092
|
+
const type = extractNalUnitTypeForAvc(x);
|
|
24093
|
+
return !(type >= 20 && type <= 31);
|
|
24094
|
+
});
|
|
24095
|
+
const newData = concatAvcNalUnits(filteredNalUnits, this.decoderConfig);
|
|
24096
|
+
packet = new EncodedPacket(newData, packet.type, packet.timestamp, packet.duration);
|
|
24097
|
+
}
|
|
24028
24098
|
this.decoder.decode(packet.toEncodedVideoChunk());
|
|
24029
24099
|
this.decodeAlphaData(packet);
|
|
24030
24100
|
}
|
|
24101
|
+
this.currentPacketIndex++;
|
|
24031
24102
|
}
|
|
24032
24103
|
decodeAlphaData(packet) {
|
|
24033
24104
|
if (!packet.sideData.alpha || this.mergerCreationFailed) {
|
|
@@ -24362,7 +24433,7 @@ class VideoSampleSink extends BaseMediaSampleSink {
|
|
|
24362
24433
|
}
|
|
24363
24434
|
}
|
|
24364
24435
|
|
|
24365
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24436
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input-track.js
|
|
24366
24437
|
/*!
|
|
24367
24438
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24368
24439
|
*
|
|
@@ -24571,7 +24642,7 @@ class InputAudioTrack extends InputTrack {
|
|
|
24571
24642
|
}
|
|
24572
24643
|
}
|
|
24573
24644
|
|
|
24574
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24645
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-misc.js
|
|
24575
24646
|
/*!
|
|
24576
24647
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24577
24648
|
*
|
|
@@ -24589,7 +24660,7 @@ var buildIsobmffMimeType = (info) => {
|
|
|
24589
24660
|
return string;
|
|
24590
24661
|
};
|
|
24591
24662
|
|
|
24592
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24663
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-reader.js
|
|
24593
24664
|
/*!
|
|
24594
24665
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24595
24666
|
*
|
|
@@ -24665,7 +24736,7 @@ var readDataBox = (slice) => {
|
|
|
24665
24736
|
}
|
|
24666
24737
|
};
|
|
24667
24738
|
|
|
24668
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
24739
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js
|
|
24669
24740
|
/*!
|
|
24670
24741
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
24671
24742
|
*
|
|
@@ -26943,7 +27014,7 @@ var sampleTableIsEmpty = (sampleTable) => {
|
|
|
26943
27014
|
return sampleTable.sampleSizes.length === 0;
|
|
26944
27015
|
};
|
|
26945
27016
|
|
|
26946
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27017
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/ebml.js
|
|
26947
27018
|
/*!
|
|
26948
27019
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
26949
27020
|
*
|
|
@@ -27258,7 +27329,7 @@ function assertDefinedSize(size4) {
|
|
|
27258
27329
|
}
|
|
27259
27330
|
}
|
|
27260
27331
|
|
|
27261
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27332
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/matroska-misc.js
|
|
27262
27333
|
/*!
|
|
27263
27334
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
27264
27335
|
*
|
|
@@ -27276,7 +27347,7 @@ var buildMatroskaMimeType = (info) => {
|
|
|
27276
27347
|
return string;
|
|
27277
27348
|
};
|
|
27278
27349
|
|
|
27279
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
27350
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js
|
|
27280
27351
|
/*!
|
|
27281
27352
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
27282
27353
|
*
|
|
@@ -29155,7 +29226,7 @@ class MatroskaAudioTrackBacking extends MatroskaTrackBacking {
|
|
|
29155
29226
|
}
|
|
29156
29227
|
}
|
|
29157
29228
|
|
|
29158
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
29229
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/shared/mp3-misc.js
|
|
29159
29230
|
/*!
|
|
29160
29231
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
29161
29232
|
*
|
|
@@ -29397,7 +29468,7 @@ var decodeSynchsafe = (synchsafed) => {
|
|
|
29397
29468
|
return unsynchsafed;
|
|
29398
29469
|
};
|
|
29399
29470
|
|
|
29400
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
29471
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/id3.js
|
|
29401
29472
|
/*!
|
|
29402
29473
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
29403
29474
|
*
|
|
@@ -30097,7 +30168,7 @@ class Id3V2Reader {
|
|
|
30097
30168
|
}
|
|
30098
30169
|
}
|
|
30099
30170
|
|
|
30100
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30171
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/mp3/mp3-reader.js
|
|
30101
30172
|
/*!
|
|
30102
30173
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30103
30174
|
*
|
|
@@ -30123,7 +30194,7 @@ var readNextFrameHeader = async (reader, startPos, until) => {
|
|
|
30123
30194
|
return null;
|
|
30124
30195
|
};
|
|
30125
30196
|
|
|
30126
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30197
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/mp3/mp3-demuxer.js
|
|
30127
30198
|
/*!
|
|
30128
30199
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30129
30200
|
*
|
|
@@ -30388,7 +30459,7 @@ class Mp3AudioTrackBacking {
|
|
|
30388
30459
|
}
|
|
30389
30460
|
}
|
|
30390
30461
|
|
|
30391
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30462
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-misc.js
|
|
30392
30463
|
/*!
|
|
30393
30464
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30394
30465
|
*
|
|
@@ -30459,7 +30530,7 @@ var buildOggMimeType = (info) => {
|
|
|
30459
30530
|
return string;
|
|
30460
30531
|
};
|
|
30461
30532
|
|
|
30462
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30533
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-reader.js
|
|
30463
30534
|
/*!
|
|
30464
30535
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30465
30536
|
*
|
|
@@ -30523,7 +30594,7 @@ var findNextPageHeader = (slice, until) => {
|
|
|
30523
30594
|
return false;
|
|
30524
30595
|
};
|
|
30525
30596
|
|
|
30526
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
30597
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/ogg/ogg-demuxer.js
|
|
30527
30598
|
/*!
|
|
30528
30599
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
30529
30600
|
*
|
|
@@ -31183,7 +31254,7 @@ var findPreviousPacketEndPosition = (pageList, startPage, startSegmentIndex) =>
|
|
|
31183
31254
|
return { page: previousPage, segmentIndex: previousPage.lacingValues.length - 1 };
|
|
31184
31255
|
};
|
|
31185
31256
|
|
|
31186
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31257
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/wave/wave-demuxer.js
|
|
31187
31258
|
/*!
|
|
31188
31259
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31189
31260
|
*
|
|
@@ -31604,7 +31675,7 @@ class WaveAudioTrackBacking {
|
|
|
31604
31675
|
}
|
|
31605
31676
|
}
|
|
31606
31677
|
|
|
31607
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31678
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/adts/adts-reader.js
|
|
31608
31679
|
/*!
|
|
31609
31680
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31610
31681
|
*
|
|
@@ -31665,7 +31736,7 @@ var readFrameHeader2 = (slice) => {
|
|
|
31665
31736
|
};
|
|
31666
31737
|
};
|
|
31667
31738
|
|
|
31668
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31739
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/adts/adts-demuxer.js
|
|
31669
31740
|
/*!
|
|
31670
31741
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31671
31742
|
*
|
|
@@ -31886,7 +31957,7 @@ class AdtsAudioTrackBacking {
|
|
|
31886
31957
|
}
|
|
31887
31958
|
}
|
|
31888
31959
|
|
|
31889
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
31960
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/flac/flac-misc.js
|
|
31890
31961
|
/*!
|
|
31891
31962
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
31892
31963
|
*
|
|
@@ -32021,7 +32092,7 @@ var calculateCrc8 = (data) => {
|
|
|
32021
32092
|
return crc;
|
|
32022
32093
|
};
|
|
32023
32094
|
|
|
32024
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32095
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/flac/flac-demuxer.js
|
|
32025
32096
|
/*!
|
|
32026
32097
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
32027
32098
|
*
|
|
@@ -32445,7 +32516,7 @@ class FlacAudioTrackBacking {
|
|
|
32445
32516
|
}
|
|
32446
32517
|
}
|
|
32447
32518
|
|
|
32448
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32519
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input-format.js
|
|
32449
32520
|
/*!
|
|
32450
32521
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
32451
32522
|
*
|
|
@@ -32767,7 +32838,7 @@ var ADTS = /* @__PURE__ */ new AdtsInputFormat;
|
|
|
32767
32838
|
var FLAC = /* @__PURE__ */ new FlacInputFormat;
|
|
32768
32839
|
var ALL_FORMATS = [MP4, QTFF, MATROSKA, WEBM, WAVE, OGG, FLAC, MP3, ADTS];
|
|
32769
32840
|
|
|
32770
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
32841
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/source.js
|
|
32771
32842
|
var nodeAlias = (() => ({}));
|
|
32772
32843
|
/*!
|
|
32773
32844
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
@@ -32934,7 +33005,7 @@ class UrlSource extends Source {
|
|
|
32934
33005
|
}
|
|
32935
33006
|
}
|
|
32936
33007
|
if (worker.aborted) {
|
|
32937
|
-
|
|
33008
|
+
continue;
|
|
32938
33009
|
}
|
|
32939
33010
|
const { done, value } = readResult;
|
|
32940
33011
|
if (done) {
|
|
@@ -32948,11 +33019,7 @@ class UrlSource extends Source {
|
|
|
32948
33019
|
this.onread?.(worker.currentPos, worker.currentPos + value.length);
|
|
32949
33020
|
this._orchestrator.supplyWorkerData(worker, value);
|
|
32950
33021
|
}
|
|
32951
|
-
if (worker.aborted) {
|
|
32952
|
-
break;
|
|
32953
|
-
}
|
|
32954
33022
|
}
|
|
32955
|
-
worker.running = false;
|
|
32956
33023
|
}
|
|
32957
33024
|
_getTotalLengthFromRangeResponse(response) {
|
|
32958
33025
|
const contentRange = response.headers.get("Content-Range");
|
|
@@ -33305,7 +33372,7 @@ class ReadOrchestrator {
|
|
|
33305
33372
|
}
|
|
33306
33373
|
}
|
|
33307
33374
|
|
|
33308
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33375
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/input.js
|
|
33309
33376
|
/*!
|
|
33310
33377
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33311
33378
|
*
|
|
@@ -33412,7 +33479,7 @@ class InputDisposedError extends Error {
|
|
|
33412
33479
|
}
|
|
33413
33480
|
}
|
|
33414
33481
|
|
|
33415
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33482
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/reader.js
|
|
33416
33483
|
/*!
|
|
33417
33484
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33418
33485
|
*
|
|
@@ -33630,7 +33697,7 @@ var readAscii = (slice, length) => {
|
|
|
33630
33697
|
}
|
|
33631
33698
|
return str;
|
|
33632
33699
|
};
|
|
33633
|
-
// ../../node_modules/.bun/mediabunny@1.27.
|
|
33700
|
+
// ../../node_modules/.bun/mediabunny@1.27.2/node_modules/mediabunny/dist/modules/src/index.js
|
|
33634
33701
|
/*!
|
|
33635
33702
|
* Copyright (c) 2025-present, Vanilagy and contributors
|
|
33636
33703
|
*
|