Android camera access
Sebastian Dröge
sebastian at centricular.com
Mon May 26 03:08:43 PDT 2014
On Mo, 2014-05-26 at 11:57 +0200, Lee Matthews wrote:
> On Mo, 2014-05-26 at 11:10 +0200, Lee Matthews wrote:
> > Thanks.
> >
> > Our application is extremely niche, where we will be sending the phone
> > to the International Space Station, so I can say with absolute
> > certainty, given the costs and time involved in space qualifying a
> > smartphone, our target platform won't change.
> >
> > When you say that mediacodec can be easily abstracted to a new
> > gstreamer element, how easy would it be for a noob to Java and
> > gstreamer ? ie me ! :)
>
> Of course I can't estimate that, but if you call yourself noob I would
> guess we're talking about weeks here then ;)
>
> Did you ever create a GStreamer element yourself? Also take a look at
> the code in gstamc.c, something very similar to that would be needed for
> just the JNI integration.
>
> No, afraid not. I will take a look at gstamc.c. Thanks for the hint.
>
> > I need to try and balance the amount of time it would take to use v4l2
> > against writing an abstraction to android.media.MediaCodec. How easy
> > would it be to add v4l2 to the binaries ?
>
> So here we're talking about a few minutes, and then rebuilding it all :)
>
> Great, this would be using the cerbero tool ?
Yes, see the attached (hackish) diff for enabling the v4l2 plugin
everywhere. You can also easily get this by setting the v4l2 variant in
your cerbero config.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1731 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140526/229c0ac4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140526/229c0ac4/attachment.sig>
More information about the gstreamer-devel
mailing list