here's an example that works with overlaying text on top of video<br><br>gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! \<br>timeoverlay halignment=right valignment=bottom shaded-background=true ! \<br>
clockoverlay halignment=left valignment=bottom text="M/D/Y:" shaded-background=true time-format="%m/%d/%Y %H:%M:%S" ! \<br>tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate ! \<br>
'video/x-raw-yuv,framerate=30/1' ! theoraenc ! queue ! oggmux ! \<br>filesink location=testogg.ogg<br><br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 9:50 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, 2012-03-01 at 11:40 -0800, kususe wrote:<br>
<br>
> I want to code a pipeline to overlay an image on a video.<br>
> First I would like to understand how to implement this one and then to code<br>
> it.<br>
> So I attemped with this:<br>
><br>
> gst-launch filesrc location=/home/boss/test/video.mpg ! decodebin2 !<br>
> videomixer name=mix ! xvimagesink filesrc location =<br>
> /home/boss/test/image.png ! pngdec ! ffmpegcolorspace ! mix<br>
><br>
> but I got: "pipeline wrong. No element called mix"<br>
<br>
</div>I believe the syntax you're looking for is mix. with a trailing dot,<br>
this basically means "a suitable pad on the element named 'mix'".<br>
<br>
Cheers<br>
<span><font color="#888888"> -Tim<br>
</font></span><div><div><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>