How to add text on gstreamer except textoverlay ?

ToanVnET toanrd.vnet at gmail.com
Wed Sep 9 04:46:13 UTC 2020


Hi,
I'm using textoverlay to add dynamic text in GStreamer. But the problem is
it takes quite lot of CPU usage. 
Assume that, I only record video --> CPU usage about 3-5 %. But when I add
textoverlay, It can reached up to 20% at peak.

This is how I add dynamic text: 
First, I create a timeout_callback function. In there, I use g_object_set to
set textoverlay content.  Then I use g_timeout_add_seconds_full function to
create an event each 1 sec and call timeout_callback function. 

So, it there any way to add dynamic text in GStreamer without using
textoverlay ? Or, there is a problem with the way I do dynamic text ?

Please help me !



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list