i.MX7 OV5640 capabilities with gstreamer

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

i.MX7 OV5640 capabilities with gstreamer

2,450 次查看
arisinisalo
Contributor I

I can get gstreamer and camera working with for example:

  gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxv4l2sink

Now I want to set resolution high and framerate low (2592x1944, 10fps). I can get 15 fps working with for example:

  gst-launch-1.0 imxv4l2src device=/dev/video1 num-buffers=1 ! video/x-raw,width=2592,height=1944,framerate=15/1 ! jpegenc ! filesink location=frame.jpg
This however hangs often and I believe it is due to high 15fps framerate for this resolution.

How do I get lower framerates?    "fps-n" property is not supported for "imxv4l2src". The capabilities for "imxv4l2src" seems to be limited to 30fps and 15fps according to "gst-inspect-1.0 imxv4l2src".

Then if I try to use "imxv4l2videosrc" (which supports "fps-n") instead of "imxv4l2src" , I do get error:

  Setting pipeline to PAUSED ...
  ERROR: Pipeline doesn't want to pause.
  Setting pipeline to NULL ...
  Freeing pipeline ...

So how to get low framerate and high resolution supported?

标签 (2)
0 项奖励
回复
4 回复数

1,533 次查看
vinodhulagabali
Contributor II

Hi,

    I have used OV5640_MIPI for bringing up drivers of camera in warp7 as per the imx reference guide but While building image i am getting errors. find the attachments below.

Your suggestions are appreciated Thank you.

regards

Vinod

0 项奖励
回复

1,533 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ari

""imxv4l2videosrc" is supported by community version of gstreamer as

described on

trac.gateworks.com/wiki/Yocto/gstreamer

https://community.nxp.com/thread/376271 

There are 2 separate plugin's : community gstreamer-imx plugins and
nxp gstreamer plugins (fsl-gst-plugin package).

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,533 次查看
arisinisalo
Contributor I

I am aware of the two separate plugins. I am able to get the fls-gst working. But the community does not work for me.

I am using i.MX7 Sabre board and with following:

  gst-launch-1.0 imxv4l2videosrc device=/dev/video1 ! imxpxpvideosink

I do get error:

 Setting pipeline to PAUSED ...
  ERROR: Pipeline doesn't want to pause.
  Setting pipeline to NULL ...
  Freeing pipeline ...

Using imxv4l2src it does work. So, how do I get the community plugin, that has more options, working?

Another issue is the framerate. It seems that less than 15fps is not supported. Any suggestions how to make 10fps supported?

0 项奖励
回复

1,533 次查看
igorpadykov
NXP Employee
NXP Employee

please post this to meta-fsl-arm mailing list, so that someone familiar

with them could try to assist you.

https://lists.yoctoproject.org/listinfo/meta-freescale 

0 项奖励
回复