The camera image resolution is 1200 * 1200, and the acquired image shows left and right ghosting blur

I use jetpack_4.4 (32.4.3) driver. The hardware is Xavier.
When the camera output image resolution is 1200 * 1200, the acquired image display will be blurred by left and right ghosting.As shown below,

When I change the resolution of the camera output image to 1216 * 1200, the acquired image displays normally.As shown below,

The guess problem is related to the 64 byte alignment required for the underlying transmission image. Because 1200 is not an integer multiple of 64, and 1216 is an integer multiple of 64.

Is there any way to solve it?We need to use 1200 * 1200 resolution.

hi 840764397,

For Xavier driver, you’d better align frame with 64, If you want to try 1200, you can test with command like this : v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --set-ctrl preferred_stride=16 --stream-mmap --stream-count=10

set preferred_stride=16, if worked , hard coded TEGRA_CAMERA_CID_VI_PREFERRED_STRIDE for 16 in channel.c for further test. NO promise for correct result, just try.

hi Jeffli,
I have used the command you provided to get YUV data for parsing. The image still shows ghost blur.Thanks.

Have a try

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.