Platform: EZSDK 55_05_02_00, Ubuntu 11.10, DM814x
The instruction (http://processors.wiki.ti.com/index.php/OMX_AAC_LC_Encoder_Integration_in_EZSDK) is great, but I had to make minor change to:
Step 5 (Exclude 'omxbase')
COMP_LIST_c6xdsp = memcfg domx omxcore vlpb adec aenc
Step 6 (Exclude 'aaclcdec')
CODECS_IN_APP = aaclcenc
--------------------- Test process --------------------
1. Audio encoding using the microphone as the audio source - successful!
2. Audio encoding using the input file
Sample audio source: http://download.wavetlan.com/SVV/Media/HTTP/http-aac.htm (Test #7 download!)
Test a (1-ch output file) - Output file only contains white noise:
# ./audio_encode_a8host_debug.xv5T -i /media/sda1/Test7-AAC_AAC-LC_Stereo_96kbps_44100Hz-EC-WT.AAC -o /media/sda1/out/Test7.aac -c aaclc -n 1 -b 96000 -s 44100 -f ADTS
Test b (2-ch output file) - Error:
# ./audio_encode_a8host_debug.xv5T -i /media/sda1/Test7-AAC_AAC-LC_Stereo_96kbps_44100Hz-EC-WT.AAC -o /media/sda1/out/Test7-2ch.aac -c aaclc -n 2 -b 96000 -s 44100 -f ADTS
------------------------------ Questions -------------
I. Do I have to include 'omxbase' in Step 5?
II. Since the audio source is 2-channel, so encoding it using 1-channel would fail - right?
III. Is anything wrong with the input Test7 audio file? If yes, could you please provide the link to the correct audio file.
Regards,
g