Help: Can't import gst in Python 2.7 or 2.6 win 64-bit

Sean McHugh sean.a.mchugh at gmail.com
Tue Feb 28 09:06:43 PST 2012


Hello all,

I desperately need help on something I've been stuck on for weeks. I am
working on a project to make a program that will stream music files from
your computer, but I cannot get gst to import into Python. I am on Windows
64-bit, fyi, and all my Python installations are 64-bit.

In Python 2.7, I can import pygst and do pygst.require("0.10") fine, but I
then get an Import error: DLL load failed: %1 is not a valid Win32
application.

In Python 2.6, I just get an error saying that gst doesn't exist at all.

I even tried the Python 2.5 gst bindings here (
http://gstreamer.freedesktop.org/pkg/windows/releases/gst-python/gst-python25-0.10.10.setup.zip),
but the installation doesn't detect my Python 2.5 64-bit, and Python 2.5
32-bit won't run at all on my machine.

I had used this guide
<http://www.sjkingston.com/blog/gstreamer-on-windows>for GStreamer
installation, and I can run Windows GStreamer commands fine,
which tells me GStreamer is properly installed, but I just can't get it
into Python, or my Python bindings aren't working. (This
page<http://stackoverflow.com/questions/6907473/cannot-import-gst-in-python>describes
this same problem that I'm having.)

Could anyone provide any help on how to finally get gst to import into
Python 2.7 (preferably) or 2.6? I'll use whichever version of Python is
easiest at this point, as long as it will finally work. I am ultimately
trying to use this streaming template:
http://www.jejik.com/articles/2007/01/streaming_audio_over_tcp_with_python-gstreamer/

Sincerely,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120228/ea601d38/attachment.html>


More information about the gstreamer-devel mailing list