简体   繁体   中英

How to install gst-python (gstreamer python bind) on Mac OSX the easy way?

How can I install gst-python , which is GStreamer's python bind, on my Mac (Snow Leopard) the easy way? This will probably involve using a package-manager like homebrew or MacPorts .

I've been looking for the package everywhere. Compiling is a real mess.

If this isn't possible, what are the alternatives? Detailed instruction are welcome. :)

I couldn't post it as a comment because I only have 5 rep, but you actually can install it using: brew install homebrew/versions/gst-python010 .

This obtains gst-python from the tap containing gst-python010. The 010 at the end there shows the version 0.10.

Unfortunately, there is not a 1.0 version from Homebrew's taps or packages, currently.

There might be a updated version in the future.

Install the base MacPorts following the instructions here . If you already have MacPorts installed, make sure the portfiles are up-to-date:

$ sudo port selfupdate

Then, depending on whether you want to use Python 2.6 or Python 2.7, install the appropriate port, either:

$ sudo port install py26-gst-python

or:

$ sudo port install py27-gst-python

and sit back and wait. Be aware that those ports appear to pull in a lot of dependent packages including a MacPorts Python installation and Gnome , so it will likely take a while. But, in the end, it should all just work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM