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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,088件の閲覧回数
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,811件の閲覧回数
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,811件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,811件の閲覧回数
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 件の賞賛
返信