问题描述:
1、AAC编码的调用流程非RPE接口调用,自己在DSP上另起线程运行;
2、自己写的代码在c674x(TI8168)平台上运行正常,编码AAC保存文件在Window上用播放器播放声音正常;
3、将相同的代码(基于可以确定为一样)移植到c66x(am5728)平台上运行,运行200多帧编码后,DSP会挂死,原因不明;
4、c66x的运行环境是没有问题,使用TI官方库g711a/u、g722、g7221、g7221_c、opus库编码解码均正常;
5、官方说c66x支持c674x、c64x的兼容,目前c64x的库确实可用,但是c674x的AAC编码就是跑不过,不知道是什么原因?
期望:
1、不知道有没有针对c66x的AAC编码解码,官方提供了g711a/u、g722、g7221、g7221_c、opus,就是没有AAC的;
有一个针对c64x的,但是是coff的,我的是运行环境不能识别,求解!!!3QQQQ!!!
——————————————————————————–
AAC配置参数:
DSP1->: AacParam:aot:2 quality:1 transMode:0
DSP1->: audenc_params:size :64
DSP1->: audenc_params.sampleRate:48000
DSP1->: audenc_params.bitRate:96000
DSP1->: audenc_params.channelMode:1
DSP1->: audenc_params.dataEndianness:2
DSP1->: audenc_params.encMode:0
DSP1->: audenc_params.inputFormat:1
DSP1->: audenc_params.inputBitsPerSample:16
DSP1->: audenc_params.maxBitRate:128000
DSP1->: audenc_params.dualMonoMode:0
DSP1->: audenc_params.crcFlag:0
DSP1->: audenc_params.ancFlag:0
DSP1->: audenc_params.lfeFlag:0
———————————————————————————-
DSP1->: encDynParams.audenc_dynamicparams.size:28
DSP1->: encDynParams.audenc_dynamicparams.bitRate:96000
DSP1->: encDynParams.audenc_dynamicparams.sampleRate:48000
DSP1->: encDynParams.audenc_dynamicparams.channelMode:1
DSP1->: encDynParams.audenc_dynamicparams.lfeFlag:0
DSP1->: encDynParams.audenc_dynamicparams.dualMonoMode:0
DSP1->: encDynParams.audenc_dynamicparams.inputBitsPerSample:16
——————————————————————————————————–
DSP挂死打印如下:
[ 273.204722] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.211761] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.219420] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.226415] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.234085] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.241109] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.248788] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.255782] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.263438] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.270456] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.278085] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.285105] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.292782] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.299809] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
[ 273.307439] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 273.314456] omap-rproc 40800000.dsp: failed to send mailbox message, status = -105
Andy Yin1:
参考如下类似问题帖子,TI没有相应的C66上的AAC
https://e2e.ti.com/support/arm/sitara_arm/f/791/t/573943?tisearch=e2e-quicksearch&keymatch=AAC%20for%20c66
zhen zeng1:
回复 Andy Yin1:
好久没上了,把这个给忘记了,链接上的AAC这个我之前就下载过,是COFF格式的,没法使用,