Qualcomm Dragonwing GStreamer Performance: Profiling Latency
A GStreamer pipeline can meet its target frame rate and still add unwanted delay. To find where that delay comes from, we measured latency across individual elements and complete pipelines on the Qualcomm Dragonwing IQ-9075 EVK.
This article walks through what we measured, what the results show, and how we profile a pipeline, clearly distinguishing pipeline latency from end-to-end system delay.

What do we mean by pipeline latency?
We measured the time a video buffer took to travel downstream from the source's element output to the sink's element input. For the simple comparison pipelines, we collected 300 samples using 1920 × 1080 video at 30 frames per second.
This measurement covers the GStreamer path between those elements. It does not include the full camera-to-display or end-to-end streaming delay, which may also include sensor exposure, display refresh, buffering, and network transport.
Software and VPU accelerated codec results
We compared software and VPU-accelerated H.264 encoding and decoding pipelines. In our tests, the VPU pipelines had lower measured latency:
Pipeline tested | Average source-to-sink latency | VPU Speed up |
Software H.264 encoding to MP4 | 4,105.9 ms | - |
VPU H.264 encoding to MP4 | 4.7 ms | 873x |
Software H.264 decoding | 7.7 ms | - |
VPU H.264 decoding | 1.7 ms | 4.5x |
Note that these figures also apply only to the configurations we tested and under our specific testing environment (the encoding tests used synthetic 1080p video). For decoding, our software pipeline averaged 7.7 ms, compared with 1.7 ms for the VPU accelerated pipeline.
See the IQ-9075 GStreamer latency results for the pipelines and per-element measurements.
Why measure each element?
A total latency number tells us how long a buffer took to pass through the pipeline, but it doesn’t show where the time went.
In our VPU accelerated encoding test, v4l2h264enc averaged about 3.9 ms. The parser, MP4 muxer, format conversion, and caps filter added smaller amounts. Measuring each stage gives us a clearer starting point when tuning a pipeline.
It can also reveal costs outside the codec. Moving frames between GPU memory and system memory, or converting between pixel formats, can add delay even when a hardware accelerator handles the main processing step.
How we profile a GStreamer pipeline
We record the test conditions alongside the measurements so that other engineers can interpret and reproduce the results:
Define the workload: source, resolution, frame rate, pixel format, codec, and sink.
Record the software environment: OS image, GStreamer and plugin versions, and relevant configuration.
Review the latency distribution: compare average, minimum, maximum, and percentile values.
Measure resource use and throughput: latency alone doesn’t tell us how the system behaves under sustained load.
Change one major factor at a time: for example, compare codec paths while keeping the media settings and other pipeline stages as similar as possible.
We use three complementary views in our GStreamer performance methodology: element latency, average resource behavior, and maximum pipeline throughput.
Keep the test scope in view
These results apply to the specific hardware, software, pipeline, and test conditions we used. They should not be assumed to predict performance in other configurations. Latency can change with pipeline topology, software image, GStreamer and plugin versions, clock settings, memory transfers, and other aspects of the test setup.
We validated the guide’s example pipelines on the IQ-9075 EVK running Ubuntu 24.04. Plugin availability and element names may differ across software images and versions, so confirm them on your target system.
Latency is only one measure of performance. An average can hide occasional long delays, and a short test cannot establish sustained behavior under a product’s full workload. Validate the complete workflow under the operating conditions you expect in your application.
Explore the Qualcomm Dragonwing Technical Guide
The Qualcomm Dragonwing Technical Guide brings together IQ-9075 bring-up, GStreamer examples, multimedia workflows, hardware acceleration, performance procedures, and security information.
Start with our GStreamer performance methodology and element latency results. If you’re developing or tuning an IQ-9075 multimedia pipeline, contact RidgeRun to discuss your engineering requirements.



