@ahmedrowaihi/mediabunny 1.65.2-beta.683 → 1.65.2-beta.684

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.
@@ -7682,6 +7682,22 @@ var Mediabunny = (() => {
7682
7682
  var buildClliBox = (contentLight) => isobmffBox("clli", buildContentLightPayload(contentLight));
7683
7683
 
7684
7684
  // src/isobmff/isobmff-demuxer.ts
7685
+ var AVC_INTRA_FOURCCS = /* @__PURE__ */ new Set([
7686
+ "ai5p",
7687
+ "ai5q",
7688
+ "ai52",
7689
+ "ai53",
7690
+ "ai55",
7691
+ "ai56",
7692
+ "ai1p",
7693
+ "ai1q",
7694
+ "ai12",
7695
+ "ai13",
7696
+ "ai15",
7697
+ "ai16",
7698
+ "aivx",
7699
+ "avin"
7700
+ ]);
7685
7701
  var TRUEHD_CHANNEL_ASSIGNMENT_COUNTS = [2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1];
7686
7702
  var MAX_BOX_NESTING_DEPTH = 64;
7687
7703
  var IsobmffDemuxer = class _IsobmffDemuxer extends Demuxer {
@@ -8586,6 +8602,9 @@ var Mediabunny = (() => {
8586
8602
  if (codecName === "avc1" || codecName === "avc3") {
8587
8603
  track.info.codec = "avc";
8588
8604
  track.info.avcType = codecName === "avc1" ? 1 : 3;
8605
+ } else if (AVC_INTRA_FOURCCS.has(codecName)) {
8606
+ track.info.codec = "avc";
8607
+ track.info.avcType = 3;
8589
8608
  } else if (codecName === "hvc1" || codecName === "hev1") {
8590
8609
  track.info.codec = "hevc";
8591
8610
  track.info.hevcType = codecName;