Overlaying an image on a video

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu Mar 1 12:19:18 PST 2012


Using rsvgoverlay can provide an alternative solution to videomixer:

gst-launch videotestsrc ! rsvgoverlay fit-to-frame=1 data='<svg viewBox="0 0 800 600"><image x="0" y="0" width="100%" height="100%" xlink:href="foo.jpg" /></svg>' ! ffmpegcolorspace ! xvimagesink

Olivier

On Thu, 2012-03-01 at 11:40 -0800, kususe wrote:
> I want to code a pipeline to overlay an image on a video. 
> First I would like to understand how to implement this one and then to code
> it. 
> So I attemped with this: 
> 
> gst-launch filesrc location=/home/boss/test/video.mpg ! decodebin2 !
> videomixer name=mix ! xvimagesink filesrc location =
> /home/boss/test/image.png ! pngdec ! ffmpegcolorspace ! mix
> 
> but I got: "pipeline wrong. No element called mix"
> 
> Suggestions? 
> Thanks in advance
> K
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Overlaying-an-image-on-a-video-tp4436063p4436063.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