Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. :)

like image 737
Ory Band Avatar asked May 08 '26 02:05

Ory Band


2 Answers

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.

like image 95
Ned Deily Avatar answered May 09 '26 15:05

Ned Deily


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.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!