based on ziutek's Go bindings for GStreamer and make some fixes
This package is based on GLib bindings<it's also based on ziutek's glib binding and make some fixes>. It should be goinstalable. Try
$ go get github.com/lidouf/gst
See examples directory and http://gopkgdoc.appspot.com/pkg/github.com/ziutek/gst
To run examples use go run
command:
$ cd examples
$ go run simple.go
To run live WebM example use go run live_webm.go
and open
http://127.0.0.1:8080 with your browser. You probably need to wait a long time
for video because of small bitrate of this stream and big buffer in you browser.
Gst 11/12
GstBin 21/21
GstBuffer 0/71
GstBufferList 0/15
GstBus 16/24
GstCaps 14/65
GstClock 1/49
GstContext 0/12
GstControlBinding 3/6
GstElement 82/90
GstElementFactory 7/19
GstEvent 66/69
GstFormat 0/7
GstGError 1/1
GstInfo 0/86
GstIterator 0/23
GstMessage 9/88
GstObject 29/41
GstPad 120/180
GstPadTemplate 10/10
GstPipeline 13/13
GstQuery 3/96
GstSegment 0/19
GstStructure 3/69
GstTagList 2/66
GstToc 0/36
GstValue 11/89
GstDiscoverer 20/54
GstVideoOverlay 1/7