Skip to content

octachoron/gstreamer-1.x-java

 
 

Repository files navigation

gstreamer-1.x-java

This is the main working repository of the Google Summer of Code 2014 project titled GStreamer 1.x Java bindings and migration. These efforts are forked from a temporary playground to test some ideas to rewrite the gstreamer-java bindings so they can support gstreamer-1.x. See the original repository for details. The primary target platform (and the only one at the moment) is Linux. See the original repository for the original OSX build instructions.

Current approach

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.

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.

Building on Linux

The repo includes an Ant build.xml which can be used to run the JNAerator step on all of glib (the jnaerate target), and compile the results (the compile target). The JNAerated Java sources use BridJ, which is included in the shaded jnaerator.jar.

A simple

ant compile

should yield what we can do at the moment. There are also a few tests to work the GLib bindings. They can be run by saying

ant run-tests

About

Some tests to rewrite the gstreamer-java bindings

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.lesser
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 76.1%
  • Shell 23.9%