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

Sean McHugh sean.a.mchugh at gmail.com
Wed Feb 29 12:55:11 PST 2012


Anyone? Please, I urgently need help with this. I will repeat my issue in
this bump.

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

On Tue, Feb 28, 2012 at 12:06 PM, Sean McHugh <sean.a.mchugh at gmail.com>wrote:

> 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/20120229/3269fedb/attachment.html>


More information about the gstreamer-devel mailing list