Skip to content
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

6.1ch audio gives a channel map error with DASH #2826

Closed
vt-idiot opened this issue May 4, 2024 · 2 comments
Closed

6.1ch audio gives a channel map error with DASH #2826

vt-idiot opened this issue May 4, 2024 · 2 comments

Comments

@vt-idiot
Copy link

vt-idiot commented May 4, 2024

When trying to DASH 6.1 channel E-AC-3 with mp4box, it gives this error Unknown CICP mapping for channel config 4/2.1 and outputs a null channel configuration in the manifest: <AudioChannelConfiguration schemeIdUri="urn:mpeg:mpegB:cicp:ChannelConfiguration" value="0"/>

I have not tried it with 6.1 AAC, but I've generally had bad luck with most web browsers and any AAC channel configuration that isn't 5.1, stereo, or mono.

I believe it should be writing either or both of those channel configurations:

    <AudioChannelConfiguration schemeIdUri="urn:mpeg:mpegB:cicp:ChannelConfiguration" value="11"/>
    <AudioChannelConfiguration schemeIdUri="tag:dolby.com,2014:dash:audio_channel_configuration:2011" value="F901"/>

The first value is from page 237 of ETSI TS 106 366.

The second was derived using:

**Dolby XXXX hex bitmask**
MSB->LSB 16bit
Left/Center/Right/LeftSurround/RightSurround/LeftCent_RightCentpair/LeftRearSur_RightRearSurpair/CenterSur/TopCenterSur/Lsurdirect_Rsdpair/Lwide_Rwpair/LVertHeight_Rvhpair/CentVertHeight/Lts_Rtspair/LFE2/LFE
e.g. 5.1 = 1111100000000001 = F801

I flipped an extra bit to indicate the presence of CenterSur, giving me 1111100100000001 or F901.

If you need a short sample, I have attached one. https://github.com/gpac/gpac/assets/81622808/d85e240d-a06f-49cb-9809-ebf805406af8

Detailed guidelines: https://gpac.io/bug-reporting/

@vt-idiot
Copy link
Author

vt-idiot commented May 5, 2024

Tried it with 6.1 AAC, that outputs <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="7"/>, but videojs doesn't play nice with it so it's moot.

@jeanlf
Copy link
Member

jeanlf commented May 23, 2024

Should now be fixed, thanks for detailed report and sample stream.

@jeanlf jeanlf closed this as completed May 23, 2024
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

No branches or pull requests

2 participants