Help - Search - Members - Calendar
Full Version: AAC payload
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - Tech
spinchicken
hi,

i am trying to make my decoder more error resiliant.

does anyone knows the answer to the following questions?

1)how can one synchronize with the syncword - which is FFF a very bad choise...
does the raw stream has a header of some kind that i can use as a sanity check

2) does a program_config_element always come before the data, or it can be missing? meaning - can this be the sanity check?

aconverse
QUOTE (spinchicken @ Feb 1 2009, 08:54) *
hi,

i am trying to make my decoder more error resiliant.

does anyone knows the answer to the following questions?

1)how can one synchronize with the syncword - which is FFF a very bad choise...
does the raw stream has a header of some kind that i can use as a sanity check

2) does a program_config_element always come before the data, or it can be missing? meaning - can this be the sanity check?


1) you can try to sync against the whole fixed ADTS header. not just 0xFFF. IT also has to be byte aligned.

2) If a PCE is missing an MPEG-2 decoder is allowed to assume an implicit config but not required to. An MPEG-4 decoder is required to remain silent until a PCE occurs.
spinchicken
thanks,

just for knowledge i havent found this on the standard pages, is it a convention?
spinchicken
and another thing,

after the PCE came will it occur again? and if anything change will it apply only to the things that will come afterwards, or to the whole frame?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.