[gstreamer-bugs] [Bug 573176] video stream from single png image fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Feb 25 23:19:53 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573176

  GStreamer | gst-plugins-good | Ver: 0.10.13




------- Comment #2 from Simon Ortling  2009-02-26 07:20 UTC -------
(In reply to comment #1)
> Simon: it says "no framerate set on the *sink* caps", ie. before the pngdec.

i have tried rearranging the gst-launch pipeline to this (python, no idea how
to set sink caps for gst-launch-0.10):

pngdec = gst.element_factory_make ("pngdec", "png-decoder")
caps = gst.Caps ("""video/x-raw-rgb, framerate=25/1""")
pngdec.get_pad ("sink").set_caps (caps)

It results in the "gstbasetransform.c:1037..."[snip] error from above, maybe
transforming rgb -> yuv is the problem?

> What's the pipeline that you said on IRC used to work before the upgrade?

gst-launch-0.10 filesrc location=$1 ! pngdec ! alphacolor ! ffmpegcolorspace !
videomixer name=mix ! ffmpegcolorspace ! autovideosink videotestsrc !
video/x-raw-yuv, width=640, height=480 ! ffmpegcolorspace ! mix.

pngdec did not send an EOS after frame 1 so the image was kept being displayed.

> (Note: overall use case is how to overlay a still image with videomixer, so we
> should probably add a png and an jpeg example pipeline to the videomixer docs,
> since this is really an FAQ)

Hm, what FAQ do you mean?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573176.




More information about the Gstreamer-bugs mailing list