我下了dm365 aac codec,修改参数,编译也通过。
但是在dm368上运行时,报如下错误:
# ./aaclc_enc_app.x470MVCMEM Error: init: major version mismatch between interface and driver.
CMEM Error: needs driver version 0x3000000, got 0x2300000
-ifile:27.wav -ofile:27_128_tns.aac -br:128000 -tns:1 -adts:1 -aac_only:1Stream bit rate = 128 kbps
CEapp-> Engine Opened: aaclc_enc_engine
CEapp-> ERROR: can't open codec aaclc_enc
Error in initialisation-ifile:27.wav -ofile:27_128_without_tns.aac -br:128000 -tns:0 -adts:1 -aac_only:1Stream bit rate = 128 kbps
CEapp-> Engine Opened: aaclc_enc_engine
CEapp-> ERROR: can't open codec aaclc_enc
Error in initialisation
CMEM.ko Error是dvsdk提供
这个问题如何解决?
谢谢~
GreenTi liu:
回复 GreenTi liu:
问题已经解决~
yang songlin1:
回复 GreenTi liu:
请问怎么解决的,我尝试修改了开发板的内存配置,问题依然没有解决。
•运行 CE_DEBUG=2 ./encode -a yang.aac
•出错!
–CMEMK Error: ioctl(): bad command type 0x0 (should be 0xfe)
–CMEM Error: init: major version mismatch between interface and driver.
–CMEM Error: needs driver version 0x2300000, got 0x3000000
–Can’t open code engine。
GreenTi liu:
回复 yang songlin1:
时间比较久远了。
错误原因好像是内核版本与dvsdk版本不匹配造成的。
我们后来使用mp3进行音频编码