go-gst

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2020 License: LGPL-2.1

README

go-gst

Go bindings for the gstreamer C library

go.dev reference godoc reference GoReportCard

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.

Requirements

For building applications with this library you need the following:

  • cgo: You must set CGO_ENABLED=1 in your environment when building.
  • gcc and pkg-config
  • libgstreamer-1.0-dev: This package name may be different depending on your OS. You need the gst.h header files.
    • In some distributions (such as alpine linux) this is in the gstreamer-dev package.
  • 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 the gstappsink.h and gstappsrc.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.
  • 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.

Directories

Path Synopsis
appsink
This example shows how to use the appsink element.
This example shows how to use the appsink element.
appsrc
This example shows how to use the appsrc element.
This example shows how to use the appsrc element.
custom_events
This example demonstrates the use of custom events in a pipeline.
This example demonstrates the use of custom events in a pipeline.
decodebin
This example demonstrates the use of the decodebin element.
This example demonstrates the use of the decodebin element.
discoverer
This example uses gstreamer's discoverer api.
This example uses gstreamer's discoverer api.
events
This example demonstrates how events can be created and sent to the pipeline.
This example demonstrates how events can be created and sent to the pipeline.
gif-encoder
This example demonstrates using gstreamer to convert a video stream into image frames and then encoding those frames to a gif.
This example demonstrates using gstreamer to convert a video stream into image frames and then encoding those frames to a gif.
inspect
Inspect is a simplified version of gst-inspect-<version>.
Inspect is a simplified version of gst-inspect-<version>.
launch
This is a simplified go-reimplementation of the gst-launch-<version> cli tool.
This is a simplified go-reimplementation of the gst-launch-<version> cli tool.
pad-probes
This example demonstrates the use of GStreamer's pad probe APIs.
This example demonstrates the use of GStreamer's pad probe APIs.
playbin
This example demonstrates GStreamer's playbin element.
This example demonstrates GStreamer's playbin element.
queries
This example demonstrates how to use GStreamer's query functionality.
This example demonstrates how to use GStreamer's query functionality.
tagsetter
This example demonstrates how to set and store metadata using GStreamer.
This example demonstrates how to set and store metadata using GStreamer.
toc
This example demonstrates the use of GStreamer's ToC API.
This example demonstrates the use of GStreamer's ToC API.
plugins/minio Module
gst
Package gst contains bindings for the gstreamer C API.
Package gst contains bindings for the gstreamer C API.
app
Package app contains bindings for the gstreamer-app C API.
Package app contains bindings for the gstreamer-app C API.
gstauto
Package gstauto contains helper methods and objects for building pipelines that satisfy most use cases.
Package gstauto contains helper methods and objects for building pipelines that satisfy most use cases.
pbutils
Package pbutils contains bindings for libgstpbutils.
Package pbutils contains bindings for libgstpbutils.
video
Package video contains bindings for the gstvideo C API.
Package video contains bindings for the gstvideo C API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL