I’m trying to get scaling to work on my camera so that I can decrease the resolution output by the camera to save on bandwidth used by an RTSP stream. I’m attempting to follow the guide for scaling the output from the camera the github pages located here: https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Guides/CameraModule.md
However when using the following media-ctl pipeline:
media-ctl -d /dev/media1 -v -V '"ov5645 1-0078":0[fmt:UYVY2X8/1280x960 field:none],"msm_csiphy0":0[fmt:UYVY2X8/1280x960 field:none],"msm_csid0":0[fmt:UYVY2X8/1280x960 field:none],"msm_ispif0":0[fmt:UYVY2X8/1280x960 field:none],"msm_vfe0_pix":0[fmt:UYVY2X8/1280x960 field:none compose:(0,0)/1280x720],"msm_vfe0_pix":1[fmt:UYVY8_1_5X8/1280x720 field:none]'
I get the following error:
Opening media device /dev/media1
Enumerating entities
Found 15 entities
Enumerating pads and links
Setting up format UYVY2X8 1280x960 on pad ov5645 1-0078/0
Format set: UYVY2X8 1280x960
Setting up format UYVY2X8 1280x960 on pad msm_csiphy0/0
Format set: UYVY2X8 1280x960
Setting up format UYVY2X8 1280x960 on pad msm_csiphy0/0
Format set: UYVY2X8 1280x960
Setting up format UYVY2X8 1280x960 on pad msm_csid0/0
Format set: UYVY2X8 1280x960
Setting up format UYVY2X8 1280x960 on pad msm_ispif0/0
Format set: UYVY2X8 1280x960
Setting up format UYVY2X8 1280x960 on pad msm_vfe0_pix/0
Format set: UYVY2X8 1280x960
Setting up selection target 256 rectangle (0,0)/1280x720 on pad msm_vfe0_pix/0
Unable to set selection rectangle: Inappropriate ioctl for device (-25)
Unable to setup formats: Inappropriate ioctl for device (25)
Am I missing anything here?