Low FPS on IMX8MPlus with Monochrome Camera: Kernel Monitoring & Tuning

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Low FPS on IMX8MPlus with Monochrome Camera: Kernel Monitoring & Tuning

623件の閲覧回数
Olivia
Contributor I

Hello,

I am currently working with an IMX8MPlus board and trying to stream video from a monochrome camera. However, I am experiencing a limitation in the frame rate—I'm only able to achieve 10 FPS. Interestingly, when using the same camera sensor with a Raspberry PI board, I can achieve a higher frame rate.

To troubleshoot and understand the issue better, I want to monitor the frame rate (FPS) directly from the kernel side. Is there any function or file in the kernel that I can access to read the actual FPS being processed or dropped during the stream?

Additionally, any insights into potential reasons for the lower FPS on the IMX8MPlus would be helpful. I've checked the usual suspects like sensor settings and stream configuration, but I’m still not able to achieve the same frame rate as on the other board.

I would appreciate any guidance on:

  • Kernel functions or files to check FPS

  • Performance tuning or configuration tips for video streaming on the IMX8MPlus

  • Known issues or limitations related to this board and camera streaming

Thank you in advance for your help!

0 件の賞賛
返信
3 返答(返信)

576件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! fpsdisplaysink video-sink=xvimagesink text-overlay=false sync=false -v 2>&1

  • -v 2>&1 - redirects output to stdout
  • text-overlay=true - renders the FPS information into the video stream.

Regards

0 件の賞賛
返信

383件の閲覧回数
Olivia
Contributor I
Hello,

I have used the following command:

gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,format=GRAY8,width=1280,height=720,framerate=60/1 ! videoconvert ! fpsdisplaysink text-overlay=true video-sink=ximagesink sync=false

However, I'm only getting 10 fps. Are there any other pipelines that can trigger the hardware GPU to increase the fps?

Thank You
0 件の賞賛
返信

572件の閲覧回数
Olivia
Contributor I
Hi,
Thank you for the reply!
I am currently facing an issue with the following GStreamer command:

"gst-launch-1.0 v4l2src device=/dev/video2 ! videoconvert ! fpsdisplaysink video-sink=xvimagesink text-overlay=false sync=false -v 2>&1 "

Upon running the command, I am encountering the following warning:
"
WARNING: erroneous pipeline: could not set property "video-sink" in element "fpsdisplaysink" to "xvimagesink"
"

I would appreciate any assistance or suggestions on how to resolve this issue. Thank you in advance for your time and support.
0 件の賞賛
返信