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

DASH Manifest sets audioSamplingRate to "0" #889

Closed
idanya opened this issue Jul 31, 2018 · 8 comments
Closed

DASH Manifest sets audioSamplingRate to "0" #889

idanya opened this issue Jul 31, 2018 · 8 comments

Comments

@idanya
Copy link

idanya commented Jul 31, 2018

For some files in our library, I can see the dash manifest audio representation contains audioSamplingRate="0"
In these cases, MPD is playing well in chrome and firefox but in IE/EDGE I get an error saying "Video Element Error: MEDIA_ERR_RC_NOT_SUPPORTED" (playing in dashif.org).

Changing the audioSamplingRate key to any other value fixes the issue and the video is playing on IE/EDGE.

All files in our library are transcoded the same way... What can cause this value to be 0?

@erankor
Copy link
Contributor

erankor commented Jul 31, 2018

The sampling rate is coming from the mp4 stsd atom, it's probably not set correctly there.
Can you share a sample file?

@idanya
Copy link
Author

idanya commented Jul 31, 2018

sample

@erankor
Copy link
Contributor

erankor commented Jul 31, 2018

Try this pull #890

@idanya
Copy link
Author

idanya commented Aug 1, 2018

Seems to set the audioSamplingRate correctly. it's now audioSamplingRate="96000"
But video still not playing in EDGE browser. same error.
weird, because when I changed it manually to the same value it worked...

@idanya
Copy link
Author

idanya commented Aug 1, 2018

Now that I've checked, HLS of the same video is also not working on EDGE.

@erankor
Copy link
Contributor

erankor commented Aug 1, 2018

From a short google on this - https://docs.microsoft.com/en-us/windows/desktop/medfound/aac-decoder
"Sampling rates above 48 kHz are not supported."
So, assuming Edge uses Media Foundation for decoding, this is not supposed to work.

@idanya
Copy link
Author

idanya commented Aug 1, 2018

Great find! Thanks!
I'll try transcoding it with 48 kHz

@jessp01
Copy link
Contributor

jessp01 commented Feb 22, 2019

Hi @idanya - can this be closed? Thanks.

@idanya idanya closed this as completed Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants