Help - Search - Members - Calendar
Full Version: HE-AAC V2 pattern decoding error with FAAD2.0 latest codes
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - Tech
Arthur.Wang
Hi.
I met with following error while decoding the patterns in the attachment using FAAD latest version codes.
The pattern uploaded is in ADTS format with samplerate 24000 and 1 channel ,using HE-AAC V2 standard.
I can use other codes like "Elecard AAC decoder" to decoding this pattern well, but while in FAAD , it will show "Error: Maximum number of bitstream elements exceeded" .

Can anyone help on this case? Is it because of the pattern's bad frame data or because of FAAD's limited capability?


Thanks...


Relative pattern is uploaded in:
http://www.hydrogenaudio.org/forums/index....0&gopid=386816&
Garf
Works fine for me with latest commercial FAAD2, so this must be a bug in the open source version.
optimus
I tried to play it with MPlayer (which uses faad2), Winamp5 and foobar.
MPlayer can't play it. Winamp5 plays it well. Foobar plays it with some abnormal noise.
How did you encode this file (好像是从中央电视台录下来的哦 laugh.gif ).

PS: It's average bitrate is around 64kbps but Parametric Stereo is enabled, why?
Arthur.Wang
Jesus!!
//handshake

:-) This file is extracted from an TS stream . After got the payload--raw HE-AAC data, I add an ADTS header(according to the decoder specific parameters which are stored somewhere ) to each raw data block to form up an decoder-coincidental file format .


Since I saw Garf's answer, I have done some little change to the released FAAD2 codes to skip those "error" frames . Now it can keep on to the end, but the result decoded data is just like optimus said --"Foobar plays it with some abnormal noise" .

Yeah, I have some other codecs on hand which can play this file perfectly... But none of them has source codes.. :-( ..
donquicoke
Hi Experts,

I met the same problems with Arthur (18 months later) when decoding raw HE-AAC TS stream received in China. I use both Faad2 and the ISO reference decoder. In my debuging, the AAC de-huffman part seems to use up the input encoded bits and then decoder can not do SBR decoding and exits.

I am wondering what kind of bug it is in the ISO reference decoder and Faad. Is it like a mis-understanding of the standard (i have 14496-3:2005 at hand)? Or it goes with the older/newer version of the standard?

Many thanks in advance!
menno
Are you sure the decoder gets initialised with the correct samplerate (that is the LC AAC samplerate)?
qwdu
I met the same problems when decoding raw HE-AAC TS stream received in China,I use faad2
donquicoke
QUOTE(menno @ Oct 9 2007, 00:56) *

Are you sure the decoder gets initialised with the correct samplerate (that is the LC AAC samplerate)?


Yes, all the decoder configurations are fine. This error occurs on roughly 3% of the total frames.
menno
Can you post (a part of) the stream somewhere?
donquicoke
QUOTE(menno @ Oct 9 2007, 04:05) *

Can you post (a part of) the stream somewhere?


AAC+SBR+PS, 24kHz

http://www.hydrogenaudio.org/forums/index....showtopic=58086
qwdu
QUOTE(menno @ Oct 9 2007, 00:56) *

Are you sure the decoder gets initialised with the correct samplerate (that is the LC AAC samplerate)?

Yes,you are right! the problem has been solved!Thank you very much!
donquicoke
QUOTE(qwdu @ Oct 9 2007, 22:51) *

QUOTE(menno @ Oct 9 2007, 00:56) *

Are you sure the decoder gets initialised with the correct samplerate (that is the LC AAC samplerate)?

Yes,you are right! the problem has been solved!Thank you very much!


Clear enough that we are not talking about the same problem ....
qwdu
QUOTE(donquicoke @ Oct 9 2007, 23:55) *

QUOTE(qwdu @ Oct 9 2007, 22:51) *

QUOTE(menno @ Oct 9 2007, 00:56) *

Are you sure the decoder gets initialised with the correct samplerate (that is the LC AAC samplerate)?

Yes,you are right! the problem has been solved!Thank you very much!


Clear enough that we are not talking about the same problem ....

I'm sorry for interrupting,You can go on whatever time you like:)
menno
I would check your encoder because the file is simply broken as far as I can see.
donquicoke
QUOTE(menno @ Oct 10 2007, 02:48) *

I would check your encoder because the file is simply broken as far as I can see.


i am sorry i don't have the encoder because the stream is received from T-DMB broadcasting.
menno
DMB uses BSAC, not AAC
donquicoke
QUOTE(menno @ Oct 10 2007, 03:26) *

DMB uses BSAC, not AAC


DMB also supports HE-AAC V2, please see ETSI TS 102 428.
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-2008 Invision Power Services, Inc.