From 20d6bf56fbfced9a84e905bebc212610418ec6be Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Fri, 25 Aug 2023 16:04:27 +0500 Subject: [PATCH] allow opus audio (for srt compat) --- mp4-tree.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mp4-tree.js b/mp4-tree.js index e99b888..083442b 100644 --- a/mp4-tree.js +++ b/mp4-tree.js @@ -62,6 +62,8 @@ class MP4Tree { this.parse_avc1(); } else if (media_sample == 'mp4a') { this.parse_mp4a(); + } else if (media_sample == 'Opus') { + this.codecs.push('opus'); } else { this.codecs.push('unsup codec'); }