hello, every one!
I want to replace the h264 codec with videnc1_copy and viddec2_copy, and do some simple image processing. The encodedecode demo uses the video.x64P I built.
in the video_copy.cfg, I add
var VIDDEC2_COPY = xdc.useModule('ti.sdo.ce.examples.codecs.viddec2_copy.VIDDEC2_COPY');
var VIDENC1_COPY = xdc.useModule('ti.sdo.ce.examples.codecs.videnc1_copy.VIDENC1_COPY');
Server.algs = [
{name: "h264enc", mod: H264ENC,groupId:0,threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 1}
},
{name: "h264dec", mod: H264DEC,groupId:1,threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 1}
},
{name: "viddec2_copy", mod: VIDDEC2_COPY, threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 2}, groupId : 0,
},
{name: "videnc1_copy", mod: VIDENC1_COPY, threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 2}, groupId : 0,
}
];
Server.algs = [
{name: "h264enc", mod: H264ENC,groupId:0,threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 1}
},
{name: "h264dec", mod: H264DEC,groupId:1,threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 1}
},
{name: "viddec2_copy", mod: VIDDEC2_COPY, threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 2}, groupId : 0,
},
{name: "videnc1_copy", mod: VIDENC1_COPY, threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 2}, groupId : 0,
}
];
but when I run the CE_DEBUG=3 ./encodedecode, the error are as follows
failed to encode the video buffer
can anybody help me?
thankyou!
zhiqiang li