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.

AM5728: GStreamer video capture and deinterlacing

Part Number: AM5728
Other Parts Discussed in Thread: TVP5158,

Hello everyone,

        We are using the AM5728 to capture the video of 720*576@25 FPS and the video decoder is TVP5158. Now we find that the captured video is two fields of 720*288. I also notice that the VPE have deinterlacing function, but I don't know how to use it. The Gstreamer pipeline is as follows:

       gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288' ! vpe num-input-buffers=16 ! 'video/x-raw, format=(string)NV12, width=(int)720, height=(int)576' ! queue ! waylandsink sync=false

       It seems that only used the Scaling function not deinterlacing. What can I do to achieve the deinterlacing and use two fields(720*288) to compound one frame(720*576)?

      Could you give me some suggestion? Thank you very much.