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.

OMX encode sample error

I decoded a sample MPEG-2 file into sample.yuv and tried to encode to H.264 using the command below.  See the error below.  After the error occurs the sample goes into an infinite loop and pegs the CPU at 100% rather than exiting.

root@dm816x-evm:~# /usr/share/ti/ti-omx/encode_a8host_debug.xv5T -i sample.yuv -o sample.h264 -f 30 -b 3000000 -w 702 -h 480 -c h264

output file: sample.h264

input file: sample.yuv

bit_rate: 3000000

frame_rate: 30

codec: h264

width: 702

height: 480

 Encode example 

===============================

 OMX_Init completed 

 UIAClient is ready to send a UIA configuration command

UIAClient received UIA_CONFIGURE_ACK

UIAClient is done sending requests

UIAClient is ready to send a UIA configuration command

UIAClient received UIA_CONFIGURE_ACK

UIAClient is done sending requests

 opening file 

 encoder component is created 

ERROR: src/ilclient_utils.c: 575: failed to set Encode OMX_IndexParamPortDefinition for input