Capture-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
openeing file
capture compoenent is created
control TVP compoenent is created
Buffer Size computed: 1382400
set input port params (width = 1280, height = 720)enable capture output port
got eventEnable/Disable Event
dei compoenent is created
set input port params (width = 1280, height = 720)
set output port params (width = 1280, height = 720)set output port params (width = 1280, height = 720)set number of channelsset input resolutionset output resolutionenable dei
got eventEnable/Disable Event
enable dei output port 0
got eventEnable/Disable Event
enable dei output port 1
got eventEnable/Disable Event
encoder compoenent is created
found handle 0x11c2f0 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x11fdf8 for component OMX.TI.VPSSM3.CTRL.DC
Buffer Size computed: 1843200
set input port params (width = 1280, height = 720)setting input and output memory type to defaultenable input port
got eventEnable/Disable Event
connect call for capture-Dei
connect call for dei- encoder
connect call for dei-display
got event*** unrecoverable error: OMX_ErrorUndefined (0x80001001)
Press a key to proceed
这个停在了
ilclient.c, line 910
semp_pend (pAppData->capILComp->done_sem);
使用omtb 报错:
OMTB> omx api sendcommand state tvp 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 80001001
OMTB-FAIL: OMX_ErrorUndefined
OK
======================================================================
OMTB> omx api sendcommand state tvp 0 exec
OMTB-Entering <Thread , instance #> : <OMTB_ClientApiTsk , 0>
OMTB-FAIL: OMX_ErrorIncorrectStateTransition
但是用v4l2可以采集到图像,这个EIO卡只使用了一个TVP7002,只用了一个IIC1 IIC0没有做。请问是哪里可能出问题了?
谢谢!
k m