Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: how can i use the faad2 to decode the HE-AAC audio stream? (Read 8354 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

how can i use the faad2 to decode the HE-AAC audio stream?

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!

how can i use the faad2 to decode the HE-AAC audio stream?

Reply #1
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.

how can i use the faad2 to decode the HE-AAC audio stream?

Reply #2
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.

how can i use the faad2 to decode the HE-AAC audio stream?

Reply #3

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

 

how can i use the faad2 to decode the HE-AAC audio stream?

Reply #4
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