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.

How to configure TVP7002 on EVM board of DM816x

Other Parts Discussed in Thread: TVP7002

Hello ,

The currently the supported input is the component input on the I/O expansion card with TVP7002 decoder.

In Capture_Encode Demo in EZSDK -omx, the capture component captures the 1080p60 input using

TVP7002 decoder on Catalog EIO board. (Component input connectors are labeled as J5J6J7 on the EIO card).

now  I want to use the VGA input  connector instead of the input connectors J5J6J7 on the EIO card.

How can i set the TVP7002 capture video from VGA connector and send to in VP1 port?

I see the openMax user guide, but i do not find any method to configure TVP7002 capture port!

Can someone tell me how to do this? Thank you in advance!

Regards

Xavier

  • Hello,

    Video Capture is only supported on the component input at this time.

    Regards,
    Marc

  • Hi Marc,

    As you say that video Capture is only supported on the component input at this time.

    If i want to change video Capture component  about TVP7002,

    could you give me some details how to develop this by my self?

    Thanks

    xavier

  • Hi,

    We are in process of creating a app note on how to add new decoders to V4L2 capture driver. It will be done by tomorrow. I will update you once its done.

     

    Regards,

    Hardik Shah

     

  • Hi,

    First draft of the app note on how to add new decoders for V4L2 capture driver could be found at

     

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver

     

    DVI capture you can support using above link. DVI capture on IO expansion card is supported using sil1161. You can request for sil1161 specs from spectrum digital site. We have not yet fixed the schedule for sil1161 support.

     

    Regards,

    Hardik Shah

  • Thank you Hardik very much. This wiki page would be very helpful for us.

    Just want to make sure one more thing before I start to try.

    Does this page mean from now, we can have the driver for any other video decoder, for instance HDMI decoder from ITE instead of the one from Silicon Image?

    And after TI-gstreamer support v4l2 in next release, I can use whole TI-gstreamer lib to develop our applications regardless the HDMI decoder used in our custom board?

     

    Thanks,

     

    Jun

  • Hi,

    Yes, you can have driver for any other decoder. It can be from any vendor. Yes once TI supports gstream you should be able to use it with V4L2 capture driver regardless of the HDMI decoder used in our custom board. You should first go through tvp7002 driver to understand V4L2 sub-device model. After that you can go through app note to find out how to interface it with HDVPSS capture driver. Finally you should start writing the V4L2 sub-device driver for HDMI decoder of your choice.

     

    Regards,

    Hardik Shah

  • Hello HardikShah,

    Thank you so much for your information.
    I have additional questions.

    Could you let me know?
     - Can I capture digital YUV422 by following this article?

     - Do you have a plan that the EzSDK support digital YUV422 capturing in near future?

    Best regards,
    RY

  • Hi,

    Sorry for delayed response. I was out on vacation.

    V4L2 capture driver supports YUV422 output. There is  plan to port Gstreamer for V4L2 capture in 1Q12 or later. But open max will continue to use Media controller interfaces.

    You can refer to V4L2 capture driver userGuide for all supported features at http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Video_Capture_Driver_User_Guide

     

     

    Regards,

    Hardik Shah

  • Hardik Shah,

    Thank you very much for your support!
    It is helpful much for me.

    Best regards,
    RY

  • Hi,

    Can you please mark it as verified, so others users can benefit from it.

     

    Regards,

    Hardik Shah

  • Hardik Shah,

    Thank you so much for your support.
    But, I can't see the "verify answer" button on the thread.
    Sometimes It happens.

    Best regards,
    RY

     

  • Hi Hardik,

    I run your EZSDK EVM board capture_encode program which is pretty good. But it is only support the port J5,J6,J7. I want to let it support J2,J3,J4. What I found the related this in capture_encode example is at below:

    Questions

    1. Could I change the OMX_VIDEO_CaptureHWPortVIP1_PORTA to OMX_VIDEO_CaptureHWPortVIP2_PORTA; and let it support second video capture in J2, J3, J4; what else need to change?

    2. I will capture two video streams and one audio simutanously, for the synchronization, clock component in OPENMAX maybe is a good method, does TI support this function?

     

    OMX_INIT_PARAM (&sHwPortId);
      /* capture on EIO card is component input at VIP1 port */
      sHwPortId.eHwPortId = OMX_VIDEO_CaptureHWPortVIP1_PORTA;
      eError = OMX_SetParameter (pAppData->pCapHandle,
                                 (OMX_INDEXTYPE) OMX_TI_IndexParamVFCCHwPortID,
                                 (OMX_PTR) & sHwPortId);

      OMX_INIT_PARAM (&sHwPortParam);

      sHwPortParam.eCaptMode = OMX_VIDEO_CaptureModeSC_NON_MUX;
      sHwPortParam.eVifMode = OMX_VIDEO_CaptureVifMode_16BIT;
      sHwPortParam.eInColorFormat = OMX_COLOR_FormatYCbYCr;
      sHwPortParam.eScanType = OMX_VIDEO_CaptureScanTypeProgressive;
      sHwPortParam.nMaxHeight = pAppData->nHeight;
      sHwPortParam.nMaxWidth = pAppData->nWidth;
      sHwPortParam.nMaxChnlsPerHwPort = 1;

      eError = OMX_SetParameter (pAppData->pCapHandle,
                                 (OMX_INDEXTYPE)
                                 OMX_TI_IndexParamVFCCHwPortProperties,
                                 (OMX_PTR) & sHwPortParam);

    Thanks.

     

    George

     

  • As you say how to  add new decoders for V4L2 capture driver could be found at

     

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver,

    another question is that how can add new decoders to the omx VCCP ?


  • Hi

    As you say V4L2 driver can used to capture video ?If i want to use OMX TVP_Ctrl ,Can it be used now in the lateset ezsdk?

    I think that V4L2 can not used together with OMX .

    I want to configure Tvp7002 capture VGA video, and encode.Through TVP_Ctrl in capture_encode demo , i could not find how to read and write IIC of tvp7002