gStreamer on Android Studio 1.3
Chuck Crisler
ccrisler at mutualink.net
Tue Aug 11 06:29:10 PDT 2015
I had a similar very difficult time getting started with GStreamer/Android
development. I just scanned the original email and the response, so I
didn't respond last night from home. I have a 'recipe' for making Android
projects using GStreamer that I will post tonight. However, I will
summarize here. I have only used Android Studio 1.2.2, not 1.3 yet.
According to everything I have read, 1.2.2 fully supports JNI (according to
several blog posts) yet it doesn't support it at all (according to google).
If that doesn't make any sense, welcome to Android development. Version 1.3
*MAY* provide better support, but don't count on it. Basically you need a
specific project file (can't remember the name or contents) with some
definitions with paths to the GStreamer libraries. You run the ndk-build
from Android Studio to build the project GStreamer libraries. It copies
everything to the right places, then you have to make some very minor edits
to complete the process, some required for JNI development. Sebastian Droge
has ported the GStreamer SDK examples (not part of GStreamer - go figure)
to work with 1.4.5 and the GStreamer/Android binaries.
Here is a link to provide some info.
http://stackoverflow.com/questions/5568742/gstreamer-on-android
Here is a link to a copy of tutorial 5. It seems to have most of the info.
This may help to give you an idea of how to proceed.
https://github.com/jaroslavas/Gstreamer-Android-example
Tonight when I post complete/detailed instructions, I will also post the
link to Sebastian's examples.
On Tue, Aug 11, 2015 at 7:08 AM, JoaoMeneses <joao.meneses at codi.pt> wrote:
> Thanks for your reply,
>
> I have downloaded all binaries for Android (gStreamer 1.5.2), and inside I
> have four folders (etc, include, lib, share), the share folder contains
> build-ndk, but I really don't know what to do with this folder structure.
>
> I started following your advice and read the article till the end, but I
> can't find Android.mk and Application.mk to move them to jni folder. I only
> see gstreamer-1.0.mk and GStreamer.java.
>
> This maybe silly questions, but I really don't know what to do, in the end
> I
> promisse to build a simple up and running tutorial for Android Studio and
> share it online.
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/gStreamer-on-Android-Studio-1-3-tp4673084p4673095.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150811/b3a82443/attachment.html>
More information about the gstreamer-devel
mailing list