Study code for gstreamer python wrapper