GNOME Bugzilla – Bug 587111
gstreamer-0.10.22 - ffdec_png can't negotiate with filesrc for png file input
Last modified: 2009-06-27 08:57:11 UTC
Please describe the problem: Invoking a pipeline with a filesrc feeding a png image to ffdec_png generates errors rather than joy. Steps to reproduce: 1. Invoke: gst-launch filesrc location=/home/me/pic.png ! ffdec_png 2. See error below Actual results: Setting pipeline to PAUSED ... Pipeline is PREROLLED ... ERROR: from element /GstPipeline:pipeline0/ffdec_png:ffdec_png0: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstffmpegdec.c(2411): gst_ffmpegdec_chain (): /GstPipeline:pipeline0/ffdec_png:ffdec_png0: ffdec_png: input format was not set before data start ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... FREEING pipeline ... Expected results: Success Does this happen every time? Yes Other information:
You need to add typefind between filesrc and ffdec_png. Also, why don't you use pngdec from gst-plugins-good?