<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Message: 1<br>Date: Wed, 11 Aug 2010 19:24:54 +0100<br>From: Tim-Philipp M?ller <<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>><br>
Subject: Re: [gst-devel] Need help using gst-launch to display a PNG<br> image<br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>Message-ID: <1281551094.13195.4.camel@zingle><br>
Content-Type: text/plain; charset="UTF-8"<br><br>On Wed, 2010-08-11 at 11:08 -0700, Bill West wrote:<br><br>> My problem: from what I can tell, I need to type something like this:<br>><br>><br>> gst-launch -v filesrc location=overlay.png ! pngdec !<br>
> imagefreeze ! autovideosink<br><br>> But when I do, I get this:<br><br>> stream stopped, reason not-negotiated<br><br>This is a bug of some sort in autovideosink really.<br><br>Try:<br><br> gst-launch-0.10 filesrc location=overlay.png ! pngdec !<br>
ffmpegcolorspace ! videoscale ! imagefreeze ! autovideosink<br><br>(or try using ximagesink instead of autovideosink)<br><br>Cheers<br> -Tim<br><br>Thanks Tim!</blockquote>
<div> </div>
<div>Thanks Tim! That did the trick!</div>
<div> </div>
<div>So, I tried to be self sufficient, and do the next step, which is to display video thru the alpha part of the PNG file. From googling around, it appears I should do something like this:</div>
<div> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><span lang="EN">
<p>gst-launch-0.10 filesrc location=overlay.png ! pngdec ! ffmpegcolorspace ! videoscale ! imagefreeze ! videomixer name=mix ! autovideosink videotestsrc ! video/x-raw-yuv, width=320, height=240 ! mix</p></span></div></blockquote>
<div>But when I do, all I get is this:</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><span lang="EN">
<p>WARNING: erroneous pipeline: no element "mix"</p></span></div></blockquote>
<div> </div>
<div>Has videomixer changed, or am I doing something wrong?</div>
<div> </div>
<div>More general question: where can I look up this stuff, so I don't have to keep bugging you guys? :)<br><br>thanks (again),</div>
<div> </div>
<div>Bill.</div></div>