Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jokade/scalanative-gstreamer

Scala Native bindings for GStreamer
https://github.com/jokade/scalanative-gstreamer

gstreamer scala-native

Last synced: about 1 month ago
JSON representation

Scala Native bindings for GStreamer

Awesome Lists containing this project

README

        

=====================
scalanative-gstreamer
=====================

Scala Native bindings to `GStreamer `_.

**WARNING**: WIP - the bindings are very incomplete and subject to change at any time!

Prerequisites
=============

Make sure you have the following dependencies installed:

* GStreamer (gstreamer-1.0)
* pkg-config, make & C toolschain must be in your PATH
* for the example app: gst-plugins-base, gst-plugins-good

The bindings require some C helper code to be compiled. This will be handled automatically by the `sbt-nbh `_ plugin. However, make sure that ``pkg-config --cflags gstreamer-1.0`` works and returns without errors (a common error is that one of ``.pc`` files is not on the ``PKG_CONFIG_PATH``).

Example
=======

The example in `demo/src/main/scala/ `_ is a (incomplete) port of the `GStreamer Tutorial "GUI toolkit integration" `_.

Run it with:

.. code::

sbt demo/run

.. image:: images/player.png
:width: 400
:alt: Alternative text