Camera issues (V4l2) CSI 30FPS maximum

Hello, I’ve tested a lot today and tried to make a gstreamer pipeline work with more than 30FPS,
I’ve tested the imx219 and ov5647 cameras, with multiple resolutions and “framerates”.

First with mppenc : gst-launch-1.0 v4l2src device=/dev/video0 io-mode=mmap ! ‘video/x-raw,format=NV12,width=1280,height=720,framerate=60/1’ ! mpph265enc ! queue ! fpsdisplaysink video-sink=fakesink text-overlay=false sync=true -v 2>&1

Then without gst-launch-1.0 v4l2src device=/dev/video0 io-mode=mmap ! ‘video/x-raw,format=NV12,width=1280,height=720,framerate=60/1’ ! queue ! fpsdisplaysink video-sink=fakesink text-overlay=false sync=true -v 2>&1

In general the results were really bad,

with the imx219 we’re locked at about 30fps :

with the ov5642 we’re looking at 10 fps:

I also repeated this tests with the isp disabled, but this didn’t improve the framerate at all

Am I the only one noticing this problem ?

@ken how about the test result in our office

Which kernel?

if i remember correctly my tests with ov5647 were something 1080p@30 but since my gstreamer version was missing a lot of patches i ended up using pure v4l2.

And my kernel imx219 driver has a comment like this:
/* MCLK:24MHz 1920x1080 30fps MIPI LANE2 */

So i got 30fps on my tests as well.

For OV5647 there is a trick to get a higher FPS, see Abel remarks: