Wowza Community

Proper AAC profile bit settings in ADTS headers

Charlie-

Posting here to document the ADTS header issue we talked about at NAB.

Scenario -

Inbound stream: RTMP h.264 baseline video / AAC-LC audio

Outbound stream: HTTP Live Streaming

Digging into the ADTS headers in the outbound TS files, the AAC profile bits are being set to ‘00’ which is AAC/Main. You indicated that this was most likely due to the RTMP feed having no meta data about the AAC payload, and your re-encap taking blind interpretation in the face of no data.

Would love to see: A) a way to find some hinting (if it exists in the RTMP stream anywhere) and appropriately set the bits – and/or – B) have a setting similar to “forceH264BaselineProfile” that was added on the video front, where one could set a specific value if explicitly know.

As I mentioned previously, this doesn’t seem to affect apple implementations of HLS, as the support both AAC-Main and AAC-LC, with the AAC-LC making it through (even if erroneously). The ‘less forgiving’ hardware that we are working with has no support for Main and kicks out the audio stream before even passing it to the ACC-LC codec.

Thanks for taking a look.

regards

Brett Mitchell

CTO Mediafly, Inc.

p.s. Glad to meet you in person at NAB.

Charlie-

Just checking in to see if this has been looked at.

thx

Brett

I will email you directly.

Charlie

Hello Carlos Peña,

This is a duplicate question. Please do not post the same question in multiple locations. This can create confusion and delay in response time.

We will respond in this post.

Thank you,

-Tim

Hello I have configured my LC AAC encoder and I can not have audio, I can do to fix it