i.mx53 - Image Decoders pngdec & jpegdec are unavailable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx53 - Image Decoders pngdec & jpegdec are unavailable

Jump to solution
1,438 Views
GopiNagaBharath
Contributor IV

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

Labels (4)
0 Kudos
1 Solution
515 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The pngdec and jpegdec are not implemented by Freescale, they are open source plug in, you can reference it to https://community.freescale.com/thread/307296.


View solution in original post

0 Kudos
1 Reply
516 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The pngdec and jpegdec are not implemented by Freescale, they are open source plug in, you can reference it to https://community.freescale.com/thread/307296.


0 Kudos