PySide and PyGST on Microsoft Windows

Josh Doe josh at
Tue Aug 2 07:04:54 PDT 2011

I had some difficulty getting PySide (Qt bindings) and PyGST working
together on Microsoft Windows, so I thought I'd share my working example.
I've attached the code, as well as made a github:gist ( Most of this is based on examples and
tutorials I found, but I just brought it all together. For example, it took
me a bit to realize that with PySide, QWidget.winId() returns a PyCObject,
unlike PyQt which returns a void pointer, requiring the use of

If you see any problems with this code, please let me know and I'll update
the gist.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 3506 bytes
Desc: not available
URL: <>

More information about the gstreamer-devel mailing list