Hi All,
I am trying to run the capture encode demo on dm816x platform using below command for 720p using tvp7002.
./capture_encode_a8host_debug.xv5T -o sample.h264 -m 720p -f 30 -b 6000000 -d 0 -n 1000
But is failing to get the chipid.
Please find the below loggerSM logs:
N:VPSS P:2 #:00744 T:00000007f95f3c27 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<_OMX_BASE_HandleStateTransition> @line<339> msg<Loaded to Idle Transition>
N:VPSS P:2 #:00745 T:00000007f95fd419 M:xdc.runtime.Main S:Entered _OMX_CTRLTvpDrvCreate: 569
N:VPSS P:2 #:00746 T:000000080842e857 M:xdc.runtime.Main S:Created Driver Video DecoderId: 1025
N:VPSS P:2 #:00747 T:0000000808450bc9 M:xdc.runtime.Main S:FVID Control GetChipId Failed:
N:VPSS P:2 #:00748 T:0000000808456d4d M:xdc.runtime.Main S: OMX Error in Omx_Capture_createVideoDecoder :: line 1147
N:VPSS P:2 #:00749 T:000000080845d489 M:xdc.runtime.Main S: OMX Error in _OMX_CTRLTvpDrvCreate :: line 591
N:VPSS P:2 #:00750 T:00000008084633fb M:xdc.runtime.Main S: OMX Error in OMX_TI_CTRL_CommandNotify :: line 834
N:VPSS P:2 #:00751 T:00000008084694c3 M:xdc.runtime.Main S: OMX Error in _OMX_BASE_HandleStateTransition :: line 344
N:VPSS P:2 #:00752 T:00000008084704c9 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<_OMX_BASE_HandleStateTransition> @line<483> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:00753 T:00000008084ad81d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:00754 T:00000008084b816d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:00755 T:00000008084c0f47 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
N:VPSS P:2 #:00756 T:00000008084c93c9 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
I have enabled remote debug server, and captured m3vpss logs also, it says
===============================
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) applying skip mask
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 = 1920, height = 1080)set number of channelsset input resolutionset output resolutionenable dei input port
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 0x1244f8 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x128500 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
[m3vpss ] tvp7002/src/vpsdrv_tvp7002I2c.c @ Line 865:
[m3vpss ] I2C read failed.
Please guide me on the above issue.
Thanks & Regards,
Shalini M