Skip to content

notedit/gst

Repository files navigation

gst

a small go gstreamer binding

Install

Ubuntu or Dedian

apt-get install pkg-config
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-ugly gstreamer1.0-libav


// set GST_PLUGIN_PATH on linux, may diff on your system
export GST_PLUGIN_PATH=/usr/local/lib:/usr/lib/x86_64-linux-gnu/gstreamer-1.0

Mac os

brew install gstreamer
brew install gst-plugins-base
brew install gst-plugins-good
brew install gst-plugins-bad
brew install gst-plugins-ugly


// set GST_PLUGIN_PATH on mac 
export GST_PLUGIN_PATH=/opt/homebrew/lib/gstreamer-1.0/

Then

go get github.com/notedit/gst

Examples

https://github.com/notedit/gst-go-demo