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.

DM365 video_loopback problem

Other Parts Discussed in Thread: TVP5150

Hi all,

I have a NTSC interlaced camera connected to tvp5150 and try to run the video_loopback demo (dvsdk4).

I know that ipipe do de-interlacing simply dropping one field and resizing the other.

 

If I set in appMain.c:

#define NUM_BUFS 3

when I move the camera the displayed video is not fluid, like if I'm loosing some frame or the frames would be displayed in wrong order.

if I set:

#define NUM_BUFS 1

everything's all right, the motion is very fluid and the movement are very good.

 

Could you please give me some advice or hint to solve this problem?

 

Thanks,

 

Tommaso

 

  • tommaso presciuttini said:

    #define NUM_BUFS 3

    when I move the camera the displayed video is not fluid, like if I'm loosing some frame or the frames would be displayed in wrong order.

    This should not happen.

    tommaso presciuttini said:

    if I set:

    #define NUM_BUFS 1

    everything's all right, the motion is very fluid and the movement are very good.

    I believe even when u set NUM_BUFS to 1, looks like v4l2 buffer negotiation ends up with at least 2 buffers. 

    tommaso presciuttini said:
    Could you please give me some advice or hint to solve this problem?

    Check the number of buffers agreed upon by application and driver. Based on that, you can start your investigation.