AnsweredAssumed Answered

gst-launch pipeline VIDIOC_DQBUF failed, but yavta and mxc_v4l2_capture.out working.

Question asked by Nayan Patel on Jul 24, 2018
Latest reply on Jul 25, 2018 by igorpadykov

Hi Team,

 

I have been working with ov10635 image sensor and created a v4l2 capture driver inside linux. With current setup, I can able to capture frames from image sensor as yavta and mxc-v4l2-capture.out is working.

 

yavta /dev/video1 -c30 -n4 -s640x480 -fYUYV -Ftest.raw // Working

./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -m 0 -r 0 -c 1 -fr 30 -d /dev/video1 test.yuv // Working

 

 but we are getting VIDIOC_DQBUF error with Gstreamer pipeline. Using following gstreamer pipeline.

 

gst-launch-1.0  --gst-debug=4 imxv4l2videosrc device=/dev/video1 imx-capture-mode=3 num-additional-buffers=50 ! videoparse width=640 height=480 framerate=30/1 format=7 ! videoconvert ! autovideosink  window-width="640" window-height="480" borderless-window="true" force-aspect-ratio="false"

Outcomes