This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error: aac_encoder example can not encode 5 channels

Hi everyone,

I have been trying to use aac_encoder example for 5 channels without success. According to information usage the example should be able to support 1,2,5 and 6 channels. The input file was created to contain a certain signal (sine, square, etc) per channel

This is the log for 5 channels:

/ # ./audio_encode_a8host_debug.xv5T -i audio.raw -o output.aac -c aaclc -n 5 -b 192000 -s 44100 -f ADTS
input_file: audio.raw
output_file: output.aac
codec: aaclc
no of channnels :5
bitrate : 192000
samplerate : 44100
outputformat :ADTS
===============================
Audio Encoder Example
Encoder returned an error while creating. Check your input parameters
Audio Encode Test End
Done!

On the other hands, I tested it for 2 channels (stereo) and the aac_encoder examples runs successfully!

This is the log for 2 channels:

/ # ./audio_encode_a8host_debug.xv5T -i audio.raw -o output.aac -c aaclc -n 2 -
b 192000 -s 44100 -f ADTS
input_file: audio.raw
output_file: output.aac
codec: aaclc
no of channnels :2
bitrate : 192000
samplerate : 44100
outputformat :ADTS
===============================
Audio Encoder Example
Component transitioned from Idle to Execute
FileSize : 47134720
etb called
encoded: 011507
Received End of stream
Going to Idle
Going to Loaded
Freeing buffers
Component transitioned from Idle to Loaded
Audio Encode Test End
Done!

I'm using ti-ezsdk-5_05_02_00 version on the TI8168 EVM board.

Does anyone know how I can encode multichannel(5 channels) using the aac_encoder example?

or

which modifications do I need to do to support multichannel into ti-ezsdk-5_05_02_00?

Best Regards

Angel