mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 07:56:51 +08:00
66fba2d0f0270feb2a974e9abdc01f7fe5b94e2b
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.
This library still has some bugs and should not be used for any mission critical applications, yet. If you'd like to help out feel free to open a PR.
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%