<div dir='ltr'>it works with videotestsrc but wen i put a filesrc instead the text doesent appear...<div>gst-launch-1.0.exe filesrc location=test.mp4 ! decodebin ! queue ! videoconvert !  textoverlay text="<span foreground="blue" background="green" size="x-large">Blue text</span> is <i>cool</i>" !  autovideosink<br><br><div><hr id="stopSpelling">Date: Wed, 28 May 2014 07:35:53 -0700<br>From: <a href="/user/SendEmail.jtp?type=node&node=4667249&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><br>To: <a href="/user/SendEmail.jtp?type=node&node=4667249&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>Subject: Re: change background in text<br><br>

        


  
  


Le mercredi 28 mai 2014 à 06:13 -0700, Hamo61 a écrit :
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'>
<pre>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:
</pre>
</blockquote>
<br>
textoverlay uses pango markup for styling. There is good documentation for this markup at:<br>
<br>
<a href="https://developer.gnome.org/pango/stable/PangoMarkupFormat.html" rel="nofollow" target="_blank" link="external">https://developer.gnome.org/pango/stable/PangoMarkupFormat.html</a><br>
<br>
An example with green background:<br>
<br>
gst-launch-1.0 videotestsrc ! textoverlay text="<span foreground=\"blue\" background=\"green\" size=\"x-large\">Blue text</span> is <i>cool</i>" ! xvimagesink<br>
<br>
hope this will help,<br>
Nicolas


<br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="https:///user/SendEmail.jtp?type=node&node=4667247&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target="_blank" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold;">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/change-text-and-timeoverlay-settings-tp4667241p4667247.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/change-text-and-timeoverlay-settings-tp4667241p4667247.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em;">
                
                To unsubscribe from change text- and timeoverlay settings, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble:email.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble:email.naml-instant_emails%21nabble:email.naml-send_instant_email%21nabble:email.naml" rel="nofollow" style="font:9px serif;" target="_blank" link="external">NAML</a>
        </div></div></div>                                      </div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/change-text-and-timeoverlay-settings-tp4667241p4667249.html">RE: change background in text</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>