In this repo we try to provide a version of the "Basic tutorial" for GStreamer under NodeJS using the great GObject Introspection bindings provided by node-gtk. At the moment not all functionalities of the GStreamer library are working. So stay tuned for a fully working version.
Below we assume that you'll be using Debian or Ubuntu. We are using the most recent version of node-gtk
.
Install the dependencies:
- For installation of Node.js refer to nodesource/distributions.
- Install the dependencies:
apt install git build-essential gobject-introspection libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gir1.2-gstreamer-1.0 gir1.2-gtk-3.0 libcairo2-dev libgirepository1.0-dev
- Clone and install this repository:
git clone https://github.com/wotzlaff/node-gstreamer-tutorial
cd node-gstreamer-tutorial
npm i
Note: Maybe some depencies are missing in the list.
Run node src/tutorial-x.js
to start the example x
.