AnsweredAssumed Answered

i.mx53 - Image Decoders pngdec & jpegdec are unavailable

Question asked by GopiNagaBharath on Sep 21, 2013
Latest reply on Oct 9, 2013 by Qiang Li - Mpu Se
Branched to a new discussion

Hello,

 

I am trying to show an image overlay over the video stream.

The video is taken from the external USB based camera.

 

To enable the image overlaying using the gstreamer, i have tried using the gst-launch command along with the pngdec decoder. This doesn't work, as the pngdec is unavailable on the board.

 

I have verified this by running gst-inspect | grep png. This resulted in giving  the below.

 

-------------------------------------------------------------------------

root@freescale /usr/lib/gstreamer-0.10$ gst-inspect | grep png

typefindfunctions: image/png: png

ffmpeg:  ffenc_png: FFMPEG PNG image encoder

ffmpeg:  ffdec_png: FFMPEG PNG image decoder

-----------------------------------------------------------------------

 

When I use this ffenc_png with the gst-launch command, I get this below error.

---------------------------------------------------------------------

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(2149): 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 ...

-------------------------------------------------------------------------

 

I would like to know how to enable the pngdec so that i can use it along with the gst-launch to display the image.

 

Were any body successfully able to use the pngdec to show the images on the display with the use of gstreamer on any i.mx platform??

 

Regards,

Gopi

Outcomes