Claudio Morini

IMX5X - How to Show JPEG (or PNG) with GStreamer

Discussion created by Claudio Morini on Aug 30, 2010
Latest reply on Aug 2, 2013 by Sujatha P.M.

Hello, 


cam anyone help to me to show picture with Gstreamer on IMX5X?


i'm trying to show JPEG with gstreamer and it works on my LINUX PC, using the commands


gst-launch filesrc location=myPicture.jpg ! jpegdec ! freeze ! videoscale ! ffmpegcolorspace ! autovideosink

gst-launch filesrc location=myPicture.jpg ! jpegdec ! freeze ! autovideosink


if i try on my IMX51 board, with the commands


gst-launch filesrc location=myPicture.jpg ! jpegdec ! freeze ! mfw_v4lsink

gst-launch filesrc location=myPicture.jpg ! jpegdec ! freeze ! videoscale ! ffmpegcolorspace ! mfw_v4lsink


the screen is always the same, without the picture to show.


When i run the commands on IMX51 board, this is the log on terminal


MFW_GST_V4LSINK_PLUGIN 1.7.1 build on May 14 2010 10:32:03.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
>>V4L_SINK: Set max lateness = 2000000000.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[V4L Update Display]: left=0, top=0, width=1024, height=768
>>V4L_SINK: Actually buffer status:
        hardware buffer : 6
        software buffer : 0


before to start the test, i modified the ltib file "gst-plugin-base.spec" and removed the "--disable-jpeg" line to enable it.

The problem is the same if i try to show a PNG file.


Thanks in advance.


Outcomes