I cannot display an image.

Please tell me how to use “ffdec_png”. (and bmp, jpeg)

gst-launch filesrc location=xxxx.png ! ffdec_png ! autovideosink

Setting pipeline to PAUSED …
MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Feb 22 2013 13:36:49.
Pipeline is PREROLLING …
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(2684): 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 NULL …
Total rendered:0
[—>FINALIZE v4l_sink
Freeing pipeline …


OS : ubuntu12.04 32bit

Board : Wi-i.MX53

Digi ESP for Embedded Linux
Version: 2.0 for Digi Embedded Linux
Build id: 20130211 DEL-

First update to DEL 5.7.2 by running package manager in Digi ESP. Then try the samples provided in Digi ESP.

Check docs Digi ESP -> Help -> Digi ESP for Digi Embedded Linux
9.15.2. Gstreamer Framework

If you are on ccwimx53 and DEL you are already on the latest version of Digi embedded Linux.

To display jpeg:
You can use the jpegdec gstreamer element to display still JPEG images in the screen.

Using mfw_v4lsink:

gst-launch multifilesrc location=/example.jpg ! jpegdec ! freeze ! mfw_v4lsink

Using mfw_isink:

gst-launch filesrc location=/example.jpg ! jpegdec ! freeze ! mfw_isink

The JPEG images must have a resolution multiple of 16 to work properly with gstreamer’s mfw_v4lsink and mfw_isink.

also please check those 2 threads for more info and potential workaround:



JPEG is work.
~# gst-launch multifilesrc location=/example.jpg ! jpegdec ! autovideosink

PNG and BMP is not work.
Please tell me the pipeline.