iMX8qm gstreamer low frame rate

I am trying to stream using an imx8qm mipi csi-2 interface.

I use this camera.

I followed this reference.

In BSP version 5, vpu encoder time out error occurs.
So I used BSP version 4.
With gstreamer the frame is 5 per sec.
Is there any way to increase the frame?

I used the below command.

gst-launch-1.0 v4l2src device='/dev/video4' num-buffers=300 ! video/x-raw,format=RGB16,width=1280,height=720,framerate=30/1 ! queue ! videoconvert ! queue ! v4l2h264enc ! h264parse ! matroskamux ! filesink location=test.mkv

In addition, I am trying to receive raw14 format using MIPI CSI-2, is there any way?

What exact hardware (module, carrier board and camera module) and software versions of things are you talking about? Please note that so far only this year’s August monthly version has been validated and further BSP 5 integration is still pending. Please follow e-con Systems documentation concerning validated GStreamer pipelines.

I am using Apalis iMX8QM 4GB V1.1B, Ixora V1.1A.
I tried to use BSP 5.0, but I built BSP 4.0 because of a VPU encoder timout error.

This is a custom image built by referring to this.

The camera is e-CAM50_CUiMX8-5MP Camera for i.MX8 Quad Max.

Using the document provided by e-con, it was increased to 22 frames in FHD.
I used this command.

gst-launch-1.0 v4l2src device='/dev/video4' ! video/x-raw,width=1920,height=1080,framerate=30/1 ! v4l2h264enc ! h264parse ! matroskamux ! fpsdisplaysink video-sink="filesink location=test.mkv" textoverlay=false sync=false -v

Is there a way to send 30 frames in FHD?

Good question which you may also enquire with e-con. Thanks!