if __name__ == '__main__':
    if len(sys.argv) < 2:
        print('usage %s <filename>' % sys.argv[0], file=sys.stderr)
sys.exit(1)
Gst.init(None)
GObject.threads_init()
discoverer = GstPbutils.Discoverer()
discoverer.connect('discovered', on_discovered)
info = discoverer.discover_uri(sys.argv[1])
print('# video')
for vinfo in info.get_video_streams():
    print(vinfo.get_caps().to_string().replace(', ', '\n\t'))
print('# audio')
for ainfo in info.get_audio_streams():
    pass
Как использовать модуль Discoverer с pygi GstPbutils?