-
Where did you get the camera module(s)?
Amazon -
Model number of the product(s)?
B0332 -
What hardware/platform were you working on?
Jetson Orin Nano (Ubuntu 20.04) -
Instructions you have followed. (link/manual/etc.)
n/a -
Problems you were having?
Can’t get crop working -
What help do you need?
Device reports the ability to crop:
$ v4l2-ctl -d 0 --get-cropcap
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1280, Height 800
Default : Left 0, Top 0, Width 1280, Height 800
Pixel Aspect: 1/1
and I get…
$v4l2-ctl -d /dev/video0 --get-selection target=crop_bounds
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1280, Height 800, Flags:
but attempting to crop fails using:
$v4l2-ctl -d /dev/video0 --set-crop top=65,left=64,width=64,height=64
VIDIOC_G_CROP: failed: Invalid argument
and I also get
fcntl.ioctl(vd, v4l2.VIDIOC_S_CROP, crop_data)
[Errno 25] Inappropriate ioctl for device
Is there a way to get this working? Do I need a different driver?