spaghetti

Wrapper around gst-launch for creating GStreamer pipelines

Usage no npm install needed!

<script type="module">
  import spaghetti from 'https://cdn.skypack.dev/spaghetti';
</script>

README

Spaghetti

This is a simple wrapper around GStreamer's gst-launch binary which attempts to abstract some of the complexity when creating pipelines. Hopefully this will provide a way for mortals like me to do cool stuff using this awesome multimedia library.

What works

Some stuff, like playing sounds and grabbing frames from different sources. If something doesn't work it's probably because you don't have the necessary plugins installed. Make sure you have the following packages on your system, either using apt-get or brew.

gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly

TODO

Everything. Kinda works right now but the neverending combination of elements in GStreamer's pipelines makes it tough to make 'everything work'. The goal is to provide a thin layer that allows doing simple stuff, regardless of the platform it is running in.

Credits

Written by Tomás Pollak.

Copyright

(c) 2012 Fork Ltd. Licensed under the MIT license.