This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 H264 sub-window encoding



Hi,

I am using dvsdk_dm365-evm_4_02_00_06 and H.264 Encoder Version 02.20.00 and trying to perform the sub-window encodeing.

I modified the DMAI demo encodedecode as following before invoking Venc1_create().

         encDynParams->inputWidth    = envp->imageWidth / 2;

         ecDynParams->captureWidth = envp->imageWidth;


But when the app was run an error accurred:

@1,704,686us: [+7 T:0x41f34490] ti.sdo.dmai - [Venc1] VIDENC1_process() failed with error (-1 ext: 0x8006)
Error: Failed to encode video buffer

Does anyone have the exmaple codes to do this?

Thanks.