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/AM5728: Interlaced video capture with GStreamer

Part Number: AM5728
Other Parts Discussed in Thread: TVP5158

Tool/software: Linux

Hi,

My sdk is 4.3.

In the past ,we tried to use capturevpedisplay demo to capture 576i with tvp5158 . It works .

But now we need to use phy encode module .We should use gstreamer.

I tried to use : gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288' ! vpe num-input-buffers=8 ! queue ! kmssink

It will successful display 1 field.

If I insert  " interlace-mode=interlaced " or " framerate=(fraction)50/1 " in v4l2src caps.

It will report "ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error."

Is that because my tvp5158 driver or gstv4l2src ?