AnsweredAssumed Answered

how to setup camera input resolution?

Question asked by k ms on Aug 5, 2019
Latest reply on Aug 7, 2019 by Joan Xie

i use I.MX6Quad.

I set the camera input resolution.(1920x1080)

I'm trying to set a different resolution the same way, but it doesn't work.(752x582)

By the way, 752x584 run.

I would like to know why the 752x582 resolution is not working.

 

Is it a cpu(I.MX6) problem? Or is it a gstreamer problem?

 

########### set sens conf

 

read CSI0_SENS_CONF = 0x00000A50
read CSI0_ACT_FRM_SIZE = 0x024502EF

read CSI0_SENS_FRM_SIZE = 0x024502EF

 

 

########## error log ############

 

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)752, height=(int)582, interlace-mode=(string)progressive, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
Setting pipeline to PLAYING ...
New clock: GstSystemClock

(gst-launch-1.0:651): GStreamer-CRITICAL **: Registering meta implementation 'GstImxV4l2Meta' without init function
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.10.4/libs/gst/base/gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.072086000
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

 

 

Outcomes