AnsweredAssumed Answered

Error when taking a photo using GStreamer - 5mp camera(VCAM-OV5640)

Question asked by Thisum Buddhika on May 3, 2017
Latest reply on May 11, 2017 by Joan Xie

I'm trying to take a photo using the following pipe:
gst-launch-1.0 imxv4l2videosrc device="/dev/video0" num-buffers=1 !  jpegenc ! filesink location=sample.jpeg


With the above, I can take a photo and save it as sample.jpeg. But the problem is, I'm still get the following error: 


Setting pipeline to PAUSED ...

ERROR: unrecognized std! 0 (PAL=ff, NTSC=b000

ERROR: v4l2 capture: unsupported ioctrl!

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

Got EOS from element "pipeline0".

Execution ended after 0:00:00.139820736

Setting pipeline to PAUSED ...

Setting pipeline to RERROR: v4l2 capture: unsupported ioctrl!

EADY ...

Setting pipeline to NULL ...

Freeing pipeline ...



Followings are the system details:

OS: Debian 8.7
GStreamer: 1.0 (Community GStreamer-imx plugin).

Mipi camera (5MP)


What is the possible solution for this?
Also the image generated from the above pipeline is 640 x 480. How should I change the dimensions of the output image? How can I make sure that the image is actually 5MP?