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

Wrong Audio Channel count, defaulting it to 2 #376

Open
nonitasharmaMSFT opened this issue Jan 17, 2024 · 1 comment
Open

Wrong Audio Channel count, defaulting it to 2 #376

nonitasharmaMSFT opened this issue Jan 17, 2024 · 1 comment

Comments

@nonitasharmaMSFT
Copy link

nonitasharmaMSFT commented Jan 17, 2024

Hi Team,

We are facing an issue wherein we see an incorrect identification of channel counts in multiple videos, when we check in ffprobe, it comes correct but here in mp4box, somehow it defaults the channel count to 2

Sharing some here for reference:

Channel count for this 5.1 but is coming as 2
https://github.com/gpac/mp4box.js/assets/148072691/fcee59e4-b76d-43f2-95af-665ac68573fb

Similary for this it should be 1 (mono) but is coming as 2
https://github.com/gpac/mp4box.js/assets/148072691/69882081-2032-4f00-974f-1d2290f2f9e4

cc: @JenilKhandhra

@nonitasharmaMSFT nonitasharmaMSFT changed the title Wroung Audio Channel count, defaulting it to 2 Wrong Audio Channel count, defaulting it to 2 Jan 17, 2024
@hughfenghen
Copy link

Prefer using the channel count obtained from DecoderSpecificInfo in the ESDS box.

https://github.com/bilibili/WebAV/blob/7694db198905e9302de33017361212a90400ef1d/packages/av-cliper/src/mp4-utils/mp4box-utils.ts#L113

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