Hi All,
Using dm365_aaclcenc_3_5_00 and dm365_aaclcdec_6_1_00 production codecs, I encode the audio using aacenc with ADTS headers just fine. It plays correctly in VLC and mplayer. But when I try to decode the file using aacdec, no bytes are consumed nor output, and the Adec1_process call returns no errors. The Adec1 is configured with ITTIAM_ENHAACPDEC_Params aacParams = ENHAACPDECODER_ITTIAM_PARAMS;
aacParams.i_max_channels = 2
.i_flag_08khz_out = 0
.i_flag_16khz_out = 0
.i_interleave = 1
.i_disable_sync = 0
.i_mp4_flag = 0
.i_sampfreq = 48000
.i_coupling_channel = 0
I tried i_disable_sync = 1, but that didn't work either.
Here's what I see when I print the results of the Adec1_process call, and the first few bytes sent:
audioPlaybackThrFxn: AAC process consumed 0, size 512, output 0
ff f9 4c 80 40 1f fc 21 20 03 40 68 1b ff c0 00
audioPlaybackThrFxn: AAC process consumed 0, size 677, output 0
ff f9 4c 80 54 bf fc 21 4e 6c fe ff 3f ff ff ff
audioPlaybackThrFxn: AAC process consumed 0, size 562, output 0
ff f9 4c 80 46 5f fc 21 7c 4b bd 7b ff ff ff fe
audioPlaybackThrFxn: AAC process consumed 0, size 542, output 0
ff f9 4c 80 43 df fc 21 1c 4f b9 fe ff ff ff fe
I can encode and decode successfully without ADTS headers, but I need to use ADTS headers for this application. Any suggestions?
Here's the file: 2055.output.aac