Android Port: How to access camera using Gstreamer

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Sep 10 12:49:17 PDT 2013


Le mardi 10 septembre 2013 à 22:35 +0300, Mohammed Sameer a écrit :
> The only thing I can think of is to build a GStreamer source element
> on top
> of Android Camera API. I know it's not easy but I also know it's
> doable ;-)

By looking in gst-plugins-bad/sys/androidmedia, you'll find code that
wraps Android Java API (through JNI) to decode video. It should be
possible I think to do the same to read from the camera, or record from
the microphone. For sure, if the NDK offers an API, simply use that, JNI
can cause a small overhead.

Nicolas



More information about the gstreamer-devel mailing list