GstRtspSink - NXP i.MX95
Appearance
Benchmark environment
The following setup was used for all the benchmarks:
- Verdin NXP i.MX95
- Toradex manifest with BSP version 7
The measurements are taken considering the following criteria:
- Average behaviour: measurements considering typical image processing pipelines. The CPU consumption excludes the video source overhead.
Benchmarking
Instruments:
- CPU:
topcommand - RAM:
topcommand - GstPERF: perf plugin
Replicate the Results
The following pipelines were used to measure the performance. The performance of the pipeline with the element was measured while a client was consuming the data.
H264
gst-launch-1.0 v4l2src device=/dev/video6 ! video/x-raw, format=YUY2, width=1920, height=1080, framerate=60/1 ! queue ! imxvideoconvert_g2d ! v4l2h264enc ! perf print-cpu-load=true ! video/x-h264, mapping=/stream1 ! rtspsink service=5000"
H265
gst-launch-1.0 v4l2src device=/dev/video6 ! video/x-raw, format=YUY2, width=1920, height=1080, framerate=60/1 ! queue ! imxvideoconvert_g2d ! v4l2h265enc ! video/x-h265, mapping=/stream1 ! perf print-cpu-load=true ! rtspsink service=5000
Performance Results
CPU
The following image shows the CPU performance.

RAM
The following image shows the RAM usage.

Framerate
The following image shows the average framerate.

Summary
The following table summarize the results.
| CODEC | CPU (%) | RAM (MB) | RAM (%) | FPS |
|---|---|---|---|---|
| H264 | 0.725 | 12.319 | 0.159 | 29.932 |
| H265 | 0.637 | 12.320 | 0.159 | 29.932 |