[Mp4-tech] Re: Help: about the AudioMuxElement() Byte Aligned

Ralph Sperschneider ralph.sperschneider iis.fraunhofer.de
Wed Apr 2 21:54:35 EDT 2008


ѧ wrote:
> Dear All,
>  
>
> I have a question about the AudioMuxElement() in LATM format in 
> ISO/IEC 14496-3:2005.
>
> In the syntax of AudioMuxElement(), if the useSameStreamMux = 1, in 
> this case before the PayloadLengthInfo(), it's not Byte Aligned. Then 
> we must shift the bits of frames in PayloadMux() to the end of 
> AudioMuxElement(). Obviously, It's
> inefficiency. Anybody who can tell me how to solve it?
>

There is nothing you can solve, you simply need to live with the fact 
that it is not byte aligned. The people who specified the format found 
it not worth to add another byte_alignment at this place. I guess that 
those people are aware of other methods than shifting all the subsequent 
bits; I guess they had in mind the same methods that are used to parse 
any other data element which is not byte aligned (its not too difficult 
to not evaluate the first x bits of a buffer once you know how much bits 
need to be skipped).
Best regards,
Ralph
-- 
Dipl.-Ing. Ralph Sperschneider  | Phone: +49 9131 776 6167
Fraunhofer IIS                  | Fax:   +49 9131 776 6099
Am Wolfsmantel 33               | mailto:ralph.sperschneider iis.fraunhofer.de
D 91058 Erlangen                | http://www.iis.fraunhofer.de/amm/


More information about the Mp4-tech mailing list