Hi,
We are using 8168 EVM with expansion IO board Rev. D. We are using ezsdk 5_05_02_00. We are trying to run in buily capture encode demo. We following below steps.
/etc/init.d/matrix-gui-e stop
/etc/init.d/pvr-init stop
/usr/share/ti/ti-omx/capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 60 -b 10000000 -d 0 -n 1000
The input is 1080P from a DVD player. Display mode is also 1080P60.
On running the application we are gtting following log.
output file: sample.h264
bit_rate: 10000000
frame_rate: 60
num_frames: 1000
mode: 1080p
display_id: 0
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: 3110400
set input port params (width = 1920, height = 1080)enable capture output port
got eventEnable/Disable Event
dei compoenent is created
set input port params (width = 1920, height = 1080)
set output port params (width = 1920, height = 1080)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: 4147200
set input port params (width = 1920, height = 1080)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
loggerSMdump binary show logs:
N:VPSS P:2 #:00703 T:000000114353cea9 M:xdc.runtime.Main S:Module<ti.omx> @<domxtmgr_register_skelinfo> @line<417> msg<OmxRpcRcmServer_OMX.TI.VPSSM3.CTRL.DC_Ctrl_2_4>
N:VPSS P:2 #:00704 T:00000011435486df M:xdc.runtime.Main S:OmxRpc_rcmIfGetHandle:ComponentName:OmxRpcRcmServer_OMX.TI.VPSSM3.CTRL.DC_Ctrl_2_4.Exiting..
N:VPSS P:2 #:00705 T:000000114417949b M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_GetParameter> @line<695>
N:VPSS P:2 #:00706 T:0000001144183561 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_GetParameter> @line<858> with error<0:ErrorNone>
N:VPSS P:2 #:00707 T:00000011441b2483 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
N:VPSS P:2 #:00708 T:00000011441bab89 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
N:VPSS P:2 #:00709 T:00000011442487b7 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
N:VPSS P:2 #:00710 T:0000001144250e91 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
N:VPSS P:2 #:00711 T:0000001144276b93 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SendCommand> @line<499>
N:VPSS P:2 #:00712 T:0000001144283885 M:xdc.runtime.Main S:OMX_BASE_SendCommand:OMX_CommandPortEnable, nParam1: 0
N:VPSS P:2 #:00713 T:000000114428d8a9 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
N:VPSS P:2 #:00714 T:000000114429f2f3 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
N:VPSS P:2 #:00715 T:00000011442a9337 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
N:VPSS P:2 #:00716 T:00000011442b0631 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdEvent> @line<631> msg<Processing OMX_CommandPortEnable>
N:VPSS P:2 #:00717 T:00000011442b8ae3 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EnablePort> @line<777>
N:VPSS P:2 #:00718 T:00000011442bf773 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EnablePort> @line<815> with error<0:ErrorNone>
N:VPSS P:2 #:00719 T:00000011442c7b1b M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CB_ReturnEventNotify> @line<100>
N:VPSS P:2 #:00720 T:00000011442ceb2d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_CB_ReturnEventNotify> @line<121> msg<Notify client for port enable>
N:VPSS P:2 #:00721 T:00000011442d719d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CB_ReturnEventNotify> @line<224> with error<0:ErrorNone>
N:VPSS P:2 #:00722 T:00000011442e252d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<0:ErrorNone>
N:VPSS P:2 #:00723 T:00000011442ea8ff M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
N:VPSS P:2 #:00724 T:00000011442f395d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdCompleteEventHandler> @line<483>
N:VPSS P:2 #:00725 T:00000011442fab40 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdCompleteEvent> @line<809>
N:VPSS P:2 #:00726 T:0000001144302041 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdCompleteEvent> @line<869> msg<Processing OMX_CommandPortEnable>
N:VPSS P:2 #:00727 T:000000114430a0d3 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EventNotifyToClient> @line<881>
N:VPSS P:2 #:00728 T:000000114433ea7d M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_SendCommand> @line<499>
N:VPSS P:2 #:00729 T:000000114434aee1 M:xdc.runtime.Main S:OMX_BASE_SendCommand:OMX_CommandStateSet, nParam1: 2
N:VPSS P:2 #:00730 T:0000001144355473 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
N:VPSS P:2 #:00731 T:0000001144374089 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EventNotifyToClient> @line<1172> with error<0:ErrorNone>
N:VPSS P:2 #:00732 T:000000114437d6f9 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdCompleteEvent> @line<930> with error<0:ErrorNone>
N:VPSS P:2 #:00733 T:000000114438588b M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdCompleteEventHandler> @line<496> with error<0:ErrorNone>
N:VPSS P:2 #:00734 T:000000114438d48f M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
N:VPSS P:2 #:00735 T:0000001144394d3f M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
N:VPSS P:2 #:00736 T:000000114439f067 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
N:VPSS P:2 #:00737 T:00000011443a7eff M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
N:VPSS P:2 #:00738 T:00000011443aeddb M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<OMX_BASE_PROCESS_CmdEvent> @line<538> msg<Processing OMX_CommandStateSet>
N:VPSS P:2 #:00739 T:00000011443b70ab M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<_OMX_BASE_HandleStateTransition> @line<316>
N:VPSS P:2 #:00740 T:00000011443be09f 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 #:00741 T:00000011443c6db7 M:xdc.runtime.Main S:Entered _OMX_CTRLTvpDrvCreate: 569
N:VPSS P:2 #:00742 T:0000001153248551 M:xdc.runtime.Main S:Created Driver Video DecoderId: 1025
N:VPSS P:2 #:00743 T:0000001153268165 M:xdc.runtime.Main S:FVID Control GetChipId Success:
N:VPSS P:2 #:00744 T:000000115327608b M:xdc.runtime.Main S: OMXCTRL_TVP: VIP 0: VID DEC 0401 (0x5d): 7002:0002:0000
N:VPSS P:2 #:00745 T:0000001170faf577 M:xdc.runtime.Main S:FVID Control SetVideoMode Failed:
N:VPSS P:2 #:00746 T:0000001170fb647b M:xdc.runtime.Main S: OMX Error in Omx_Capture_createVideoDecoder :: line 1185
N:VPSS P:2 #:00747 T:0000001170fbc71d M:xdc.runtime.Main S: OMX Error in _OMX_CTRLTvpDrvCreate :: line 591
N:VPSS P:2 #:00748 T:0000001170fc26cb M:xdc.runtime.Main S: OMX Error in OMX_TI_CTRL_CommandNotify :: line 834
N:VPSS P:2 #:00749 T:0000001170fc872d M:xdc.runtime.Main S: OMX Error in _OMX_BASE_HandleStateTransition :: line 344
N:VPSS P:2 #:00750 T:0000001170fcef81 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 #:00751 T:000000117100b0e7 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 #:00752 T:0000001171014f81 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 #:00753 T:000000117101dac1 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
N:VPSS P:2 #:00754 T:0000001171025785 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
Can you help us to solve this issue ?
Regards,
Devang