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.

h264venc-r demo hangs

Hello,

I'm playing with a demo of h264 encoder on dm365 processor running linux from dvsdk 4.02. When I run the demo on the evm board using precompiled kernel from the dvsdk, it runs ok and encodes 5 frames of testing data. However when I try to use kernel compiled by myself (codesourcery build) using dm365evm_defconfig the h264venc-r hangs with following output

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 = 38912
CODEC_DEBUG_ENABLE: First Encoder Creation Done
CODEC_DEBUG_ENABLE: 2nd Library Version @(#)Id:H264VENC_TI Ver:02.20.00.01 Released by:DEV_2
10_V_H264_E_HP_DM365_02_20_00_01 Built:Feb 11 2011 16:43:57
CODEC_DEBUG_ENABLE: Size of I/P buffer:101376
CODEC_DEBUG_ENABLE: Size of I/P buffer:50688
CODEC_DEBUG_ENABLE: Output stream buffer size:152064
CODEC_DEBUG_ENABLE: Starting Encode... 

Using gdbserver debuging i discovered that the programs waits in some ioctl call in VICP_wait() function. Debugger shows this in call stack.

Does please anybody have some advice, how to solve this problem? Encoding using encode demo works well on the kernel with these issues.

best regards
Jan 

  • Solved by myself - there was problem in linuxutils version - I have played with newer version that it is originally contained in dvsdk 4.02 and it is probably not compatible with h264venc-r. (Even if all parts were compiled against the same version)

    regards
    Jan