# README
Go-gst Examples
This directory contains examples of some common use cases of gstreamer using the go bindings.
The common package provided to each example exports two methods.
Run(f)
- This wraps the given function in a goroutine and wraps a GMainLoop around it.RunLoop(f(loop))
- This simply creates (but does not start) a GMainLoop and passes it to the example to manage.
Each example can be run in one of two ways:
# For single-file examples
go run <example>/main.go [..args]
# For multiple-file examples (but would also work for single file examples)
cd <example> && go build .
./<example> [..args]
# Packages
This example shows how to use the appsink element.
This example shows how to use the appsrc element.
No description provided by the author
This example demonstrates the use of custom events in a pipeline.
This example demonstrates the use of the decodebin element.
This example uses gstreamer's discoverer api.
This example demonstrates how events can be created and sent to the pipeline.
This example demonstrates using gstreamer to convert a video stream into image frames and then encoding those frames to a gif.
This is a simplified go-reimplementation of the gst-launch-<version> cli tool.
This example demonstrates the use of GStreamer's pad probe APIs.
This example demonstrates GStreamer's playbin element.
No description provided by the author
This example demonstrates how to use GStreamer's query functionality.
No description provided by the author
This example demonstrates how to set and store metadata using GStreamer.
This example demonstrates the use of GStreamer's ToC API.