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

feat: handle bad descriptors and provide detailed info #351

Merged
merged 1 commit into from
May 10, 2024

Conversation

tobbee
Copy link
Collaborator

@tobbee tobbee commented May 10, 2024

As mentioned in #350, some mp4 samples in the wild have erroneous descriptors.

This PR extends the descriptor handling to become more general, but also to handle
and store data corresponding to bad descriptor data at the end of ES descriptor,
and DecoderConfig descriptor. This makes it possible to Decode and Encode such
assets without change of the data.

The Info() interface as used by mp4ff-info has been extended to reveal more information about encoders.
In particular, a higher level for esds boxes propagates into descriptors.

This should solve #350 and #348.

@tobbee tobbee merged commit ffc56f6 into master May 10, 2024
7 checks passed
@tobbee tobbee deleted the support-bad-descriptors branch May 10, 2024 11:15
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.

1 participant