tinyzimmer / go-gst

Gstreamer bindings and utilities for golang
GNU Lesser General Public License v2.1
130 stars 37 forks source link

Api to dump pipeline dot files. #56

Closed jinleileiking closed 1 year ago

jinleileiking commented 1 year ago

see https://developer.ridgerun.com/wiki/index.php/How_to_generate_a_GStreamer_pipeline_diagram.

brucekim commented 1 year ago

go-gst provide the corresponding api like below:

https://github.com/tinyzimmer/go-gst/blob/d24532796427d84ab76dcdd45f6ff1d2fe402683/gst/gst_bin.go#L312-L316

As you refer from the link, in order for that the api call generates .dot file, the env variable below should be set in prior to calling the api: export GST_DEBUG_DUMP_DOT_DIR={specify the path where .dot file would be stored}

jinleileiking commented 1 year ago

Thanks. @brucekim How can I dump the whole pipeline?