Jump to content

GstQtOverlay plugin performance on NXP Platforms

From RidgeRun Developer Wiki

Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page


Previous: Performance/jetson Index Next: Performance/qualcomm







TL;DR

This section is organized as follows:


i.MX95 Platform

Benchmarking

Instruments:

Replicate the Results

The pipeline captures 1920×1080 YUY2 video at 30 fps from /dev/video6 and converts the frames with imxvideoconvert_g2d. The qtoverlay element loads utils/security/main_security.qml, a RidgeRun provided example overlay that draws icons and an animated GIF over the video. GstPERF measures the stream after compositing, and fakesink discards the output frames. The benchmark can run without displaying or recording the video.

gst-launch-1.0 v4l2src device=/dev/video6 ! video/x-raw,format=YUY2,width=1920,height=1080,framerate=30/1 ! queue ! imxvideoconvert_g2d ! qtoverlay qml=utils/security/main_security.qml ! perf print-cpu-load=true ! queue ! fakesink sync=false

Results

CPU Usage

RAM Usage

Framerate

Summary

The following table summarize the results.

Resolution CPU (%) RAM (MB) RAM (%) FPS
1920x1080 7.401 195.181 2.536 30.018

In this 1080p test, the full pipeline delivered about 30 fps while using 7.4% CPU and 195.2 MB of RAM. The measurements cover capture, format conversion, and overlay rendering together.

Evaluate GstQtOverlay with your own workload. RidgeRun provides evaluation binaries so you can test another QML scene, resolution, frame rate, or pipeline on your target. To request a build, contact RidgeRun with your board and BSP, Qt, GStreamer, and kernel versions, and a brief description of what you want to test. See Evaluating GstQtOverlay for request and installation instructions.

i.MX8MP Platform

CPU usage

Taking the following pipelines as reference:

gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,width=${W},height=${H},framerate=30/1" ! imxvideoconvert_g2d ! qtoverlay ! perf print-cpu-load=1 ! fakesink

Results

720p 1080p
4K
Max Framerate (fps) 81.4 38.2 -
CPU(%) 2.7 4.3 -
RAM(MiB) 40 65.2 -


Previous: Performance/jetson Index Next: Performance/qualcomm



Cookies help us deliver our services. By using our services, you agree to our use of cookies.