i.mx53 - Image Decoders pngdec & jpegdec are unavailable

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx53 - Image Decoders pngdec & jpegdec are unavailable

ソリューションへジャンプ
1,477件の閲覧回数
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

ラベル(4)
0 件の賞賛
1 解決策
554件の閲覧回数
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 件の賞賛
1 返信
555件の閲覧回数
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 件の賞賛