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.

Video capture for DM8168

Other Parts Discussed in Thread: TVP7002

Hi,

 

  I want to do some Image Processing work using DM8168.

  I have some question about video capture for DM8168. I want to test the video input port  capture of DM8168.

  I found there is no information about video capture in the psp user guide, it seems that the driver will be released at early 4Q this year.

  But in this URL http://processors.wiki.ti.com/index.php/EZSDK_5.01_Patches_and_Errata

  It said that  

  PSP Linux-2.6.37   fbdev: Remove I2C Initialization     Due to a limitation with the HDVPSS Firmware, external video capture is only supported through the TVP7002 video         decoder via I2C1. This patch is a workaround to enable video capture.

  Is this mean the video capture is supported using the patch? If so, how to use it?

  I am using EZSDK_5_01_01_80,

  I found that the linux kernel I am using had already installed the patch in /ezsdk/psp/linux-2.6.37-psp04.00.00.10/patches.

  But I still can not found any capture device detected in linux.

 

  Also, I run the omtb example on DM8168, though it is using the vfcc(video frame capture component),

  I don't know if it really did some capture work or not,

  because the  size of the h264venc outfile(/usr/share/ti/data/videos/dm816x_1080p60_encode.264) is 0.  

  Can I use this example or other apis to do some external video capture  work, and then to do some image processing on the Linux?

 

  Can anyone help me with this problem or any advice?

 

Best Regards,

wang

 

 

  • Hi,

    In the latest EZSDK, interfaces for the HDVPSS capture port are exposed through media controller binary and not through any of the standard Linux interface like V4L2.  Thats why there is no mention of capture driver in PSP userguide.

    VFCC currently uses the interfaces provided by the media controller binary for the capture  and display. So capture driver is tested on DM816x but through media controller interface.

    There are plans to provide the capture driver interface on Linux V4L2 framework. Once that is done. VFCC and VFDC both will use the Linux V4L2 interfaces instead of media controller interfaces. Hope this clears your confusion.

     

    Regards,

    Hardik Shah

  • Thank you Hardik Shah.

    I have to try to finish my work in next month, so your answer is very helpful for me.

     

    HardikShah said:
    VFCC currently uses the interfaces provided by the media controller binary for the capture  and display. So capture driver is tested on DM816x but through media controller interface.

    So you mean capture work can be done by VFCC using media controller binary? (dm816xbm_m3vpss.xem3 and dm816xbm_m3video.xem3 file ?)

    If so, I think I should read the omtb source and try to make a test program for capture. Am I right?

     

    Thanks again.

     

    Best Regards,

    wang

     

  • Hi,

    Yes capture is supported under VFCC using dm816xbm_m3vpss.xem3 and dm816xbm_m3video.xem3 binaries.  It suppports TVP7002 decoder as well.

     

    Regards,

    Hardik Shah