Update: the installer described here is known to cause incompatibilities with other OSX applications. The latest version of GSVideo for mac bundles the GStreamer libs inside the library package, so there is no need for a separate install of GStreamer. If you need a system wide installation of GStreamer for OSX, please try out the one provided by David Liu. Or just use macports.
One of the main limitations for a wider adoption of GStreamer on the Mac platform is the lack of a binary package installer. MacPorts certainly offers a great help to get GStreamer compiled from the source packages on OSX, and the Songbird music player has been making significant inroads by adopting GStreamer as its main media core on the Windows, Linux and OSX platforms (the GStreamer build environment used by Songbird can be browsed online here).
However, a standalone installation package would greatly simplify the deployment of Mac applications that require GStreamer, specially if the GStreamer files (binaries, libraries and headers) are installed in a default OSX location (such as /Library). It is debatable whether GStreamer should be installed globally, or each application should bundle its own GStreamer binaries. However, if the globally installed files can also be used to compile and added into third-party applications, then the installer could indeed serve both strategies (global install vs application-bundled).
With these goals in mind (creating a Mac OSX installer that deploys GStreamer globally in the system but can also be used to build applications bundled with GStreamer) I started putting together a package installer from the files compiled with MacPorts. I modified the default portfiles available for the gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly and gst-ffmpeg to remove dependencies on packages such as gtk and gnome-vfs which significanly increase the size of the resulting compilation, and are not really needed. The modified port files are available here, and can be used by following the steps to create a local macports repository.
I also added an updated version of the osxvideosrc plugin for grabbing video frames from capture devices. The initial version of this plugin was created by Ole André Vadla Ravnås, and later improved by Ali Sabil and Justin Karneges. The source code that I used to compile osxvideosrc is here.
The first “experimental” version of this GStreamer installer is available for download here. Currently, it is only available for OSX Leopard (10.5) on Intel machines. Besides copying the GStreamer binaries, libraries and headers into the /Library/GStreamer folder, it also modifies the file /etc/launchd.conf by adding the following two lines:
setenv DYLD_LIBRARY_PATH “/Library/GStreamer/lib”
setenv GST_PLUGIN_PATH “/Library/GStreamer/lib/gstreamer-0.10″
These changes are required to have applications loading the GStreamer libraries (as explained here). The should also be innocuous, and and so far I haven’t encountered any problem when using this installer. But please let me know of any incompatibility you might find. To uninstall, just delete the folder /Library/GStreamer and edit the file /etc/launchd.conf to remove the setenv lines.