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 capture example

Hi.
As written in description of OMX EZSDK examples Encoder Component runs on HDVICP2.
http://processors.wiki.ti.com/index.php/OMX_EZSDK_Examples#Capture_Encode
As I understand, C6A8168 have not  HDVICP2.
Will omx capture example works on C6A8168  EVM  correctly? If yes, than why?
Thanks
Gregory

  • Hello,

    You are correct, the C6A8168 does not include the HDVICP2s.  The DM8168 is a pin-compatible device that does include the HDVICP2s, and the TI8168 EVM is populated with the DM8168 device, so the capture demo will work.

    Regards,
    Marc

  • Hello, Mark.

    Thank you very much for your answer.
    I now understand that the prebuilt capture demo cannot run on the C6A8168 and to make the demo work I have to replace my EVM by DM8168 one. Please confirm if it is correct understanding.
    Is there any way to run the demo on my existing hardware?  Is it possible to change the demo source code to run Encoder on DSP?

    Thanks
    Gregory

  • Hello,

    Let me clarify a little bit more.  There is only one EVM for the DM816x, C6A816x and AM389x devices.  It is called the TMDXEVM8168 and it uses the DM8168 Processor (it emulates the AM389x and C6A816x).  You will be able to run the demo on your existing hardware.

    Regards,
    Marc

  • Hello, Marс.

    Thanks for clarification.

    Sorry for my inadvertence. I was sure the EVM has concrete processor type like previous EVMs we bought.

    I resolved my problem - video source has been incorrectly configured.

    Gregory.

  • No problem!  I'm glad you got it figured out.

    Regards,
    Marc

  • Greetings,

    I have the same problem as the 8168 EVM does not run the OMX capture_encode example. I tried component inputs in 1080p-60 and 720p-60 formats, but the capture_encoder stucks with the following error message:

    bit_rate: 1000000
    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 0x12f4f8 for component OMX.TI.VPSSM3.VFDC
     got display handle
    found handle 0x133500 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

    I realized that the execution stucks at the following line in ilclient.c:
    semp_pend (pAppData->capILComp->done_sem);

    I tried the OMX examples coming with the two latest EZSDKs (v. 5.05.02.00 and v. 5.04.00.11), both having the same problem. Please let me know if you have any comments.

    Thanks a lot,
    Mohammad