GstSEIMetadata - Performance - Qualcomm Dragonwing 9075 EVK
Appearance
| GstSEIMetadata |
|---|
| GstSEIMetadata Basics |
| Getting Started |
| User Guide |
| Examples |
| Performance |
| FAQ |
| Contact Us |
Benchmark environment
The following setup was used for all the benchmarks:
- Qualcomm Dragonwing 9075 EVK
- Ubuntu 24.04 image provided by Canonical
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
This test compares the behavior of a GStreamer encoding pipeline with and without the seiinject element. The pipeline captures 1080p NV12 video at 30 FPS, encodes it using v4l2h264enc, parses the H.264 stream, and measures throughput using the perf element and the top command.
Three scenarios were evaluated:
- Baseline pipeline without
seiinject - Pipeline with
seiinjectusing a short metadata string - Pipeline with
seiinjectusing a long metadata string
Pipelines
Without SEI Inject Element
gst-launch-1.0 -e \ qtiqmmfsrc camera=1 ! \ 'video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1' ! \ queue ! \ v4l2h264enc ! \ h264parse config-interval=-1 ! \ perf ! \ fakesink sync=false
With SEI Inject Element - Short Metadata String
gst-launch-1.0 -e \ qtiqmmfsrc camera=1 ! \ 'video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1' ! \ queue ! \ v4l2h264enc ! \ h264parse config-interval=-1 ! \ seiinject metadata="+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" ! \ perf ! \ fakesink
With SEI Inject Element - Long Metadata String
gst-launch-1.0 -e \ qtiqmmfsrc camera=1 ! \ 'video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1' ! \ queue ! \ v4l2h264enc ! \ h264parse config-interval=-1 ! \ seiinject metadata="+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+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-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" ! \ perf ! \ fakesink
Results
| Test Case | CPU Usage | Memory Usage | Virtual Memory | Resident Memory | Shared Memory | Instant Bitrate | Mean Bitrate | Instant FPS | Mean FPS |
|---|---|---|---|---|---|---|---|---|---|
| Without seiinject | 6.0% | 0.2% | 771596 KB | 82616 KB | 67976 KB | 24,639,256 bps | 25,054,877.600 bps | 29.968 | 29.924 |
| With seiinject - short metadata string | 5.3% | 0.2% | 772832 KB | 82856 KB | 68136 KB | 24,807,232 bps | 24,841,685.913 bps | 29.912 | 29.970 |
| With seiinject - long metadata string | 5.3% | 0.2% | 772912 KB | 82744 KB | 68136 KB | 22,711,000 bps | 22,823,272.000 bps | 30.013 | 29.949 |
Observations
- CPU usage remained low in all cases, ranging between 5.3% and 6.0%.
- Memory usage stayed constant at 0.2% for all tested pipelines.
- Adding the
seiinjectelement caused only a small increase in virtual and shared memory usage. - The short metadata string did not negatively affect the frame rate or bitrate in a significant way.
- The long metadata string maintained the expected 30 FPS behavior