i.MX7 OV5640 capabilities with gstreamer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX7 OV5640 capabilities with gstreamer

1,978 Views
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?

Labels (2)
0 Kudos
4 Replies

1,061 Views
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 Kudos

1,061 Views
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 Kudos

1,061 Views
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 Kudos

1,061 Views
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 Kudos