Overlaying an image on a video

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Mar 1 11:50:02 PST 2012


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"

I believe the syntax you're looking for is mix. with a trailing dot,
this basically means "a suitable pad on the element named 'mix'".

 Cheers
  -Tim



More information about the gstreamer-devel mailing list