OpenGL Accelerated HTML Overlay: Performance - Xilinx UltraScale
Appearance
| OpenGL Accelerated HTML Overlay |
|---|
| Basics |
| Getting Started |
| Library User Manual |
| GStreamer |
| Examples |
| Performance |
| Contact Us |
| Previous: Performance/NXP_i.MX 8 | Index | Next: Contact_Us |
| OpenGL Accelerated HTML Overlay |
|---|
| Basics |
| Getting Started |
| Library User Manual |
| GStreamer |
| Examples |
| Performance |
| Contact Us |
This wiki intents to provide performance measurements for the Xilinx Ultrascale.
The plugin was tested with an example overlay and an glvideomixer for the overlaying stage, using an Xilinx UltraScale+ with Pentalinux. The measurements were taken with the following pipeline:
Pipeline (htmloverlay + glvideomixer):
export NUM_VIDEO_BUFFERS=570 gst-launch-1.0 -e \ glvideomixer name=mix background=black start-time-selection=first \ sink_0::zorder=0 sink_1::zorder=1 sink_1::alpha=1.0 sink_1::xpos=0 sink_1::ypos=0 ! \ 'video/x-raw(memory:GLMemory),format=RGBA,width=1280,height=720,framerate=30/1' ! \ gldownload ! queue ! videoconvert ! \ omxh264enc target-bitrate=4000000 control-rate=variable ! h264parse ! mp4mux faststart=true ! filesink location=out.mp4 \ videotestsrc pattern=smpte is-live=true do-timestamp=true num-buffers="$NUM_VIDEO_BUFFERS" ! \ 'video/x-raw,format=RGBA,width=1280,height=720,framerate=30/1' ! \ glupload ! queue ! mix.sink_0 \ videotestsrc pattern=black is-live=true do-timestamp=true num-buffers="$NUM_VIDEO_BUFFERS" ! \ 'video/x-raw,height=1080,width=1920,framerate=30/1,format=RGBA' ! \ queue ! htmloverlay url="http://0.0.0.0:8000/ridgerun_overlay.html" enable-js=true web-refresh-rate=5 ! \ queue ! videoconvert ! 'video/x-raw,format=RGBA' ! glupload ! queue ! mix.sink_1
The gst-shark tool was used to measure CPU utilization. This tracer records the CPU load during the execution of a given pipeline.

As seen on the graphic the average CPU is around 55%.

Frame rate is on average 13FPS.
Processing time measures how long each pipeline element takes per buffer, helping identify components that increase overall latency.
| i.MX8MP with HTML refresh at 5 Hz | |||
|---|---|---|---|
| Resolution | 720p | 1080p | 4K |
| System Memory (htmloverlay) | |||
| Maximum Framerate (fps) |
13 | - | - |
| CPU Consumption (%) | 55 | - | - |
| RAM Consumption (MiB) | - | - | - |
The user overlay (click View Source on the wiki to see the html):
| Previous: Performance/NXP_i.MX 8 | Index | Next: Contact_Us |