[gst-devel] Need help using gst-launch to display a PNG image

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Aug 11 20:24:54 CEST 2010


On Wed, 2010-08-11 at 11:08 -0700, Bill West wrote:

> My problem:  from what I can tell, I need to type something like this:
> 
> 
>         gst-launch -v filesrc location=overlay.png ! pngdec !
>         imagefreeze ! autovideosink

> But when I do, I get this:

>         stream stopped, reason not-negotiated

This is a bug of some sort in autovideosink really.

Try:

  gst-launch-0.10 filesrc location=overlay.png ! pngdec !
ffmpegcolorspace ! videoscale ! imagefreeze ! autovideosink

(or try using ximagesink instead of autovideosink)

Cheers
 -Tim







More information about the gstreamer-devel mailing list