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.

Linux/TMS320DM8168: Problem with TVP 5150 linux Driver

Part Number: TMS320DM8168
Other Parts Discussed in Thread: TVP5150

Tool/software: Linux

I try add decoder TVP5150 on VIP1(0..7) .. I've set-up everything in ti81xxvin_main.c/ti81xx_vpss.c and  initiale TVP5150 driver successful in V4L2 framework driver (/dev/video5)

I modified saLoopBack to remove VIDIOC_QUERY_DV_PRESET and added in VIDIOC_G_STD/VIDIOC_S_STD.

I seems like everything is getting set-up and the VIP is opened but no frames are dequeued so something is wrong in the VPSS setup. Here are my source code and dum log setting:

Please help me ! Thanks you so much !

source.zip

  • Part Number: TMS320DM8168

    Tool/software: Linux

    I try add decoder TVP5150 on VIP1(0..7) .. I've set-up everything in ti81xxvin_main.c/ti81xx_vpss.c and  initiale TVP5150 driver successful in V4L2 framework driver (/dev/video5)

    I modified saLoopBack to remove VIDIOC_QUERY_DV_PRESET and added in VIDIOC_G_STD/VIDIOC_S_STD.

    I seems like everything is getting set-up and the VIP is opened but no frames are dequeued so something is wrong in the VPSS setup. Here are my source code and dum log setting:

    Please help me ! Thanks you so much !

    1185.source.zip

  • Hello,

    I am confused I see this in the code:
    capt.fmt.fmt.pix.width = 720;
    capt.fmt.fmt.pix.height = 480;

    but capt.dv_preset.preset is V4L2_DV_1080P60;
    Please check this.

    Have you tried to use the default demo with the change only in CAPTURE_DEVICE?

    BR
    Margarita
  • Hi Margarita,
    Thanks for your reply .
    I tried to use the default demo with CAPTURE_DEVICE=/dev/video5
    But driver SD decoder TVP5150 don't support VIDIOC_QUERY_DV_PRESET and result after run "Querying DV Preset failed"
    I think VIDIOC_QUERY_DV_PRESET isn't necessary and value capt.dv_preset.preset don't need when capture image.