Dynamic text again

Stefan Kost ensonic at hora-obscura.de
Tue Jul 19 08:10:10 PDT 2011


On 07/18/11 20:56, jaro wrote:
> Hi, I was looking for howto enhance a video stream with a dynamic text, I
> have seen some discussions, but still I see no solution. 
> My problem:  I want to put GPS information on top of a webcam stream.
> I played a little with a named pipe subtitles.fifo and a modified example
> gst-launch -v filesrc location=subtitles.fifo ! subparse ! txt.  
> videotestsrc ! timeoverlay ! textoverlay name=txt shaded-background=yes !
> xvimagesink
> but without a big success.

gst-launch fdsrc fd=0 ! text/plain ! txt. videotestsrc ! textoverlay
name=txt shaded-background=yes font-desc="Serif 40" ! xvimagesink

would read the text from stdin. For some reason it does only for the
first line.

gst-launch fdsrc fd=0 ! text/plain ! txt. videotestsrc ! textoverlay
name=txt shaded-background=yes font-desc="Serif 40" wait-text=false !
xvimagesink

this does not wait, but the text gets cleared on the next frame again :/

Stefan
> Maybe there is some chance with appsrc, but I can see no examples to start
> with. You see, my abilities are not high, I use gstreamer very simply from a
> commandline.
> thans
> jarom
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Dynamic-text-again-tp3676141p3676141.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list