Clang port of GStreamer 1.12.4 to Android

Edward Hervey bilboed at bilboed.com
Fri Jun 8 05:10:58 UTC 2018


Hi,

  You forgot to provide a link ?

    Edward

On Thu, 2018-06-07 at 12:56 -0400, Stirling Westrup wrote:
> As part of our development work on Android, we were forced to
> cross-compile GStreamer 1.12.4 with clang for Android ARM v7a
> 
> We now have a set of bash scripts which accomplish this task, in case
> anyone else is interested.
> 
> There are several caveats:
> 
> 1) We've only tested the build scripts on Linux, specifically the
> OpenSuse and Centos distros, as that's the environments we work in.
> We
> don't support either Mac or Windows builds.
> 
> 2) We don't build everything. In particular, we only ported the
> minimal set of libraries needed to support all of the elements that
> we
> use, but the framework is now in place for adding more libraries.
> 
> 3) We've only tested cross compiling to ARM7, although it should be
> relatively easy to change the target.
> 
> 4) We have custom patches in place to support the conversion. Some
> fix
> issues in the libraries, but others are unoffical bug fixes or new
> features for some of the elements we rely on. You will probably want
> to strip them out.
> 
> 5) We only compile down to the individual libraries. Pulling them
> altogether and linking them with gstreamer_android.c is something we
> left up to Android Studio, for maximum flexibility, but we can supply
> our Android.mk file for building the final library.
> 
> I don't know if these scripts will be of use to anyone else, but it
> took a few months of development and testing to get them working, so
> we're willing to release them, with minimal documentation or
> handholding.
> 
> So, this is far from a final solution, but if someone needs a
> quick-and-dirty clang conversion for gstreamer, here it is.
> 


More information about the gstreamer-devel mailing list