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:
- On the LTIB menuconfig, make sure the following packages are selected:
- Remove the configure parameters '--disbale-libpng' and '--disable-jpeg' on the file './dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec'
- Rebuild and flash your board (or SD card) again.
|Image display||VSALPHA=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.