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.

DM368 h264venc-r error

Hi Champs,

I have a problem to run the H.264 enc Sample Test Application on DM368 EVM with DVSDK. The compilation of executable file h264venc-r was succeeded, but at running this file on DM368 Linux, it failed with error.

- Use DVSDK_4.02 4_02_00_06
- Refer "h264_encoder_dm365_userguide.pdf" for compiling and running sample test app
- Use default parameters in testparams.cfg

- Note:
1) I replaced codec engine package from DVSDK original to downloaded "codec_engine_2_26_01_09" because "cetools" directory is included in original package in DVSDK, so error was output when make h264venc-r.
2) Use cmemk.ko, edmak.ko, irqk.ko in targetfs directory that installed when setup DVSDK, not modules in codec package. Because "cmemk: no symbol version for module_layout" error was output with codec package modules when running loadmodules_h264enc.sh.

When run "h264venc-r", the following error was output and stopped process.

---------------------------------- Error log ---------------------------------------

root@dm368-evm:~/h264enc/apps/client/build/arm926# ./h264venc-r
CODEC_DEBUG_ENABLE: ADDRSPACE Protocol Registration Success
CODEC_DEBUG_ENABLE: MEMTCM Protocol Registration Success
CODEC_DEBUG_ENABLE: Reading Configuration file ../../../test/testvecs/config/testparams.cfg...
CODEC_DEBUG_ENABLE: Reading Configuration file ../../../test/testvecs/config/ROIparams.cfg...
CODEC_DEBUG_ENABLE: Running in Output Dump Mode

 memTab[0].size = 1808
 memTab[1].size = 5272
 memTab[2].size = 5272
 memTab[3].size = 20480
 memTab[4].size = 2048
 memTab[5].size = 13305600
 memTab[6].size = 896
 memTab[7].size = 52628
 memTab[8].size = 52628
 memTab[9].size = 67072
 memTab[10].size = 131072
 memTab[11].size = 262144
 memTab[12].size = 640
 memTab[13].size = 49152
 memTab[14].size = 38912CODEC_DEBUG_ENABLE: ERROR! - Encoder Creation FailedCODEC_DEBUG_ENABLE: Free Resource Failed
root@dm368-evm:~/h264enc/apps/client/build/arm926#

 

Any idea what did cause this problem and how can I resolve?

Best regards,
Ayumi

  • Hello,

    It looks like the encoder creation has failed. This is due to wrong parameter setting. Could you post the encoder parameters.

    Along the path \ti\sdo\codecs\h264enc\lib you can find debug library h264venc_ti_arm926_debug.a. Use this library to build the application and run. It will generate logs from which it is possible to identify which parameter was set incorrectly.