Skip to content
This repository was archived by the owner on Jul 23, 2018. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 1.19 KB

File metadata and controls

21 lines (13 loc) · 1.19 KB

gstreamer-1.x-java

A temporary playground to test some ideas to rewrite the gstreamer-java bindings so they can support gstreamer-1.x.

Instructions

Right now, the approach being tested in this repo is to use JNAerator to automatically parse the native code (GLib, GStreamer, etc), and generate the corresponding java files.

To run the build script on OSX (I tested it on 10.9.1), first install macports, and then install the GLib port by running

sudo port install glib2

This should result in all the glib2 (v2.38.2) files (lib, headers, etc) begin installed under /opt/local. Then, you can execute the build.sh script to have JNAerator going through glib.h. This script simply calls:

java -jar jnaerator.jar glib.jnaerator -mode Directory -f -v

However, the use of JNAerator to create the new gstreamer bindings is one among several other possibilities. Follow/participate of the ongoing discussion about different ideas being currently considered in this thread on the gstreamer-java Google Group.