All of lore.kernel.org
 help / color / mirror / Atom feed
From: Isaac Nickaein <nickaein.i@gmail.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Cannot play videos using gstreamer
Date: Sun, 3 May 2015 14:04:24 +0430	[thread overview]
Message-ID: <CA+NJmkeq-NumeLdhS3_av6P_YHBz5K83b3DE43+eXGu8XBOJbw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2458 bytes --]

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 \
"

[-- Attachment #2: Type: text/html, Size: 10858 bytes --]

             reply	other threads:[~2015-05-03  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-03  9:34 Isaac Nickaein [this message]
2015-05-03 13:29 ` Cannot play videos using gstreamer Isaac Nickaein
2015-05-03 16:18   ` Nikolay Dimitrov
2015-05-04 12:47     ` Isaac Nickaein
2015-05-04 13:37       ` Nikolay Dimitrov
2015-05-06 15:05         ` Isaac Nickaein
2015-05-06 15:27           ` Nikolay Dimitrov
2015-05-03 21:51   ` Carlos Rafael Giani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+NJmkeq-NumeLdhS3_av6P_YHBz5K83b3DE43+eXGu8XBOJbw@mail.gmail.com \
    --to=nickaein.i@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.