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.

DVI capture format 800x600 config question

Other Parts Discussed in Thread: TVP7002

I use dvr_rdk 3.5  paltform and kernel.

when I try to get a DVI with 800x600 format, i  can't show capture vedio,and there are errs reported as follow:

VPSS_DCTRL: [Dctrl.c] :: failed to get the mode V4L2_DV_800x600

and the saved picture can't show normal,When i try to get a format with 1280x720,  the uart seng message ""

VPSS_GRPX : (0)- region(1920x1080) out of frame(1280x720).

  • Are you using v4l2 to capture using DVR RDK ? If so this is not supported in DVR RDK.You have to use the captureLink

  • I am using v4l2, but use a test program  run separately (most ref from EZSDK's test program) not use dvr_rdk , and at the end I need move it to dvr_rdk.

    Now the picture with  800x600 's DVI distinguishability  I captured have some problem.

    I want to know how I need do if I want capture the picture normally in the kernel code, I use the IC tvp7002 to caputre vedio.

    because it is not a standard distinguishability as 720P or 1080P.

    the vedio i captured as follow  in a not right mode:



  • Hi Away Liu,

    Are you trying to capture 800X600 and display the same on a TV?

    When you say "the vedio i captured as follow  in a not right mode" What do you mean
    1. Is the image corrupted
    2. Is the image of wrong size
    3. Could you please share the video frame that was captured.

    Also,

    TVP7002, takes in component input, did you have to covert from DVI to component in a separate chip?

    Thanks,
    Sujith
  • HI Suith:

     I capture 800x600 with source of  PC DVI out, and I saved  the YUV data and showed it with  a tool  rawVedioPlayer.

    the vedio i captured as follow  in a not right mode, because I use the 720P capture mode to  catch the 800x600, and if I use the 1080P capture mode, there will be only half screen of a whole picture,looks like interlaced vedio with one feild.

    I didn't use component convert, and i think may be ti81xxvin_main should changed some args or add a suitable mode for it...

    sorry for file upload, file type is not supported,



  • Hi Away Liu,

    The current TVP driver in the kernel will not support 800X600 resolution. You will have to
    1. Code to configure TVP 7002 to detect 800X600
    2. Code to configure TVP 7002 to receive 800X600
    right now the TVP driver might be detecting some wrong resolution and configuring the same. Hence the image captured is wrong.

    3. The standard in VIP(capture) is used for buffer allocation. 

    First lets detect the required resolution and configure TVP 7002 for same. After which we can look at capture driver configurations.

    Thanks,
    Sujith

  • OK, let me try at first. TKS