Overlaying an image on a live stream

Stefan Kost ensonic at hora-obscura.de
Thu Mar 15 04:26:08 PDT 2012


Am 07.03.2012 10:14, schrieb kususe at interfree.it:
> First solution returns me there's no "freezeimage" element;
> Second one returns  me a ">", like an interactive terminal, nothing more. 

it is called imagefreeze. In the future, gst-inspect | grep freeze, voila

Stefan

>  
> regards,
> K.
>  
>  
> -----Messaggio originale-----
> Da: Jan Spurný <JSpurny at seznam.cz>
> Inviato il: 07 Mar 2012 - 09:39
> A: Discussion of the development of and with GStreamer
> <gstreamer-devel at lists.freedesktop.org>
> 
> 
> Hi,
> 
> there are two options:
> 
> A) use "freezeimage" element after pngdec,
> 
> B) instead of
> 
> filesrc location=graph.png
> 
> use multifilesrc with caps
> 
> multifilesrc location=graph.png caps="image/png,framerate=(fraction)25/1
> 
> (of course change to your framerate)
> 
> sincerely,
> Jan Spurny
> 
>> ------------ P?vodní zpráva ------------
>> Od: kususe
>> P?edm?t: Re: Overlaying an image on a live stream
>> Datum: 06.3.2012 20:15:23
>> ----------------------------------------
>> I modified the presented pipeline to overlay an image onto a video:
>>
>> gst-launch filesrc location=video.mpg ! decodebin2 ! videomixer name=mix !
>> xvimagesink filesrc location=graph.png ! pngdec ! ffmpegcolorspace ! mix.
>>
>> but it stops always in the "prerolling moment" and if I press CTRL-C, it
>> returns:
>>
>> (gst-launch-0.10:3775): GStreamer-WARNING **: adding flushing pad 'sink_1'
>> to running element 'mix', you need to use gst_pad_set_active(pad,TRUE)
>> before adding it.
>>
>>
>> Suggestions??
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/Overlaying-an-image-on-a-live-stream-tp1745726p4450966.html <http://gstreamer-devel.966125.n4.nabble.com/Overlaying-an- image-on-a-live-stream-tp1745726p4450966.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
>>
>>
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> -------------------------------------------------------------------------------
> Valore legale alle tue mail
> InterfreePEC - la tua Posta Elettronica Certificata
> http://pec.interfree.it
> -------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> 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