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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,070 次查看
thisumbuddhika
Contributor I

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?

标签 (1)
标记 (2)
0 项奖励
回复
3 回复数

1,793 次查看
thisumbuddhika
Contributor I

I'm using SOM

When I ran the command, I got the following error:

ERROR: pipeline could not be constructed: no element "imxv4l2src".

0 项奖励
回复

1,793 次查看
joanxie
NXP TechSupport
NXP TechSupport

I don't know what bsp you use, maybe you need to use "imxv4l2videosrc" instead of "imxv4l2src"

0 项奖励
回复

1,793 次查看
joanxie
NXP TechSupport
NXP TechSupport

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?

0 项奖励
回复