Hello. I am trying to increase the framerate (fps) through the MIPI CSI interface. I have a "Raspberry Pi v2" camera which I want to use in 640x480 mode. In the data sheet, it says it can support upto 180fps at that setting.
However, I am unable to set the framerate. If I use Gstreamer and v4lsrc, the framerate parameter is ignored and the fps defaults to 30.
Gstreamer pipeline : gst-launch-1.0 v4l2src device=/dev/video2 ! queue leaky=2 ! video/x-bayer, width=640, height=480, format=rggb, framerate=90/1 ! bayer2rgb ! tiovxcolorconvert ! video/x-raw, format=NV12, width=640, height=480, framerate=90/1 fpsdisplaysink video-sink=kmssink -v
This does not set the fps=90 or anywhere close to that.
I tried to manually set it - using
1) v4l2-ctl :
root@tda4vm-sk:~# v4l2-ctl -d /dev/video2 -p 30
VIDIOC_S_PARM: failed: Inappropriate ioctl for device
2) v4l2-ctl for the subdevice :
v4l2-ctl -d /dev/v4l-subdev2 --set-subdev-fps pad=0,stream=0,fps=120
Note: --set-subdev-fps is only for testing.
Normally media-ctl is used to configure the video pipeline.
ioctl: VIDIOC_SUBDEV_S_FRAME_INTERVAL (pad=0,stream=0)
VIDIOC_SUBDEV_S_FRAME_INTERVAL: failed: Inappropriate ioctl for device
I am unable to proceed beyond 30 FPS.
Could I get any help?