change background in text
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed May 28 07:34:55 PDT 2014
Le mercredi 28 mai 2014 à 06:13 -0700, Hamo61 a écrit :
> Hi,
>
> how can i remove the border and the shadow from my text in textoverlay and
> add a green background?
> my pipeline:
> gst-launch-1.0.exe videotestsrc ! video/x-raw,width=1920,height=1080 !
> textoverlay font-desc="calibri 60px" text="Hello" ! autovideosink
>
> how can i remove the border from the timeoverlay and change the background
> to green ? ist it possible to say that the timeovelay format is:
> "xx:xx:xx:xx" and not "x:xx:xx:xxx"?
> my pipeline:
textoverlay uses pango markup for styling. There is good documentation
for this markup at:
https://developer.gnome.org/pango/stable/PangoMarkupFormat.html
An example with green background:
gst-launch-1.0 videotestsrc ! textoverlay text="<span foreground=\"blue
\" background=\"green\" size=\"x-large\">Blue text</span> is
<i>cool</i>" ! xvimagesink
hope this will help,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140528/3821ee04/attachment-0001.html>
More information about the gstreamer-devel
mailing list