Skip to content

Instantly share code, notes, and snippets.

@sreimers
Created July 8, 2013 20:35
Show Gist options
  • Save sreimers/5952263 to your computer and use it in GitHub Desktop.
Save sreimers/5952263 to your computer and use it in GitHub Desktop.
Gstreamer 1.0 Python Debug
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
Gst.debug_set_active(True)
Gst.debug_set_default_threshold(3)
GObject.threads_init()
Gst.init(None)
@xperroni
Copy link

Thanks for the reference, but just a small correction: the call to Gst.init(None) must come before the Gst.debug_* calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment