IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
how can i use the faad2 to decode the HE-AAC audio stream?
iohazard02001
post Mar 19 2008, 08:24
Post #1





Group: Members
Posts: 4
Joined: 18-March 08
Member No.: 52117



I have used the faad2 to decode successfully the aac audio stream of DVB-H,
but now i have some problem to decode the HE-AAC audio stream.

I can't use the same way which to decode the aac to decode the HE-AAC.

In my opinion, the open source "faad2" need to determine the type of audio stream.

I think the faad2 default audio type is AAC - LC,
because in the main.c has this code "int object_type = LC;"

I modify this code -> "int object_type = HE_AAC;"
but it is still not work ....

how can i solve this problem?

Thanks for the help!
Go to the top of the page
+Quote Post
tebasuna51
post Mar 20 2008, 17:26
Post #2





Group: Members
Posts: 57
Joined: 11-July 06
Member No.: 32807



QUOTE (iohazard02001 @ Mar 19 2008, 08:24) *
I have used the faad2 to decode successfully the aac audio stream of DVB-H,
but now i have some problem to decode the HE-AAC audio stream.

I can't use the same way which to decode the aac to decode the HE-AAC.

In my opinion, the open source "faad2" need to determine the type of audio stream.

I think the faad2 default audio type is AAC - LC,
because in the main.c has this code "int object_type = LC;"

I modify this code -> "int object_type = HE_AAC;"
but it is still not work ....

how can i solve this problem?


Without problem with:

"FAAD 2 for Win32
2004-07-09

FAAD2 is an AAC/MP4 command line audio decoder for Win32. It supports several profiles (LC, LTP, Main, LD, HE, HEv2...), and can playback AAC/MP4 streams."

The type HE is automatically detected.
Go to the top of the page
+Quote Post
menno
post Mar 20 2008, 17:30
Post #3


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



Is it a raw stream? Or LATM? LATM will not work, because faad2 doesn't parse that. In case of a raw stream you have to set the samplerate on the command line, for HE AAC this will be half of the output samplerate.
Go to the top of the page
+Quote Post
iohazard02001
post Mar 23 2008, 11:35
Post #4





Group: Members
Posts: 4
Joined: 18-March 08
Member No.: 52117



QUOTE (tebasuna51 @ Mar 21 2008, 00:26) *
QUOTE (iohazard02001 @ Mar 19 2008, 08:24) *

I have used the faad2 to decode successfully the aac audio stream of DVB-H,
but now i have some problem to decode the HE-AAC audio stream.

I can't use the same way which to decode the aac to decode the HE-AAC.

In my opinion, the open source "faad2" need to determine the type of audio stream.

I think the faad2 default audio type is AAC - LC,
because in the main.c has this code "int object_type = LC;"

I modify this code -> "int object_type = HE_AAC;"
but it is still not work ....

how can i solve this problem?


Without problem with:

"FAAD 2 for Win32
2004-07-09

FAAD2 is an AAC/MP4 command line audio decoder for Win32. It supports several profiles (LC, LTP, Main, LD, HE, HEv2...), and can playback AAC/MP4 streams."

The type HE is automatically detected.


thanks for your reply
but it is look like a .exe file not a source code,

and don't have any document that tell me how to use this....
can you give me more guidance?

thanks for help
Go to the top of the page
+Quote Post
iohazard02001
post Mar 23 2008, 11:51
Post #5





Group: Members
Posts: 4
Joined: 18-March 08
Member No.: 52117



QUOTE (menno @ Mar 21 2008, 00:30) *
Is it a raw stream? Or LATM? LATM will not work, because faad2 doesn't parse that. In case of a raw stream you have to set the samplerate on the command line, for HE AAC this will be half of the output samplerate.


because this code will determine the header type of audio stream
if my acc stream case, the code know the stream is raw
but in the he-aac case, faad2 don't know what the audio stream header type is.
faad2 will show the message: "Error initializing decoder library."

i doubt that maybe have other header encapsulate the raw data of he-aac,


i will survey the LATM
thanks for your reply
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 14:01