Is there a set aspect ratio?

I’m using a arducam imx477 and for my lensing purposes would love an aspect ratio of 4:3 but the highest resolution I can get is 3840x2160 via the Gstreatmer example tutorial. Does anybody know if this is achievable because I have a 12.3MP camera.

3264 x 2448 works but the full 12.3Mp at 4:3 ratio doesn’t

Dear customer,we are currently syncing this issue internally.

Dear customer,
Please check whether the Arducam IMX477 supports a 4:3 aspect ratio register configuration. If not, cropping will be required through a transform node.

yes the camera works for the 4:3 aspect ration I just couldn’t get it high as id like. Now im trying to get two imx 477 cameras streaming with the preview both at 4:3 aspect ratio but when I try and start the second camera from the second window the first camera freezes and I cant send any GST commands until I power off the device and turn it back on. Any idea on what I should do? I’ll keep messing with different resolutions and frame rates but I imagine the device should be able to handle two 1920x1440 streams right?

I’ve also tried 1600x1400 at 15 fps but it also crashed which is confusing because thats around half the data of the 1920x1080 at 30fps which works just fine when streaming from both cameras. Also it failed when I was just trying to record without a monitor plugged in.

Dear customer
We are currently syncing this issue internally.

Dear customer,
Could you please share the test commands you have utilized?
Could you also provide screenshots of the specific error logs where the crash occurred?

When I run the preview window for cam 0 at 1920x1440 30fps using qtiqmmfsrc and waylandsink, the window opens but freezes. Here’s the log output from the terminal:

GBM_ERR::msmgbm_bo_import_gbm_buf(1639)::DRM_IOCTL_PRIME_FD_TO_HANDLE failed for metadata fd errono: 22 (Invalid argument)
GBM_ERR::msmgbm_bo_import_gbm_buf(1611)::DRM_IOCTL_PRIME_FD_TO_HANDLE failed for fd errono: 22 (Invalid argument)
(repeats multiple times)

for cam 1:
GBM_INFO::msmgbm_mapper(262)::gbm mapper instantiated
gbm_create_device(224): Info: backend name is: msm_drm
Setting pipeline to PAUSED …
gbm_create_device(224): Info: backend name is: msm_drm
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
0:00:00.055428990 1805 0x558ceec760 WARN qtiqmmfsrc … masterExpTime
0:00:00.055487061 1805 0x558ceec760 WARN qtiqmmfsrc … slaveExpTime
New clock: GstSystemClock

my pipelines:

Terminal 1

export XDG_RUNTIME_DIR=/dev/socket/weston
export WAYLAND_DISPLAY=wayland-1
setprop persist.overlay.use_c2d_blit 2
GST_DEBUG=3 gst-launch-1.0 -e qtiqmmfsrc camera=0 name=camsrc
! video/x-raw(memory:GBM),format=NV12,width=1920,height=1440,framerate=30/1,compression=ubwc
! queue ! waylandsink sync=false x=0 y=0 width=960 height=720 enable-last-sample=false 2>&1 | tee /opt/cam0_log.txt

Terminal 2

export XDG_RUNTIME_DIR=/dev/socket/weston
export WAYLAND_DISPLAY=wayland-1
setprop persist.overlay.use_c2d_blit 2
GST_DEBUG=3 gst-launch-1.0 -e qtiqmmfsrc camera=1 name=camsrc
! video/x-raw(memory:GBM),format=NV12,width=1920,height=1440,framerate=30/1,compression=ubwc
! queue ! waylandsink sync=false x=960 y=0 width=960 height=720 enable-last-sample=false 2>&1 | tee /opt/cam1_log.txt

these are just for a preview, but I’ve tried lower resolution and the same thing happens.

Dear customer
When utilizing two IMX477 cameras for concurrent preview, this issue arises.
May I inquire whether the full-screen preview with a single camera operates normally?