GStreamer i.MX6 Image Display

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GStreamer i.MX6 Image Display

GStreamer i.MX6 Image Display

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.

ラベル(4)
コメント

Hi Leonardo,

Have you tried this command on i.MX6Q Ubuntu?

It's not working for me.

Thanks,

Tarek

Hi Tarek,

I have not tried it on Ubuntu. Do you see an error on the pipeline's log?

My apologies .... I'm using different sink

gst-launch filesrc location=f18.jpeg ! jpegdec ! imagefreeze ! mfw_v4lsink

So it only works for mfw_isink

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,

Make sure yo have gst-plugins-good installed on your system

Hi,

Tarek

gst-plugins-good was missing, after adding it issue is resolved.

Saurabh

評価なし
バージョン履歴
最終更新日:
‎11-15-2012 09:01 AM
更新者: