<P>
Dear Readers,<BR>
<BR>
I have some doubts/querries Regarding the ADTS Headers for AAC files.<BR>
<BR>
As we know that their are two Formats(ADTS And ADIF) regarding the AAC <BR>
files. When we Extract the raw data (Compressed Data) from the AAC<BR>
files then you need to place the Headers in them so that we can play <BR>
in the any software tool (Such as FOOBAR in my case).<BR>
<BR>
At Present I have doubts about the ADTS headers, Please check below<BR>
<BR>
ADTS HEADER FORMAT:<BR>
<BR>
FIXED ADTS HEADERS VARAIBLE. <BR>
(I am pendowning those variables in which I have the doubts)<BR>
<BR>
1. syncword 12 bit (always: '111111111111'), <BR>
<BR>
What is the use of this and why it is constant ?? (Just to check in <BR>
run time that it is ADTS Header ?)<BR>
<BR>
2. layer 2 bit (always: '00') <BR>
<BR>
What are the other significance of the numbers such as ( 1, 2, 3) <BR>
Why it is always 0 ? (what do these numbers such as 1, 2, 3 Maps <BR>
to ?)<BR>
<BR>
3. protection_absent 1 bit <BR>
<BR>
when we take this as one the it means that we dont need to <BR>
perform the CRC Check, But the question comes that when we<BR>
want to set the value as 1, and value as 0;<BR>
<BR>
i.e<BR>
if (protection_absent == 1) // NO CRC Check is required<BR>
if (protection_absent == 0) // CRC Check is required<BR>
<BR>
So when to fixed the value. as ZERO or ONE for the <BR>
protection_absent ?<BR>
<BR>
4. private_bit 1 bit // What does this indicate ??<BR>
<BR>
5. home 1 bit // What this indicates ?<BR>
<BR>
<BR>
ADTS Variable header: these can change from frame to frame <BR>
<BR>
1. aac_frame_length 13 bits <BR>
length of the frame including header (in bytes) <BR>
<BR>
What does the line means "including header" in bytes, As what i<BR>
suppose that when I see the M4a file then I see all the AU units having the length as the 1024 bytes, So which headers they are <BR>
talking about ?<BR>
<BR>
2. adts_buffer_fullness 11 bits (0x7FF indicates VBR) <BR>
<BR>
But When I see for the bit rate for the m4a file then i get the audio<BR>
bit rate as the 128kbps, means it is fixed ... but what eaxactly <BR>
(0x7FF indicates VBR) this represent as I am having the (I suppose<BR>
Fixed Bit Rate .. So Why they are saying as the Variable Bit Rate)<BR>
<BR>
3. no_raw_data_blocks_in_frame 2 bit <BR>
<BR>
what does this mean ? <BR>
<BR>
Refrence Link <BR>
<BR>
http://www.audiocoding.com/modules/wiki/?page=ADTS&PHPSESSID=d0c503be4481eb5d92e0ed51cd8637de<BR>
<BR>
Note: Above link may be broken so please take the consideration of <BR>
this<BR>
<BR>
I regret if I mis understood some thing as I am Newbe, please do <BR>
correct me.<BR>
<BR>
Thanks In Advance.<BR>
Ranjeet<BR>
<BR>
<BR>
<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>