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.

bt.601 camera connection to dm8148

Other Parts Discussed in Thread: TVP7002

I want to get a video from bt.601 camera and encode it to h.264 in real time. But,

i am stuck in getting video, the first step..

Some said ISS components needed, which local TI refuse to give whether NDA

is signed or not. They just said such modules are not available.

If it is possible to get a video, i will try connecting camera to output pins of tvp7002

(isolating tvp7002 outputs). But is there software component ready for this kind of try ?

In the similar post (http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/137058.aspx)

i see that Steve from TI said

"Does the camera output ITU656, ITU1120, RAW, some other format etc..

If the camera outputs ITU656 or ITU1120, or video data in YUV or RGB format then it can be connected to the VIn port.

If the camera outputs raw sensor data which needs to be processed through Bayer interpolation then the camera port can be used."

Then, is it possible bt.601 camera to be connected to Vin port, too ? How ?

  • cam is 8 bit, 30hz, 720p output, bt.601 type.

    I want to use ezsdk to capture video from it. what component source do i need to modify ?

    (currently using ti-ezsdk_dm814x-evm_5_04_00_11)

    is there anybody who can help me starting the engine ?

    thanks in advance.

  • evm8148 has parallel cam connector beside component input ports.

    can this camera be connected to this parallel connector and video data forwarded to

    ezsdk engine ? there is some mux setting, but definitely this parallel port is physically

    connected to cpu.

    anybody to help ???

  • Hi,

    Parallel capture port requires data in BT1120 or BT601 or BT6565 format. If your video decoder is capable of giving this format than parallel port can be used to capture data.

    Regards,

    Hardik Shah

  • Hi, Hardik

    Thanks for your reply. Always thanks to your support.

    "Parallel capture port requires data in BT1120 or BT601 or BT6565 format.

    If your video decoder is capable of giving this format than parallel port can be

    used to capture data."

    This camera connector is 8 bit data, 1 bit vsync, 1 bit hsync and it claims to

    send bt.601 720p 30hz signal. resolution & frame rate are all fixed at a factory setting.

    Then, this camera can be connected to parallel port and be encoded to h.264

    using ezsdk without modification... Can i do my job using omx script or software using

    omx api ?

    What is the fast path to the target ? Please give me a hint about it.

    Thanks in advance.

  • Hi, Hardik, 

    I summarized questions about this situation..

    1. bt.601 sensor can be connected to parallel ports of evm8148. --> you confirmed.

    2. bt.601 720p, 30hz factory setting (not changeable) is ok for ezsdk usage ?

    3. if 2 is not possible, what can i do ? (changing component source code ???)

    4. bt.601 camera --> h.264 encoding : is this possible with omx script or api calls ?

  • Hi,

    Answers inline,

    richard lee2 said:
    bt.601 sensor can be connected to parallel ports of evm8148. --> you confirmed.

    Yes, But if you can provide BT656 it will be best.

    richard lee2 said:
    2. bt.601 720p, 30hz factory setting (not changeable) is ok for ezsdk usage ?

    I think this may required change in component.  As by default component supports BT656 or BT1120.

    richard lee2 said:
    bt.601 camera --> h.264 encoding : is this possible with omx script or api calls ?

    This should be possible.

    Regards,

    Hardik Shah

  • Hi,

    Thanks for your reply.

    what component source need to be modified ? please specify file name.

    I want to use "capture_encode_a8host_debug.xv5T" file to do this job...

    In the "capture_encode_a8host_debug.xv5T" source code, tvp7002 is assumed as decoder,

    if i want to use direct bt.601 connection (without decoder), then what must be decoder setting ?

    ------------------- from source code (ilclient_utils.c) -------------------------

      /* capture on EIO card is component input at VIP1 port */
      sHwPortId.eHwPortId = OMX_VIDEO_CaptureHWPortVIP1_PORTA;
      eError = OMX_SetParameter (pAppData->pTvpHandle,
                                 (OMX_INDEXTYPE) OMX_TI_IndexParamVFCCHwPortID,
                                 (OMX_PTR) & sHwPortId);
      OMX_INIT_PARAM (&sHwPortParam);
      sHwPortParam.eCaptMode = OMX_VIDEO_CaptureModeSC_DISCRETESYNC;
      sHwPortParam.eVifMode = OMX_VIDEO_CaptureVifMode_08BIT;
      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->pTvpHandle,
                                 (OMX_INDEXTYPE)
                                 OMX_TI_IndexParamVFCCHwPortProperties,
                                 (OMX_PTR) & sHwPortParam);

      OMX_INIT_PARAM (&sVidDecParam);

      /* set the mode based on capture/display device */
      if (strcmp ((char *) pAppData->mode, "1080p") == 0)
      {
        sVidDecParam.videoStandard =  OMX_VIDEO_DECODER_STD_1080P_60;
      }
      else if (strcmp ((char *) pAppData->mode, "720p") == 0)
      {
        sVidDecParam.videoStandard =  OMX_VIDEO_DECODER_STD_720P_60;
      }
      else
      {
        ERROR ("Incorrect Display Mode configured!!\n");
      }
     
      /* setting TVP7002 component input */
      sVidDecParam.videoDecoderId = OMX_VID_DEC_TVP7002_DRV;
      sVidDecParam.videoSystemId = OMX_VIDEO_DECODER_VIDEO_SYSTEM_AUTO_DETECT;
      eError = OMX_SetParameter (pAppData->pTvpHandle,
                                 (OMX_INDEXTYPE) OMX_TI_IndexParamCTRLVidDecInfo,
                                 (OMX_PTR) & sVidDecParam);
      if (eError != OMX_ErrorNone)
        ERROR ("failed to set Ctrl Vid dec info \n");

  • Hi,

    I am not right person for EZSDK change. I have forwarded your query with concerned team here.

    Regards,

    Hardik Shah

  • thanks for your help.

    It would be great if i could find a solution in time...