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?
I'm using SOM
When I ran the command, I got the following error:
ERROR: pipeline could not be constructed: no element "imxv4l2src".
I don't know what bsp you use, maybe you need to use "imxv4l2videosrc" instead of "imxv4l2src"
what board and bsp version you use??
if you just use the command "gst-launch-1.0 imxv4l2src device=/dev/video0 ! imxv4l2sink", what do you get?