accessing a camera on Android

Chuck Crisler ccrisler at mutualink.net
Wed May 27 14:11:45 PDT 2015


Great! Thank you.

On Wed, May 27, 2015 at 5:06 PM, Mailing List SVR <lists at svrinformatica.it>
wrote:

>  Il 27/05/2015 21:58, Chuck Crisler ha scritto:
>
>   No, I haven't selected a Windows tablet yet. My goal is to learn Java
> and mobile programming, starting with Android (because I own an Android
> phone), then Windows/Windows tablet and Linux/Java, with an emphasis on
> multimedia. GStreamer is the best multimedia platform around (that I know
> of) and is (somewhat) portable across those platforms. As a personal goal I
> am working to develop a video conferencing app that runs on those
> platforms, simply because I am familiar with GStreamer and have worked in
> video conferencing for many years. This is a personal/professional
> development project.
>
>  I had already thought of the appsrc approach. My only concern is whether
> or not Android allows me access to the image buffers. I have an app that
> displays from a camera now, so I have the structure and the correct
> callback, but haven't checked to verify access to the actual buffer -
> tonight's project. Android seems to be rather paranoid and restricts access
> to many things, either to make development *VERY* easy (once you figure it
> out) or for security.
>
>
> You can get NV21 or YV12 raw frames on all android devices (tested with
> 4.1+), I use the appsrc approach since 3 years and it works fine,
>
> Nicola
>
>
>
>  As far a writing a 'proper' source element...well I spent many years
> working on lower level Windows video (DX and DirectShow). So I may take
> that on along with first attempting to finish the camera work you began. I
> really want to use the same basic pipeline on all of the systems. And, of
> course, contributing to GStreamer would be another asset on my resume.
>
>  Thank you for the guidance.
>
>  Chuck
>
> On Wed, May 27, 2015 at 3:32 PM, Sebastian Dröge <
> sebastian at centricular.com> wrote:
>
>> On Mi, 2015-05-27 at 14:46 -0400, Chuck Crisler wrote:
>> > Thank you. That leaves me completely bewildered, which is better than
>> > pursuing the wrong direction. :-) Back to my original question, how do I
>> > use GStreamer to access the cameras on Android? It seemed that the
>> > conversation that Tim pointed to only discussed development strategies.
>> Has
>> > either been incorporated into the Android 1.4.5 binaries? Or is this an
>> > 'opportunity' for some development work? :-)
>>
>> I started merging this, just have to find some time to finish it. It's
>> mostly boring shuffling around of code, not really development work.
>>
>> Note: the code is there (see links in the bug report), just has to be
>> integrated properly and cleaned up a bit
>>
>> > This is now causing me to wonder about accessing a camera with GStreamer
>> > from a Windows tablet. Does that work?
>>
>> What Windows tablet, and do you already have GStreamer running there? ;)
>> But same answer as what Nicolas replied, appsrc... or write a proper
>> source element.
>>  --
>> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
___________________________________________________
Name
*Chuck Crisler*

Mutualink, Inc.
3 Lan Dr.
Westford, MA  01886

Direct: (978) 490-3006 <%28866%29%20957-5465> Ext: 118

E-Mail: ccrisler at mutualink.net <employeer at mutualink.net>

Web: www.mutualink.net


The information in this email, and subsequent attachments, may contain
confidential information that is
intended solely for the attention and use of the named addressee(s). This
message or any part thereof
must not be disclosed, copied, distributed or retained by any person
without authorization from the addressee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150527/06b4b5e6/attachment.html>


More information about the gstreamer-devel mailing list