All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. Markus Eich" <markus.eich@dfki.de>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Problems running gstreamer v4l2 on Yocto
Date: Fri, 15 Aug 2014 15:13:56 +0200	[thread overview]
Message-ID: <53EE0794.40107@dfki.de> (raw)

Dear all,

I am trying to set up a USB webcam with Yocto using gstreamer. The 
camera is detected by my Yocto /Poky distro and tested with VLC (build 
with yocto).

I am using the following build

==
Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "odroid-xu"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.1"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "daisy:87671f72e7459d5d5ddb37691354fab970c557ee"
meta-oe
meta-networking
meta-multimedia
meta-gnome        = "daisy:d85b01997ce8cc354ccc53f97fdffc79cf2277d5"
meta-odroid       = "master:bbdf8273297e310736c48a7c6490c84fe1dea6d9"
meta-ros          = "master:f6ba83122674a80bc4beb03ebfc60ea003493ec0"
meta-gumstix      = "daisy:b160dd5ca424e0f8b76871187a76095b06af7d58"
meta-dfki         = "master:82995e78f5792a91af0a6ca28f2bc63ce0a904a9"
==

I execute the following command

gst-launch v4l2src device=/dev/video0 ! ffmpegcolorspace ! ximagesink

This works perfectly on my Ubuntu 14.04 laptop as well as on my Linaro 
Image (14.04) for my embedded system (using the same camera).

I have build all gstreamer-plugins-* with Yocto.

The very same command on my Yocto distro produces:

==
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device 
'/dev/video0' cannot capture at 32768x32768
Additional debug info:
/home/eich/odroid_xu/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gst-plugins-good/0.10.31-r8/gst-plugins-good-0.10.31/sys/v4l2/gstv4l2object.c(2212): 
gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for UYVY @ 32768x32768: Invalid argument
==

Something wrong with the build config of gstreamer with Yocto?

Cheers,

Markus








-- 
Dr.-Ing. Markus Eich

  Senior Researcher
  Marine Inspection Robotics
  Space Robotics
  
  Besuchsadresse der Nebengeschäftstelle:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  
  Postadresse der Hauptgeschäftsstelle Standort Bremen:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 1
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4105
  Zentrale: +49 421 178 45-0
  Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
  E-Mail:   markus.eich@dfki.de

  Weitere Informationen: http://www.dfki.de/robotik
  -----------------------------------------------------------------------
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
  (Vorsitzender) Dr. Walter Olthoff
  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313
  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
  USt-Id.Nr.:    DE 148646973
  Steuernummer:  19/673/0060/3
  -----------------------------------------------------------------------



                 reply	other threads:[~2014-08-15 13:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53EE0794.40107@dfki.de \
    --to=markus.eich@dfki.de \
    --cc=yocto@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.