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

Failure while processing: audio_object_type_ < 31 with xHE-AAC audio #1078

Closed
christosts opened this issue Jul 29, 2022 · 3 comments
Closed
Labels
status: archived Archived and locked; will not be updated

Comments

@christosts
Copy link

christosts commented Jul 29, 2022

Hi team,

I'm trying to create a DASH package from an xHE-AAC audio file. When parsing the file, I get the error

[0729/132723:ERROR:aac_audio_specific_config.cc(68)] Failure while processing: audio_object_type_ < 31
[0729/132723:ERROR:box_definitions.cc(1691)] Failure while processing: aac_audio_specific_config.Parse( es_descriptor.decoder_config_descriptor() .decoder_specific_info_descriptor() .data())

I guess the failing assertion is here but I can't tell if the issue is that the specific format is not supported in general or something else in the bitstream of this file.

System info

Operating System: Linux Debian 5.17
Shaka Packager Version: 2.6.1

Issue and steps to reproduce the problem

xHE-AAC audio file cannot be parsed

Packager Command:
./packager-linux-x64 in={audio.mp4} --dump_stream_info

What is the expected result?
The packager parses the audio file and prints the stream info

What happens instead?
Output copied in details below

[0729/140121:INFO:demuxer.cc(155)] Initialize Demuxer for file 'audio.mp4'.
[0729/140121:ERROR:aac_audio_specific_config.cc(68)] Failure while processing: audio_object_type_ < 31
[0729/140121:ERROR:box_definitions.cc(1691)] Failure while processing: aac_audio_specific_config.Parse( es_descriptor.decoder_config_descriptor() .decoder_specific_info_descriptor() .data())
[0729/140121:ERROR:box_reader.cc(97)] Failure while processing: child->Parse(itr->second.get())
[0729/140121:ERROR:box_definitions.cc(1941)] Failure while processing: buffer->TryReadWriteChild(&esds)
[0729/140121:ERROR:box_reader.h(168)] Failure while processing: child.Parse(&child_reader)
[0729/140121:ERROR:box_definitions.cc(657)] Failure while processing: reader->ReadAllChildren(&audio_entries)
[0729/140121:ERROR:box_reader.cc(97)] Failure while processing: child->Parse(itr->second.get())
[0729/140121:ERROR:box_definitions.cc(1160)] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&description) && buffer->ReadWriteChild(&decoding_time_to_sample) && buffer->TryReadWriteChild(&composition_time_to_sample) && buffer->ReadWriteChild(&sample_to_chunk)
[0729/140121:ERROR:box_reader.cc(97)] Failure while processing: child->Parse(itr->second.get())
[0729/140121:ERROR:box_definitions.cc(2235)] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&dinf) && buffer->ReadWriteChild(&sample_table)
[0729/140121:ERROR:box_reader.cc(97)] Failure while processing: child->Parse(itr->second.get())
[0729/140121:ERROR:box_definitions.cc(2306)] Failure while processing: buffer->ReadWriteChild(&information)
[0729/140121:ERROR:box_reader.cc(97)] Failure while processing: child->Parse(itr->second.get())
[0729/140121:ERROR:box_definitions.cc(2325)] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&header) && buffer->ReadWriteChild(&media) && buffer->TryReadWriteChild(&edit) && buffer->TryReadWriteChild(&sample_encryption)
[0729/140121:ERROR:box_reader.h(146)] Failure while processing: child_itr->Parse(itr->second.get())
[0729/140121:ERROR:box_reader.h(129)] Failure while processing: TryReadChildren(children) && !children->empty()
[0729/140121:ERROR:box_definitions.cc(2426)] Failure while processing: reader->ReadChildren(&tracks) && reader->TryReadChild(&extends) && reader->TryReadChildren(&pssh)
[0729/140121:ERROR:mp4_media_parser.cc(383)] Failure while processing: moov_->Parse(reader)
[0729/140121:ERROR:packager_main.cc(554)] Packaging Error: 8 (PARSER_FAILURE): Cannot parse media file audio.mp4

If the format is generally supported and the issue seems to be related to the specific file, I can share the file to [email protected].

Thanks

@geoffjukes
Copy link
Contributor

I am having the same issue, with multiple files.

@geoffjukes
Copy link
Contributor

@christosts PR #1092 has been merged to main.

@christosts
Copy link
Author

Thanks!

@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Dec 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

No branches or pull requests

2 participants