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.
Hi Fabio,
after following all steps above with BSP 11.09.01, I got this result:
root@mcStudio ~/Documenti$ gst-launch filesrc location=mc.jpg ! jpegdec ! freeze ! mfw_isink
MFW_GST_ISINK_PLUGIN 2.0.3 build on Nov 18 2011 09:10:36.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
hwbuf allocator zone(86016) created
source fmt error
any suggestion?...
Thank you
Massimo
Hi,
I'm also trying to show my jpg with gstreamer.
I followed all the steps you have mentioned. I got this error:
WARNING: erroneous pipeline: no element "mfw_isink"
Can you help me to fix this error?
Regards,
sujatha