GStreamer i.MX6 Image Display

Document created by Leonardo Sandoval Gonzalez Employee on Nov 15, 2012Last modified by Jodi Paul on May 16, 2013
Version 6Show Document
  • View in full screen mode

There is no Freescale GStreamer element which does the JPEG decoding, so we must rely on a standard one, like 'jpegdec'. In case your Linux system was built using LTIB, in order to have the jpegdec element included on the gst-plugin-good, follow these steps:

 

  1. On the LTIB menuconfig, make sure the following packages are selected:
    1. gstreamer-plugins-good
    2. libjpeg
    3. libpng
  2. Remove the configure parameters '--disbale-libpng' and '--disable-jpeg' on the file './dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec'
  3. Rebuild and flash your board (or SD card) again.

 

 

Image displayVSALPHA=1 gst-launch filesrc location=sample.jpeg ! jpegdec ! imagefreeze ! mfw_isink

 

Important: non 8 pixel aligned width and height is treated as not supported format in isink plugin.

Attachments

    Outcomes