i have mipi-camera with default resolution 4056x3040. pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video11 ! videoconvert ! fpsdisplaysink text-overlay=false sync=false
is ok, but resolution is 3840x2160.
i try change variable GST_V4L2SRC_MAX_RESOLUTION to 4056x3040, nothing happend. if i change this variable to 1920x1080, resolution is set 1920x1080, it’s okey.
v4l2-ctl -d /dev/video11 --list-formats-ext:
v4l2-ctl -d /dev/video11 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture Multiplanar
[0]: ‘UYVY’ (UYVY 4:2:2)
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[1]: ‘NV16’ (Y/CbCr 4:2:2)
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[2]: ‘NV61’ (Y/CrCb 4:2:2)
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[3]: ‘NV21’ (Y/CrCb 4:2:0)
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[4]: ‘NV12’ (Y/CbCr 4:2:0)
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[5]: ‘NM21’ (Y/CrCb 4:2:0 (N-C))
Size: Stepwise 32x32 - 4056x3040 with step 8/8
[6]: ‘NM12’ (Y/CbCr 4:2:0 (N-C))
Size: Stepwise 32x32 - 4056x3040 with step 8/8
pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video11 ! video/x-raw,width=4056,height=3040 ! videoconvert ! fpsdisplaysink text-overlay=false sync=false
is ok, resolution is 4056x3040.
how i can fix default resolution to 4056x3040? thanks !