Massimo Casoni

Gstreamer with iMX53: can't show JPEG images

Discussion created by Massimo Casoni on Nov 18, 2011

Hello,

I'd like to show a picture on my iMX53QSB LCD (mc.jpeg in the example), using Gstreamer. '--disable-jpeg' was removed in gst-plugins-good.spec, and ltib correctly compiled the libjpeg library. Here's the log:

 

$ gst-launch filesrc location=mc.jpeg ! jpegdec ! freeze ! mfw_v4lsink
MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Nov 18 2011 09:12:12
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
full screen size:800x480
[V4L Update Display]: left=0, top=0, width=800, height=480
>>V4L_SINK: Actually buffer status:
        hardware buffer : 12
        software buffer : 0
New clock: GstSystemClock

 

It seems ok, but the LCD is blank. After stopping the execution with CTRL+C....

 

Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 9983516837 ns.
Setting pipeline to PAUSED ...
total time:0:00:09.988180076 ,Render fps:0
Setting pipeline to READY ...
Setting pipeline to NULL ...
Total rendered:0
Freeing pipeline ...

 

I've no problem showing any video format with gplay, so both Gstreamer and HW should be OK.

Any suggestion?

Outcomes