AnsweredAssumed Answered

i.MX7 OV5640 capabilities with gstreamer

Question asked by Ari Sinisalo on Nov 2, 2016
Latest reply on Jun 21, 2017 by vinod hulagabali

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?

 

 

Outcomes