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:
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.
Hi Tarek,
I have not tried it on Ubuntu. Do you see an error on the pipeline's log?
I see. Thanks for the clarification. BTW, I need to investigate why the v4lsink case is not working for this particular case.
On L3.0.35 4.0.0, there may be issues when rending high resolution images (>1080) on HDMI. If image rendering looks bad (instead of just one image, there are several columns and some noise at the central area of the monitor), please apply the following patch on kernel
From 6ae2813aed1063143400de8fe111a9d9a6130a4a Mon Sep 17 00:00:00 2001
From: Oliver Brown <b37094@b37094-vmlinux.(none)>
Date: Wed, 24 Jul 2013 00:20:26 -0500
Subject: [PATCH] ENGR00272541 [IPU] - IC_RSZ_MAX_RESIZE_RATIO should be set
to 0x2000
The max resize ratio should be set to 0x2000 (or 8192).
Signed-off-by: Oliver Brown <b37094@b37094-vmlinux.(none)>
---
drivers/mxc/ipu3/ipu_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/mxc/ipu3/ipu_regs.h
diff --git a/drivers/mxc/ipu3/ipu_regs.h b/drivers/mxc/ipu3/ipu_regs.h
old mode 100644
new mode 100755
index 94c587e..f089f7d
--- a/drivers/mxc/ipu3/ipu_regs.h
+++ b/drivers/mxc/ipu3/ipu_regs.h
@@ -465,7 +465,7 @@ enum {
IC_CONF_RWS_EN = 0x40000000,
IC_CONF_CSI_MEM_WR_EN = 0x80000000,
- IC_RSZ_MAX_RESIZE_RATIO = 0x00004000,
+ IC_RSZ_MAX_RESIZE_RATIO = 0x00002000,
IC_IDMAC_1_CB0_BURST_16 = 0x00000001,
IC_IDMAC_1_CB1_BURST_16 = 0x00000002,
--
1.7.9.5
HI
How to fixed following warning while trying to display image using VSALPHA=1 gst-launch filesrc location=sample.jpeg ! jpegdec ! imagefreeze ! mfw_isink.
WARNING: erroneous pipeline: no element "imagefreeze"
Hi,
Tarek
gst-plugins-good was missing, after adding it issue is resolved.
Saurabh