Home  >  Support  >  Support Forum  >  I cannot display an image.
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

I cannot display an image.

0 votes
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 ...
asked Jun 10 in Linux by chung New to the Community (30 points)

Please log in or register to answer this question.

3 Answers

0 votes

OS : ubuntu12.04 32bit

Board : Wi-i.MX53

Digi ESP for Embedded Linux
Version: 2.0 for Digi Embedded Linux
Build id: 20130211 DEL-
answered Jun 10 by chung New to the Community (30 points)
0 votes
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
answered Jun 11 by tuxembb Seasoned Professional (240 points)
0 votes
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:


answered Jun 11 by LeonidM Veteran of the Digi Community (410 points)
Contact a Digi expert and get started today! CONTACT US