All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: Alexandru Vaduva <vaduvajanalexandru@yahoo.com>,
	 jan alexandru vaduva <vaduva.jan.alexandru@gmail.com>
Cc: Yocto Project <yocto@yoctoproject.org>, Gary Thomas <gary@mlbassoc.com>
Subject: Re: [meta-raspberrypi] Using the camera
Date: Mon, 26 May 2014 18:56:46 +0100	[thread overview]
Message-ID: <5383805E.4020603@dynamicdevices.co.uk> (raw)
In-Reply-To: <538319DB.40309@dynamicdevices.co.uk>

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


On 26/05/2014 11:39, Alex J Lennon wrote:
>
> On 25/05/2014 21:51, Alexandru Vaduva wrote:
>> Hello,
>>
>> Sorry for my late response, I put on pause the investigation with
>> this bug.
>> Hope to return to it next month (or at least after 13 June).
>> Right now in my head there are more questions then answers regarding
>> this bug, so I cannot really help.
>> A quick suggestion would be to inspect the config.txt for raspbian
>> for example
>> and investigate the differences.
>> Also try GPU_MEM = "256" just to make a confirmation of my assumption
>> that
>> something is missing.
>>
>
> Thanks Alex. I will try that. I'm going to have another look today and
> see if I can get to the bottom of it

Hi Alex,

I've been taking a look at various things. I don't have a solution
though unfortunately at present

- The GPU_MEM = "256" doesn't help unfortunately

- The raspivid call is failing here, when it tries to instantiate a
camera component

https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/raspicam/RaspiVid.c#L1674

calls,

https://github.com/raspberrypi/userland/blob/master/interface/mmal/core/mmal_component.c#L708

This seems to be because there is no supplier registered for the camera
component. Why I am not sure...

...

As I was investigating this I came across OpenMAX Bellagio which seems
to provide an intermediary registry of OpenMax components.

I'm not sure whether this relates to the RaspiVid issue but I believe it
does relate to an issue I am seeing when I try to run a Gstreamer pipeline

gst-launch-0.10 -v videotestsrc pattern=smpte !
'video/x-raw-rgb,width=1920,height=1080' ! omx_h264enc ! rpth264pay !
udpsink=192.168.0.13 port=5000
OMX-Component not found with current ST static component loader.

Now apparently we are supposed to have run omxregister-bellagio which
registers up components.

(omxregister-bellagio is provided by the
poky/meta/recipes-multimedia/libomxil recipe.)

On Raspbian there are a set of components registered with bellagio, and
provided by individual libomx-foo packages.
(e.g. libomxvideosrc.so, libomxfbdev.so, libomxclocksrc.so,
libomxcamera.so, libomxaudio_effects.so, libomxxvideo.so)

ref:
http://www.nielsmayer.com/bin/view/Raspberry+Pi/Notes+on+Qt5,+Multimedia,+OpenMax+Acceleration,+5.1+Audio

These are missing on my Yocto Poky RPi image.

It looks as though at some time in the past these components may have
been present in the core bellagio build, but then at some point they
were broken out into separate components tarballs.

e.g. http://sourceforge.net/projects/omxil/files/components/

I can't see recipes for these anywhere so I am wondering if they need to
be added in...

Cheers,

Alex


Looking at



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

  reply	other threads:[~2014-05-26 17:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 16:18 [meta-raspberrypi] Using the camera Edward Vidal
2013-11-19 16:22 ` Gary Thomas
2013-12-03 21:54   ` Andrei Gherzan
2013-12-03 22:13     ` jan alexandru vaduva
2014-05-25 11:36       ` Alex J Lennon
2014-05-25 20:51         ` Alexandru Vaduva
2014-05-26 10:39           ` Alex J Lennon
2014-05-26 17:56             ` Alex J Lennon [this message]
2014-05-26 18:24               ` Alexandru Vaduva
2014-05-26 18:34                 ` Alex J Lennon
2014-05-26 18:40                   ` Alexandru Vaduva
2014-06-01 21:07                     ` Alex J Lennon
2014-06-01 21:22                       ` Alexandru Vaduva
2014-06-01 21:35                         ` Alex J Lennon
2014-06-02  1:18                           ` Alex J Lennon
2014-06-10 18:01                             ` Andrei Gherzan
2014-06-10 19:21                               ` Andrei Gherzan
2014-06-11 12:54                                 ` Alex J Lennon
2014-06-11 17:00                                   ` Andrei Gherzan
  -- strict thread matches above, loose matches on Subject: below --
2013-11-18 20:37 Gary Thomas
2013-11-18 21:10 ` Philipp Wagner
2013-11-18 21:55   ` Gary Thomas

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=5383805E.4020603@dynamicdevices.co.uk \
    --to=ajlennon@dynamicdevices.co.uk \
    --cc=gary@mlbassoc.com \
    --cc=vaduva.jan.alexandru@gmail.com \
    --cc=vaduvajanalexandru@yahoo.com \
    --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.