Cairooverlay parallel with appsink produces abnormal CPU load

Václav Mach mach.vasek at gmail.com
Tue Oct 16 11:41:13 UTC 2018


Dear all,
I'm facing a problem with cairooverlay element. With the following pipeline

*rtspsrc ! rtph264depay ! decodebin ! imxg2dvideotransform ! tee (first) !
queue (first) ! cairooverlay ! tee (second) ! queue (second) !
imxg2dvideosink*
everything works fine. When observing the CPU load in htop the thread
created by *queue (first) *has a CPU load of about 25% of one core.

If I dynamically connect the following bin into *tee (first)*

*queue (third) ! videorate ! capsfilter framerate=1/1 -> appsink*
the CPU load of the thread created by *queue (first)* grows up to 60 % and
some video frames on output are missing the graphics created by
cairooverlay.

Any advice how to avoid frames with missing cairo graphics and reduce the
CPU load, please?

Best regards,
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181016/da86e57e/attachment.html>


More information about the gstreamer-devel mailing list