Conversation
Parse and generate the RFC 6381 ObjectTypeIndication codec strings shared by a whole family of MPEG codecs: mp4a.<OTI>[.<audio object type>] and mp4v.<OTI>[.<profile-level>], e.g. mp4a.40.2 (AAC-LC), mp4a.69/mp4a.6B (MP3), mp4v.20.9 (MPEG-4 Visual), mp4v.61 (MPEG-2 Video). OTI is normalized to two uppercase hex digits; the OTI and AAC audio object types are decoded to names in toHumanReadable(). Wired into codecInfoFactory via the mp4a/mp4v prefixes.
|
🎉 This PR is included in version 0.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the RFC 6381 ObjectTypeIndication scheme (
mp4a/mp4v), which covers a whole family of MPEG codecs with one parser: AAC (mp4a.40.2), MP3 (mp4a.69,mp4a.6B,mp4a.40.34), MPEG-4 Visual (mp4v.20.9), MPEG-2 video/audio, DTS, etc.Format verified against RFC 6381 §3.3 (OTI = two hex digits, optional decimal third element) and the mp4ra object-type registry.
Mp4Infodecodes the OTI and AAC audio object types to names; output normalized to uppercase hex. 29 tests; full suite 254 passing.feat:→ minor bump (0.8.0).