AnsweredAssumed Answered

mxc_v4l2_capture.out : capture 2592x1944 frame

Question asked by anjo john on Jun 1, 2017
Latest reply on Jun 15, 2017 by Joan Xie

Hi All,

I have been trying to capture high resolution images from mx6 dualite with ov5640 mipi camera using imx-test application. Each time i try to capture images above 640x480, the image is corrupted and can't be viewed with any raw players.

I had to use mxc_v4l2_capture since Gstreamer imxv4l2videosrc plugin only support resolution upto 1920x1080. 

Below is the command i used for 640x480 capture

mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -f UYVY -c 5 still.yuv

for any other higher resolution, the image is corrupted

i tried these 

mxc_v4l2_capture.out -iw 2592 -ih 1944 -ow 2592 -oh 1944 -f UYVY -c 5 -m 1 still.yuv

log of this command

in_width = 2592, in_height = 1944
out_width = 2592, out_height = 1944
top = 0, left = 0
sensor chip is ov5640_mipi_camera
sensor supported frame size:
640x480
320x240
720x480
720x576
1280x720
1920x1080
2592x1944
176x144
1024x768
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
sensor frame format: UYVY
Width = 2592 Height = 1944 Image size = 10077696
pixelformat: UYVY
UYVY
imx-ipuv3 2400000.ipu: IC output size(1944) cannot exceed 1024
imx-ipuv3 2400000.ipu: failed to calculate prpenc height scaling coefficients
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00100000
buf.index 2
buf.index 0
buf.index 1

i also tried setting the -i (input mode) to 0 and 1 and it didn't help either.

Is there any issue with mxc_v4l2_capture with higher resolution? Any help is appreciated

 

With Regards

John

Outcomes