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.

8168 EVM ccapture encode demo failure

Other Parts Discussed in Thread: TVP7002

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

  • Hello,

    Are you using the default capture_encode demo and the default ezsdk?

    How this dvd player is connected to the board?

    BR
    Margarita
  • Yes, margarita, we are using default capture_encode demo.

    The DVD player is connected to the via component cables.

    Let me know if you need more information.

    Regards,
    Devang
  • Hello,

    I will check about this error.

    BR
    Margarita
  • Hello,

    Could you check the connection between EVM with EIO daughter card?

    Check is the modes are set to 1080p also.

    BR

    Margarita

  • Hi Margarita,

    We have chekcked the connections and they seems to be proper. We have also check the mode , and that is 1080p. We also tried to capture resolution 720p. But that also didnt work.

    Regards,
    Devang
  • Hello,

    Could you check is the decode_display demo works?

    BR
    Margarita
  • Hi,

    We are able to run decode_display demo with 1080p resolution, but capture_encode demo is getting failed after connecting all the components.

    BR,
    Devang
  • Hello,

    I am seeing that is successfully obtains chipID but is it is failing on set video capture mode. Could you confirm that your video source is able to provide 1920x1080 and it is YpbPr source connected with component cable to J7-J6-J5 connectors.

    BR
    Margarita
  • Hi margarita,


    Actually we need to run capture_encode demo on our custom board (designed in alignment with 8168EVM). We are facing issue while running the capture encode demo on it.

    So we take out an EVM (with expansion IO board Rev D ) and try to run the capture encode demo on it, but it was giving the same error message as we were getting on our custom board.


    Just now, I have borrowed an another EVM (expansion baord Rev C). I am successfully able to run the capture encode demo on with same set-up (Just replaced the EVM, rest all remain same including input output , binaries, filem system etc).

    So can you please help us to identify the root cause for why we are not able to run capture encode demo on one EVM and on our custom board.

    BR,

    Devang

  • Hi,

    Below are the logs we are getting on our custom board. So that you can get more idea.

    N:VPSS P:2 #:00697 T:000000073511e64d S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<985> msg<After RcmClient_Params_init>
    N:VPSS P:2 #:00698 T:0000000735124591 S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<990> msg<Before RcmClient_create>
    N:VPSS P:2 #:00699 T:00000007351900a7 S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<992> msg<After RcmClient_create>
    N:VPSS P:2 #:00700 T:00000007351987d5 S:main: calling RcmClient_getSymbolIndex(OmxRpcCbEventHandler)
    N:VPSS P:2 #:00701 T:00000007351c187d S:main: calling RcmClient_getSymbolIndex(OmxRpcCbEmptyBufferDone)
    N:VPSS P:2 #:00702 T:00000007351e1f95 S:main: calling RcmClient_getSymbolIndex(OmxRpcCbFillBufferDone)
    N:VPSS P:2 #:00703 T:0000000735205fdb 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:0000000735211f17 S:OmxRpc_rcmIfGetHandle:ComponentName:OmxRpcRcmServer_OMX.TI.VPSSM3.CTRL.DC_Ctrl_2_4.Exiting..
    N:VPSS P:2 #:00705 T:000000073570fc85 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_GetParameter> @line<695>
    N:VPSS P:2 #:00706 T:0000000735717710 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_GetParameter> @line<858> with error<0:ErrorNone>
    N:VPSS P:2 #:00707 T:0000000735747421 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS P:2 #:00708 T:000000073574e52d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS P:2 #:00709 T:00000007357e1da3 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS P:2 #:00710 T:00000007357e8d07 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS P:2 #:00711 T:000000073580c817 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS P:2 #:00712 T:000000073581735f S:OMX_BASE_SendCommand:OMX_CommandPortEnable, nParam1: 0
    N:VPSS P:2 #:00713 T:0000000735820181 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS P:2 #:00714 T:0000000735830f8d S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS P:2 #:00715 T:000000073583bf75 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS P:2 #:00716 T:0000000735841c7d S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdEvent> @line<631> msg<Processing OMX_CommandPortEnable>
    N:VPSS P:2 #:00717 T:0000000735848ec3 S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EnablePort> @line<777>
    N:VPSS P:2 #:00718 T:000000073584e7b5 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EnablePort> @line<815> with error<0:ErrorNone>
    N:VPSS P:2 #:00719 T:0000000735855837 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CB_ReturnEventNotify> @line<100>
    N:VPSS P:2 #:00720 T:000000073585b94d S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_CB_ReturnEventNotify> @line<121> msg<Notify client for port enable>
    N:VPSS P:2 #:00721 T:00000007358630c5 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CB_ReturnEventNotify> @line<224> with error<0:ErrorNone>
    N:VPSS P:2 #:00722 T:0000000735869883 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<0:ErrorNone>
    N:VPSS P:2 #:00723 T:000000073586fda5 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS P:2 #:00724 T:0000000735876fdf S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdCompleteEventHandler> @line<483>
    N:VPSS P:2 #:00725 T:000000073587cdc5 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdCompleteEvent> @line<809>
    N:VPSS P:2 #:00726 T:00000007358829fd S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdCompleteEvent> @line<869> msg<Processing OMX_CommandPortEnable>
    N:VPSS P:2 #:00727 T:0000000735889b0d S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EventNotifyToClient> @line<881>
    N:VPSS P:2 #:00728 T:00000007358bdfb7 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS P:2 #:00729 T:00000007358c914f S:OMX_BASE_SendCommand:OMX_CommandStateSet, nParam1: 2
    N:VPSS P:2 #:00730 T:00000007358d2395 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS P:2 #:00731 T:00000007358e9d2b S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EventNotifyToClient> @line<1172> with error<0:ErrorNone>
    N:VPSS P:2 #:00732 T:00000007358f1067 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdCompleteEvent> @line<930> with error<0:ErrorNone>
    N:VPSS P:2 #:00733 T:00000007358f7eb3 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdCompleteEventHandler> @line<496> with error<0:ErrorNone>
    N:VPSS P:2 #:00734 T:00000007358feebf S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS P:2 #:00735 T:00000007359051d1 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS P:2 #:00736 T:000000073590e4e5 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS P:2 #:00737 T:0000000735916085 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS P:2 #:00738 T:000000073591beb5 S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<OMX_BASE_PROCESS_CmdEvent> @line<538> msg<Processing OMX_CommandStateSet>
    N:VPSS P:2 #:00739 T:0000000735922dc1 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<_OMX_BASE_HandleStateTransition> @line<316>
    N:VPSS P:2 #:00740 T:0000000735928c9b S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<_OMX_BASE_HandleStateTransition> @line<339> msg<Loaded to Idle Transition>
    N:VPSS P:2 #:00741 T:00000007359336a5 S:Entered _OMX_CTRLTvpDrvCreate: 569
    N:VPSS P:2 #:00742 T:000000073594f9df S:Driver Creation Failed: Video DecoderId: 1025
    N:VPSS P:2 #:00743 T:000000073595407d S: OMX Error in Omx_Capture_createVideoDecoder :: line 1110
    N:VPSS P:2 #:00744 T:0000000735958c2b S: OMX Error in _OMX_CTRLTvpDrvCreate :: line 591
    N:VPSS P:2 #:00745 T:000000073595d06f S: OMX Error in OMX_TI_CTRL_CommandNotify :: line 806
    N:VPSS P:2 #:00746 T:0000000735961603 S: OMX Error in _OMX_BASE_HandleStateTransition :: line 344
    N:VPSS P:2 #:00747 T:000000073596637d S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<_OMX_BASE_HandleStateTransition> @line<483> with error<-2147479551:ErrorUndefined>
    N:VPSS P:2 #:00748 T:0000000735999c2d S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479551:ErrorUndefined>
    N:VPSS P:2 #:00749 T:00000007359a2421 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479551:ErrorUndefined>
    N:VPSS P:2 #:00750 T:00000007359ab759 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS P:2 #:00751 T:00000007359b1a1b S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>

    BR,
    Devang
  • Hi Margarita,

    Any suggestion on above issue ??

    Regards,
    Devang
  • Hello,

    I would recommend you to check the difference between your custom board and EVM on which the demo is working.

    BR
    Margarita
  • Hi Margarita,

    Thanks for the reply. In terms of capture module, custom board is same as EVM. Does the error message in last log indicate something that we can try to resolve ?

    We are looking in to the code and trying to find out why we are getting "Driver Creation Failed: Video DecoderId: 1025".
    Can you help us to figure out the root cause for it ?

    Regards,
    Devang
  • Hello,

    On your custom board you have tvp7002 as on the EVM right?

    BR
    Margarita
  • Yes, margarita. We have TVP7002 on our custom board.

    Is there any binary to verify if capture module indivudually working properly or not ?

    Regards,
    Devang

  • Hello,

    Are you loading the dm816x_hdvpss.xem3 firmware not the v4l2?
    Are you have the overlay package?

    BR
    Margarita
  • Hi Margarita,

    We have tried both dm816x_hdvpss.xem3 as well as V4L2 firmware. Both are giving the same error. see below logs

    V4L2 Firmware


    N:VPSS  P:2 #:00703 T:00000008ed29f739 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:00000008ed2a9c33 S:OmxRpc_rcmIfGetHandle:ComponentName:OmxRpcRcmServer_OMX.TI.VPSSM3.CTRL.DC_Ctrl_2_4.Exiting..
    N:VPSS  P:2 #:00705 T:00000008ed8ddbbb S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_GetParameter> @line<695>
    N:VPSS  P:2 #:00706 T:00000008ed8e574d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_GetParameter> @line<858> with error<0:ErrorNone>
    N:VPSS  P:2 #:00707 T:00000008ed914281 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS  P:2 #:00708 T:00000008ed91b125 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS  P:2 #:00709 T:00000008ed9a9a9f S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS  P:2 #:00710 T:00000008ed9b226d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS  P:2 #:00711 T:00000008ed9d66e9 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS  P:2 #:00712 T:00000008ed9e12d1 S:OMX_BASE_SendCommand:OMX_CommandPortEnable, nParam1: 0
    N:VPSS  P:2 #:00713 T:00000008ed9e9c37 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS  P:2 #:00714 T:00000008ed9fa60d S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00715 T:00000008eda02f79 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS  P:2 #:00716 T:00000008eda08993 S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdEvent> @line<631> msg<Processing OMX_CommandPortEnable>
    N:VPSS  P:2 #:00717 T:00000008eda0fb95 S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EnablePort> @line<777>
    N:VPSS  P:2 #:00718 T:00000008eda1533d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EnablePort> @line<815> with error<0:ErrorNone>
    N:VPSS  P:2 #:00719 T:00000008eda1c29d S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CB_ReturnEventNotify> @line<100>
    N:VPSS  P:2 #:00720 T:00000008eda222a1 S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_CB_ReturnEventNotify> @line<121> msg<Notify client for port enable>
    N:VPSS  P:2 #:00721 T:00000008eda2c745 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CB_ReturnEventNotify> @line<224> with error<0:ErrorNone>
    N:VPSS  P:2 #:00722 T:00000008eda3316d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<0:ErrorNone>
    N:VPSS  P:2 #:00723 T:00000008eda397c7 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS  P:2 #:00724 T:00000008eda40925 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdCompleteEventHandler> @line<483>
    N:VPSS  P:2 #:00725 T:00000008eda467a7 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdCompleteEvent> @line<809>
    N:VPSS  P:2 #:00726 T:00000008eda4c3cd S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdCompleteEvent> @line<869> msg<Processing OMX_CommandPortEnable>
    N:VPSS  P:2 #:00727 T:00000008eda53511 S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EventNotifyToClient> @line<881>
    N:VPSS  P:2 #:00728 T:00000008eda8755d S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS  P:2 #:00729 T:00000008eda92427 S:OMX_BASE_SendCommand:OMX_CommandStateSet, nParam1: 2
    N:VPSS  P:2 #:00730 T:00000008eda9b451 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS  P:2 #:00731 T:00000008edab4d25 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EventNotifyToClient> @line<1172> with error<0:ErrorNone>
    N:VPSS  P:2 #:00732 T:00000008edabc379 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdCompleteEvent> @line<930> with error<0:ErrorNone>
    N:VPSS  P:2 #:00733 T:00000008edac31af S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdCompleteEventHandler> @line<496> with error<0:ErrorNone>
    N:VPSS  P:2 #:00734 T:00000008edaca195 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00735 T:00000008edad03e7 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS  P:2 #:00736 T:00000008edad92bf S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00737 T:00000008edae0c79 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS  P:2 #:00738 T:00000008edae6b55 S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<OMX_BASE_PROCESS_CmdEvent> @line<538> msg<Processing OMX_CommandStateSet>
    N:VPSS  P:2 #:00739 T:00000008edaeda4b S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<_OMX_BASE_HandleStateTransition> @line<316>
    N:VPSS  P:2 #:00740 T:00000008edaf3955 S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<_OMX_BASE_HandleStateTransition> @line<339> msg<Loaded to Idle Transition>
    N:VPSS  P:2 #:00741 T:00000008edafb2c5 S:Entered _OMX_CTRLTvpDrvCreate: 569
    N:VPSS  P:2 #:00742 T:00000008edb17585 S:Driver Creation Failed: Video DecoderId: 1025
    N:VPSS  P:2 #:00743 T:00000008edb1f243 S: OMX Error in Omx_Capture_createVideoDecoder :: line 1110
    N:VPSS  P:2 #:00744 T:00000008edb23ee5 S: OMX Error in _OMX_CTRLTvpDrvCreate :: line 591
    N:VPSS  P:2 #:00745 T:00000008edb2834b S: OMX Error in OMX_TI_CTRL_CommandNotify :: line 806
    N:VPSS  P:2 #:00746 T:00000008edb2c988 S: OMX Error in _OMX_BASE_HandleStateTransition :: line 344
    N:VPSS  P:2 #:00747 T:00000008edb31775 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<_OMX_BASE_HandleStateTransition> @line<483> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00748 T:00000008edb63f51 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00749 T:00000008edb6c511 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00750 T:00000008edb73795 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00751 T:00000008edb7994d S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>

    hdvpss.xem3


    N:VPSS  P:2 #:00704 T:0000000cc0c9ac33 S:OmxRpc_rcmIfGetHandle:ComponentName:OmxRpcRcmServer_OMX.TI.VPSSM3.CTRL.DC_Ctrl_2_4.Exiting..
    N:VPSS  P:2 #:00705 T:0000000cc122c99b S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_GetParameter> @line<695>
    N:VPSS  P:2 #:00706 T:0000000cc1234a3d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_GetParameter> @line<858> with error<0:ErrorNone>
    N:VPSS  P:2 #:00707 T:0000000cc1263185 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS  P:2 #:00708 T:0000000cc126a0ff S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS  P:2 #:00709 T:0000000cc12f7d6f S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SetParameter> @line<890>
    N:VPSS  P:2 #:00710 T:0000000cc12fedcb S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SetParameter> @line<1163> with error<0:ErrorNone>
    N:VPSS  P:2 #:00711 T:0000000cc13247e5 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS  P:2 #:00712 T:0000000cc132f3c1 S:OMX_BASE_SendCommand:OMX_CommandPortEnable, nParam1: 0
    N:VPSS  P:2 #:00713 T:0000000cc13378c7 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS  P:2 #:00714 T:0000000cc13476c3 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00715 T:0000000cc134fd79 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS  P:2 #:00716 T:0000000cc135581d S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdEvent> @line<631> msg<Processing OMX_CommandPortEnable>
    N:VPSS  P:2 #:00717 T:0000000cc135c837 S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EnablePort> @line<777>
    N:VPSS  P:2 #:00718 T:0000000cc13621d3 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EnablePort> @line<815> with error<0:ErrorNone>
    N:VPSS  P:2 #:00719 T:0000000cc1369179 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CB_ReturnEventNotify> @line<100>
    N:VPSS  P:2 #:00720 T:0000000cc136f097 S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_CB_ReturnEventNotify> @line<121> msg<Notify client for port enable>
    N:VPSS  P:2 #:00721 T:0000000cc1376477 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CB_ReturnEventNotify> @line<224> with error<0:ErrorNone>
    N:VPSS  P:2 #:00722 T:0000000cc137ccc1 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<0:ErrorNone>
    N:VPSS  P:2 #:00723 T:0000000cc1385f89 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS  P:2 #:00724 T:0000000cc138d463 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdCompleteEventHandler> @line<483>
    N:VPSS  P:2 #:00725 T:0000000cc13936cb S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_PROCESS_CmdCompleteEvent> @line<809>
    N:VPSS  P:2 #:00726 T:0000000cc1399413 S:Module<OMX.TI.VPSSM3.VFDC> @<OMX_BASE_PROCESS_CmdCompleteEvent> @line<869> msg<Processing OMX_CommandPortEnable>
    N:VPSS  P:2 #:00727 T:0000000cc13a0441 S:Module<OMX.TI.VPSSM3.VFDC> Entering<_OMX_BASE_EventNotifyToClient> @line<881>
    N:VPSS  P:2 #:00728 T:0000000cc13d43e9 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_SendCommand> @line<499>
    N:VPSS  P:2 #:00729 T:0000000cc13df445 S:OMX_BASE_SendCommand:OMX_CommandStateSet, nParam1: 2
    N:VPSS  P:2 #:00730 T:0000000cc13e7c21 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_SendCommand> @line<669> with error<0:ErrorNone>
    N:VPSS  P:2 #:00731 T:0000000cc13ff71d S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_EventNotifyToClient> @line<1172> with error<0:ErrorNone>
    N:VPSS  P:2 #:00732 T:0000000cc1406f81 S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdCompleteEvent> @line<930> with error<0:ErrorNone>
    N:VPSS  P:2 #:00733 T:0000000cc140e1ad S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdCompleteEventHandler> @line<496> with error<0:ErrorNone>
    N:VPSS  P:2 #:00734 T:0000000cc1415257 S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00735 T:0000000cc141b75f S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
    N:VPSS  P:2 #:00736 T:0000000cc1424535 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00737 T:0000000cc142bbc3 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_PROCESS_CmdEvent> @line<526>
    N:VPSS  P:2 #:00738 T:0000000cc14317a9 S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<OMX_BASE_PROCESS_CmdEvent> @line<538> msg<Processing OMX_CommandStateSet>
    N:VPSS  P:2 #:00739 T:0000000cc14386e3 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<_OMX_BASE_HandleStateTransition> @line<316>
    N:VPSS  P:2 #:00740 T:0000000cc143e583 S:Module<OMX.TI.VPSSM3.CTRL.TVP> @<_OMX_BASE_HandleStateTransition> @line<339> msg<Loaded to Idle Transition>
    N:VPSS  P:2 #:00741 T:0000000cc1445f87 S:Entered _OMX_CTRLTvpDrvCreate: 569
    N:VPSS  P:2 #:00742 T:0000000cc1462523 S:Driver Creation Failed: Video DecoderId: 1025
    N:VPSS  P:2 #:00743 T:0000000cc1466d33 S: OMX Error in Omx_Capture_createVideoDecoder :: line 1110
    N:VPSS  P:2 #:00744 T:0000000cc146b82d S: OMX Error in _OMX_CTRLTvpDrvCreate :: line 591
    N:VPSS  P:2 #:00745 T:0000000cc146fc8d S: OMX Error in OMX_TI_CTRL_CommandNotify :: line 806
    N:VPSS  P:2 #:00746 T:0000000cc1474249 S: OMX Error in _OMX_BASE_HandleStateTransition :: line 344
    N:VPSS  P:2 #:00747 T:0000000cc147c02f S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<_OMX_BASE_HandleStateTransition> @line<483> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00748 T:0000000cc14b3b87 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00749 T:0000000cc14bc061 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479551:ErrorUndefined>
    N:VPSS  P:2 #:00750 T:0000000cc14c3313 S:Module<OMX.TI.VPSSM3.CTRL.TVP> Entering<OMX_BASE_CmdEventHandler> @line<434>
    N:VPSS  P:2 #:00751 T:0000000cc14c95ab S:Module<OMX.TI.VPSSM3.CTRL.TVP> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>

    Let me know if you need any addition infocrmation.

    Regards,

    Devang

  • Hello,

    OMX capture encode demo requires the dm816x_hdvpss.xem3 to be loaded not the v4l2.

    Are you have the overlay package?

    BR
    Margarita
  • HI Margarita,

    Thanks for the reply.
    Yes, we do have the Overlay package.

    Regards,
    Devang
  • Hello,

    You could try to run the capture stand alone you could find it in the hdvpss folder in overlay package. But you will need CCS to run it. You could also put some prints in the ctrl component.
    I still think that since the capture_encode demo has working on the the EVM and not working on the custom board you should check the differences between both.


    BR
    Margarita
  • Sorry Margarita. Currently I have overlay package for DM8148, not for 8168.

    Is overlay package for 8148 and 8168 same ?

    Regards,
    Devang
  • Hello,

    No it is not the same.
    Example the dm8168 has 3 HDVICP modules the DM8148 has only one.

    BR
    Margarita