-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fail to parse invalid init segment #90
Comments
Something happens in |
Ok, I think I found the problem, followings are its esds data:
The es_descriptor data is The optional extended descriptor type should be three bytes I can't find spec mention about this [1] but stagefright just ignores the [1] 14496-1 7.3.3.2 |
if we make no use of that box content, why not skip it entirely? |
That's what we do, but we need to calculate the length of es_descriptor to skip it. In this case, the one byte |
I don't understand why you would need to read the content to calculate it size. The size that followed the box type is all that needed no? Unless the box size is wrong, but if that was the case stage fright wouldn't read this file either.. |
Because dc_descriptor is inside es_descriptor, you can't know dc_descriptor location without parsing es_descriptor. |
Sure. But do we care about dc_descriptor? |
Yes, you need dc_descriptor to get object_profile and ds_descriptor is also inside dc_descriptor. |
@jyavenard is this the same alternate aac struct you had to work around stagefright not reporting? |
From this gecko bug we fail to parse the init segment from http://dash.edgesuite.net/envivio/Envivio-dash2/v4_258-Header.m4s with "unexpected EOF".
This is invalid, but stagefright appears to handle it.
The text was updated successfully, but these errors were encountered: