From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D39DCE009CB; Sun, 3 May 2015 06:30:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (nickaein.i[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.218.46 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 64FC1E008EA for ; Sun, 3 May 2015 06:30:07 -0700 (PDT) Received: by oica37 with SMTP id a37so96557813oic.0 for ; Sun, 03 May 2015 06:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jVrBlNvLY8HEvk66p+AAiRVnq0p8PNe6CtLNM1fj2sk=; b=qrweclRXsONxUBg7Lcj5W1whVjLMcj/HCmIVROoZXbClEJu7sntwHpewAGNA4fHxpX D+5tZny36d8zhcTlF1MjWK8OX8Rbnq9OEyWi90axI4IQR/MP70KmC8BSmTtNs2DMkEvJ r2PGTVXL71Ffvg9Gq+FNfE1bCxiFHrUeqlXZFgX8YI8u6g/0ahPTia8dCRKlVvjxArWR X0RCfNCiiJnD95sJ5IchiC1bfE9Da07vek7TgRRkaKbQleQCOElaVU0RUYJficZE09Zo BJtfEjj0EH3bsVct4I/0itLAFdKfYBECgnaOvkdh6XJ2kRW890CX3dCtwcgQoqq8cf/I K7mQ== X-Received: by 10.60.157.41 with SMTP id wj9mr14682246oeb.16.1430659806786; Sun, 03 May 2015 06:30:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.104.37 with HTTP; Sun, 3 May 2015 06:29:46 -0700 (PDT) In-Reply-To: References: From: Isaac Nickaein Date: Sun, 3 May 2015 17:59:46 +0430 Message-ID: To: "meta-freescale@yoctoproject.org" Subject: Re: Cannot play videos using gstreamer X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 13:30:11 -0000 Content-Type: multipart/alternative; boundary=089e01182c6c93fc4505152d71a6 --089e01182c6c93fc4505152d71a6 Content-Type: text/plain; charset=UTF-8 I was using Kernel 3.0.35 and that had issues. Issue #1 got fixed by using a newer kernel (Kernel 3.16 image provided by Ka-Ro). However, the issue #2 and #3 are still present (I have problem with using glimagesink; adding "eglinfo-fb" package in local.conf causes compile error). On Sun, May 3, 2015 at 2:04 PM, Isaac Nickaein wrote: > Hi, > > I've repo synced my Yocto Dizzy and created a core-image-minimal image. > The local.conf is presented at the end of this email. > > The problem is I cannot get any display output using GStreamer, while my > Qt program (which is built using toolchain by "bitbake meta-toolchain-qte") > have display output. What I have tried: > > 1. Using mfw_v4lsink: > > gst-launch -v filesrc location=test.mp4 typefind=true ! aiurdemux ! > queue ! vpudec ! mfw_v4lsink > > doesn't fail, but does not show anything on the display. Here is log > output: http://pastebin.com/TWtNCViT > > 2. Using glimagesink: > > gst-launch filesrc location=test.mp4 typefind=true ! aiurdemux ! queue > ! vpudec ! glimagesink > > fails with the following output: > > Setting pipeline to PAUSED ... > Caught SIGSEGV accessing address 0x4d0 > exec gdb failed: No such file or directory > Spinning. Please run 'gdb gst-launch 1405' to continue debugging, > Ctrl-C to quit, or Ctrl-\ to dump core. > > > 3. I wondered adding "eglinfo-fb" recipe could be helpful (?), but it > caused a compile error during bitbake. Here is output: > http://pastebin.com/EQC464iM > > > And this is the local.conf that I am using: > > MACHINE ??= 'imx6qsabresd' > DISTRO ?= 'poky' > PACKAGE_CLASSES ?= "package_rpm" > EXTRA_IMAGE_FEATURES = "debug-tweaks" > USER_CLASSES ?= "buildstats image-mklibs image-prelink" > PATCHRESOLVE = "noop" > BB_DISKMON_DIRS = "\ > STOPTASKS,${TMPDIR},1G,100K \ > STOPTASKS,${DL_DIR},1G,100K \ > STOPTASKS,${SSTATE_DIR},1G,100K \ > ABORT,${TMPDIR},100M,1K \ > ABORT,${DL_DIR},100M,1K \ > ABORT,${SSTATE_DIR},100M,1K" > PACKAGECONFIG_append_pn-qemu-native = " sdl" > PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl" > ASSUME_PROVIDED += "libsdl-native" > CONF_VERSION = "1" > > BB_NUMBER_THREADS = '4' > PARALLEL_MAKE = '-j 4' > > DL_DIR ?= "${BSPDIR}/downloads/" > ACCEPT_FSL_EULA = "" > > KERNEL_IMAGETYPE_forcevariable = "uImage" > > IMAGE_INSTALL_append = "\ > wget \ > nano \ > fbida \ > bash \ > firmware-imx \ > fsl-rc-local \ > packagegroup-core-ssh-openssh \ > mtd-utils \ > nfs-utils \ > iproute2 \ > canutils \ > libsocketcan \ > fbset \ > fbset-modes \ > glib-2.0 \ > libstdc++ \ > gpu-viv-bin-mx6q \ > libxdamage \ > libxfixes \ > libxext \ > libx11 \ > libxcb \ > libxau \ > libxdmcp \ > ntp \ > proftpd \ > tzdata \ > packagegroup-fsl-gstreamer \ > gst-fsl-plugin \ > gstreamer \ > gst-plugins-bad \ > imx-vpu \ > gst-plugins-gl \ > gst-plugins-base \ > gst-plugins-gl-opengl \ > v4l-utils \ > " > > --089e01182c6c93fc4505152d71a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I was using Kernel 3.0.35 and that had issues. Issue #1 got = fixed by using a newer kernel (Kernel 3.16 image provided by Ka-Ro).=C2=A0<= /div>
H= owever, the issue #2 and #3 are still present (I have problem with using gl= imagesink; adding "eglinf= o-fb" package in local.conf causes compile error).


On Sun, May 3,= 2015 at 2:04 PM, Isaac Nickaein <nickaein.i@gmail.com> w= rote:
Hi,

I've repo sy= nced my Yocto Dizzy and created a core-image-minimal image. The local.conf = is presented at the end of this email.

The problem is I cannot get any d= isplay output using GStreamer, while my Qt program (which is built using to= olchain by "bitbake meta-toolchain-qte") have display output. Wha= t I have tried:

1. Using mfw_v4lsink:

=C2=A0 =C2=A0 gst-launch -v filesrc l= ocation=3Dtest.mp4 typefind=3Dtrue ! aiurdemux ! queue ! vpudec ! mfw_v4lsi= nk

doesn't fail, but does not show anything on the= display.=C2=A0Here is= log output:=C2=A0http://pastebin.com/TWtNCV= iT

2. Using glimagesink:

=C2=A0 =C2=A0 gst-launch filesrc location=3Dtest.m= p4 typefind=3Dtrue ! aiurdemux ! queue ! vpudec ! glimagesink

fails with = the following output:

=C2=A0 =C2=A0 Setting pipe= line to PAUSED ...
=C2=A0 =C2=A0 Caug= ht SIGSEGV accessing address 0x4d0
=C2=A0= =C2=A0 exec gdb failed: No such file or directory
=C2=A0 =C2=A0 Spinning.=C2=A0 Please run 'gdb gst-launch 1405= ' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
<= /div>
<= br>

3. I wondered adding "eglinfo-fb"=C2=A0recipe=C2=A0could b= e helpful (?), but it caused a compile error during bitbake. Here is output= :=C2=A0http://pa= stebin.com/EQC464iM


And this is the local.conf that I am using:<= /div>
<= br>
MACHINE ??=3D 'imx6qsabresd'
=
DISTRO ?=3D = 'poky'
PACKAGE_CLASSES ?=3D "package_rpm"
EXTRA_IMAGE_FEA= TURES =3D "debug-tweaks"
USER_CLASSES ?=3D "buildstats image= -mklibs image-prelink"
PATCHRESOLVE =3D "noop"
<= div class=3D"gmail_default">BB_DISKMON_DI= RS =3D "\
=C2=A0 =C2=A0 STOPTASKS,${TMPDIR},1G,100K \
=C2=A0 =C2=A0 ST= OPTASKS,${DL_DIR},1G,100K \
=C2=A0 =C2=A0 STOPTASKS,${SSTATE_DIR},1G,100K \=
=C2=A0 =C2=A0 ABORT,${TMPDIR},100M,1K \
=C2=A0 =C2=A0 ABORT,${DL_DIR},100M= ,1K \
=C2=A0 =C2=A0 ABORT,${SSTATE_DIR},100M,1K"=C2=A0
PACKAGECONFIG_a= ppend_pn-qemu-native =3D " sdl"
PACKAGECONFIG_append_pn-nativesdk= -qemu =3D " sdl"
ASSUME_PROVIDED +=3D "libsdl-native"
C= ONF_VERSION =3D "1"

BB_NUMBER_THREADS =3D '4'=
PARALL= EL_MAKE =3D '-j 4'

DL_DIR ?=3D "${BSPDIR}/downloads/"= ;

KERNEL_IMAGETYPE_forcevariable =3D = "uImage"

IMAGE_INSTALL_append =3D "\
wget \
= nano \
fbida \
bash \
firmware-imx \
fsl-= rc-local \
packagegroup-core-s= sh-openssh \
mtd-utils \
nfs-utils \
iproute2 \
= canutils \=C2=A0
libsocket= can \
fbset \
fbset-modes \
glib-2.0 \
libstd= c++ \
gpu-viv-bin-mx6q \
libxdamage \=C2=A0
libxfixes \
libxext \=C2=A0
lib= x11 \
libxcb \=C2=A0
libxau \
libxdmcp \
ntp = \
proftpd \
tzdata \
<= /span>packagegroup-fsl-gstreamer \
gst-fsl-plugin \
gstrea= mer \
gst-plugins-bad \=
imx-vpu \
gst-plugins-gl \
<= /span>gst-plugins-base \
gst-p= lugins-gl-opengl \
v4l-utils \=
"

=

--089e01182c6c93fc4505152d71a6--