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: gstreamer capture issue from adv7180

Part Number: AM5728

Tool/software: Linux

I'm trying to capture video flow from analog cam, connected to adv7180 on customboard, based on sitara am578 processor.

After Linux boots up, /dev/video1 capture device successfully creates. I've checked it by yavta -c100 -fYUYV -Fvout_test.yuv -s720x576 /dev/video1.
Output file is played correctly by ffplay -f rawvideo -pix_fmt yuyv422 -video_size 720x576 -framerate 25 -i vout_test.yuv.yuv from Ubuntu.

But when I'm trying to capture it via gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! avimux ! filesink location=new.avi, pipeline change it states сonsistently to the PLAYING, but when I press ctrl+c it changes state to the READY and doesn't stops. If I press ctrl+c again, it terminates and result file becomes empty.
How can I fix this problem?