We execute this command, which does not write to disk.
gst-launch-1.0 -e qtiqmmfsrc name=qmmf qmmf.video_0 ! video/x-h264,format=NV12,width=1920,height=1080,framerate=30/1 ! fakesink
Looking at it with htop, we see that the CPU usage of qmmf-server goes to 136%. Is that expected? Given that we are only using one camera, we expect this value to be much lower. Any idea how to decrease the CPU load? The gst-launch-1.0 thread is only at around 3%.
See https://pasteboard.co/Kc1mYK1.png for screenshot. (top shows 16% usage, because it is showing the percentage of cpu usage per process for all the 8 cpus, while htop shows the per cpu percentage, 128.0/8=16.0).
What could be taking up so much of the CPU? And how can we make it more performant?