change background in text

Hamo61 hamza_the_one at hotmail.de
Wed May 28 08:56:54 PDT 2014


it works with videotestsrc but wen i put a filesrc instead the text doesent appear...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

Date: Wed, 28 May 2014 07:35:53 -0700
From: ml-node+s966125n4667247h48 at n4.nabble.com
To: hamza_the_one at hotmail.de
Subject: Re: change background in text



	


  
  


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



_______________________________________________

gstreamer-devel mailing list

[hidden email]

http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


	
	
	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://gstreamer-devel.966125.n4.nabble.com/change-text-and-timeoverlay-settings-tp4667241p4667247.html
	
	
		
		To unsubscribe from change text- and timeoverlay settings, click here.

		NAML
	 		 	   		  



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/change-text-and-timeoverlay-settings-tp4667241p4667249.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140528/97eb686c/attachment.html>


More information about the gstreamer-devel mailing list