AnsweredAssumed Answered

Take a 5MP image with VCAM-OV5640

Question asked by Thisum Buddhika on May 10, 2017
Latest reply on May 15, 2017 by Joan Xie

To take an image with GStreamer I'm using the following pipeline:
gst-launch-1.0 imxv4l2videosrc imx-capture-mode=5 num-buffers=1 ! jpegenc ! filesink location=test.jpg


According to the specifications of imxv4l2videosrc element; the maximum resolution I get obtain is 1920x1080


imx-capture-mode    : Capture mode of camera, varies with each v4l2 driver,

                                for example ov5460:

                                ov5640_mode_VGA_640_480 = 0,

                                ov5640_mode_QVGA_320_240 = 1,

                                ov5640_mode_NTSC_720_480 = 2,

                                ov5640_mode_PAL_720_576 = 3,

                                ov5640_mode_720P_1280_720 = 4,

                                ov5640_mode_1080P_1920_1080 = 5


What I want to know is whether there is another pipeline configuration that I can access the camera and get an image with 5MP resolution?