先说下环境。。
系统 ubuntu 12.04
dvsdk版本ti_dvsdk_omapl138-evm_04_03_00_06,其中CodecEngine版本是2.26.02.11,
G729ABDEC和G729ABENC的版本是1.12.001。
(以下$(CodecEngine)是CodecEngine安装目录,$(dvsdk)是dvsdk安装目录,其实CodecEngine就在dvsdk根目录下)
然后我将G729安装包中g729abdec和g729abenc拷到 $(CodecEngine)/examples/ti/sdo/ce/examples/codecs/目录下。
修改$(CodecEngine)/examples/ti/sdo/ce/examples/servers/all_codecs/目录下的all.cfg文件。
在里面添加了两处:
var G729ABDEC = xdc.useModule('ti.sdo.ce.examples.codecs.g729abdec.G729ABDEC');
var G729ABENC = xdc.useModule('ti.sdo.ce.examples.codecs.g729abenc.G729ABENC');
和
{name: "g729abdec", mod: G729ABDEC, groupId:0, threadAttrs: {
stackMemId: 0, priority: Server.MAXPRI}
},
{name: "g729abenc", mod: G729ABENC, groupId:0, threadAttrs: {
stackMemId: 0, priority: Server.MAXPRI}
}
最后在$(dvsdk)目录下执行make ceexamples_servers 提示
js: "./all.cfg", line 128: XDCException: xdc.PACKAGE_NOT_FOUND: /home/nephilim/tools/ti-dvsdk_omapl138-evm_04_03_00_06/codec-engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/g729abdec/package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.sdo.ce.examples.codecs.g729abdec' is completely built.
"./package/cfg/bin/ti_platforms_evmOMAPL138/all_x674.cfg", line 778
"./package/cfg/bin/ti_platforms_evmOMAPL138/all_x674.cfg", line 737
gmake[1]: *** [package/cfg/bin/ti_platforms_evmOMAPL138/all_x674.c] 错误 1
网上搜了一下,好像意思是g729abdec没有被编译,可是g729abdec下面只有xdc的配置文件和一个g729abdec_tii.l64P文件,没有源码。
对xdc不是很明白,这个问题要怎么解决?求助。。。。。。
Tony Tang:
应该是配置有地方不对,看看下面两个链接:
http://processors.wiki.ti.com/index.php/How_do_I_Integrate_new_codecs_into_DVSDK?keyMatch=integrate%20codec%20sever&tisearch=Search-EN
http://processors.wiki.ti.com/index.php/Integrating_a_Codec_Engine?keyMatch=integrate%20codec%20sever&tisearch=Search-EN