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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Feb 25 11:50:25 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
           Summary: video stream from single png image fails
           Product: GStreamer
           Version: 0.10.13
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lst at ortling.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Trying to use a single png image as src for a video pipeline, in conjunction
with a videomixer element one could build an overlay or watermark this way.

This works for one and only one frame before eos is sent:
gst-launch-0.10 filesrc location=$1 ! pngdec ! ffmpegcolorspace ! autovideosink

The pngdec description says "If there is no framerate set on sink caps, it
sends EOS after the first picture". Setting the framerate downstream results in
an internal data stream error from pngdec:
gst-launch-0.10 filesrc location=$1 ! pngdec ! video/x-raw-rgb, framerate=25/1
! ffmpegcolorspace ! autovideosink

output with GST_DEBUG=2:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.043916720  5092  0x9d36710 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<capsfilter0> transform
could not transform video/x-raw-rgb, width=(int)64, height=(int)64,
bpp=(int)32, framerate=(fraction)0/1, depth=(int)32, endianness=(int)4321,
red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280,
alpha_mask=(int)255 in anything we support (othercaps (NULL))
0:00:00.044063120  5092  0x9d36710 WARN                pngdec
gstpngdec.c:518:gst_pngdec_task:<pngdec0> error: Internal data stream error.
0:00:00.044075720  5092  0x9d36710 WARN                pngdec
gstpngdec.c:518:gst_pngdec_task:<pngdec0> error: stream stopped, reason
not-negotiated
ERROR: from element /GstPipeline:pipeline0/GstPngDec:pngdec0: Internal data
stream error.
Additional debug info:
gstpngdec.c(518): gst_pngdec_task (): /GstPipeline:pipeline0/GstPngDec:pngdec0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

System is Debian Testing/Unstable, Package is gstreamer0.10-plugins-good
0.10.13-3


-- 
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