Take a 5MP image with VCAM-OV5640

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

Take a 5MP image with VCAM-OV5640

753 Views
thisumbuddhika
Contributor I

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? 

Labels (3)
0 Kudos
1 Reply

463 Views
joanxie
NXP TechSupport
NXP TechSupport

you can use "width=   height=" to instead of imx-capture-mode

0 Kudos