Re: Re: Overlaying an image on a live stream
Jan Spurný
JSpurny at seznam.cz
Wed Mar 7 00:39:41 PST 2012
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 <kususe at interfree.it>
> 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
> 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