Skip to content

Handle channel count parsing for AC-4 with discrete objects #2526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ybai001
Copy link
Contributor

@ybai001 ybai001 commented Jun 11, 2025

Some AC-4 stream consists of sub stream with discrete objects. Due to limitations in the current AC-4 specification (ETSI TS 103 190-2 V1.2.1 (2018-02)), discrete object number information is not explicitly stated in the ISO Base Media File Format (Annex E). To prevent exception triggering, "Maximum number of tracks if audio presentation includes object audio" in table 77 of ETSI TS 103 190-2 V1.2.1 (2018-02) is used as the channel count.

This pull request provides the corresponding implementation in AC4 parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants