Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.36 KB

README.md

File metadata and controls

33 lines (29 loc) · 1.36 KB

node-gstreamer-tutorial

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.

Prerequisites

Below we assume that you'll be using Debian or Ubuntu. We are using the most recent version of node-gtk.

Install the dependencies and build node-gtk:

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
git clone https://github.com/romgrk/node-gtk
cd node-gtk
npm install
npm run build:full
npm link
cd ..
  • Clone and install this repository:
 git clone https://github.com/wotzlaff/node-gstreamer-tutorial
 cd node-gstreamer-tutorial
 npm install
 npm link ../node-gtk

Note: Maybe some depencies are missing in the list.

Usage

Run node src/tutorial-x.js to start the example x.