mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 07:56:51 +08:00
6a3da898a36dfca3f88d92fb0280ca6eb2cad64e
go-gst
Go bindings for the gstreamer C library
See the godoc.org or pkg.go.dev references for documentation and examples. As the latter requires published tags, see godoc.org for the latest documentation of master at any point in time.
For more examples see the examples
folder here and command line implementation here.
Requirements
For building applications with this library you need the following:
cgo
: You must setCGO_ENABLED=1
in your environment when building.gcc
andpkg-config
libgstreamer-1.0-dev
: This package name may be different depending on your OS. You need thegst.h
header files.- In some distributions (such as alpine linux) this is in the
gstreamer-dev
package.
- In some distributions (such as alpine linux) this is in the
- To use the
pbutils
,app
,gstauto/app
packages you will need additional dependencies:libgstreamer-app-1.0-dev
: This package name may also be different depending on your os. You need thegstappsink.h
andgstappsrc.h
- In some distributions (such as alpine linux) this is in the
gst-plugins-base-dev
package. - In Ubuntu this is in
libgstreamer-plugins-base1.0-0
.
- In some distributions (such as alpine linux) this is in the
- You may need platform specific headers also. For example, in alpine linux, you will most likely also need the
musl-dev
package.
For running applications with this library you'll need to have libgstreamer-1.0
installed. Again, this package may be different depending on your OS.
Languages
Go
98.2%
C
1.8%