Archive for the ‘OSX’ Tag

Syphon Client working in Processing   16 comments

Syphon is an OSX framework to share frames between applications. The authors of Syphon, Tom Butterworth and Anton Marini, made it very easy to create Syphon plugins for other languages, frameworks, VJ’ing and mapping tools, etc. So a while ago I wrote a simple Processing library that allowed to send frames out. This was quite useful, but still missing half of the Syphon functionality. With some additional coding, we were able to add the client part, and I just put the new version (0.4) of the Syphon-Processing library up for download (it requires Processing 2.0a4 or newer).

Read the rest of this entry »

Advertisements

Posted February 21, 2012 by ac in Programming

Tagged with , , , , ,

Triple boot Mac   3 comments

Since my work these days involves cross platform coding on Mac OSX, Linux and Windows, and having a MacBook Pro as the main development machine, I thought it could be convenient to have the three operating systems installed on a triple boot configuration. Running Linux and Windows inside OSX with a Virtual Machine could be an alternative solution, but doing opengl development and testing in the VM might be tricky (although Parallels VM seems ok, for games at least). I eventually decided to take the route of three separate installs (Ubuntu Linux 10.04, OSX Snow Leopard 10.6.4 and Windows 7 Ultimate) on the same machine. After gathering some information online and working through the required installation steps of each system, I eventually got everything working quite well.
Read the rest of this entry »

Posted October 3, 2010 by ac in Software

Tagged with , , , , ,

Building GStreamer on OSX   39 comments

Currently, the most convenient way to generate GStreamer binaries for Mac is to use the MacPorts build system. It automatically handles dependencies and patches, and it is kept well up-to-date. However, the main disadvantage of MacPorts is that the resulting GStreamer libraries are meant to be placed inside a specific location in the disk, usually /opt/local, which makes difficult to bundle them into 3rd party applications and also requires separate installs to deploy GStreamer on the end user’s machine. The reason for this problem is that the compilation process in MacPorts hard-codes the absolute paths of the dependencies into the binaries and/or libraries. The methods and scripts described below allow one to modify the GStreamer binaries built with MacPorts so they contain only relative references to dependencies, thus facilitating the integration of GStreamer with 3rd party applications on Mac OSX. These scripts and accompanying documentation are already part of the OSSBuild distribution.
Read the rest of this entry »

Posted August 31, 2010 by ac in Programming

Tagged with , , , , , ,

OSX strangeness   2 comments

GStreamer under OSX requires setting a couple of environmental variables: DYLD_LIBRARY_PATH and GST_PLUGIN_PATH. One approach I relied on before in order to define these variables was to use the the setenv command in the /etc/launchd.conf file. launchd.conf is read by the launchd service during system boot. But, it turns out that any variable that starts with DYLD is just ignored…
Read the rest of this entry »

Posted May 12, 2010 by ac in Programming

Tagged with , , ,

Solving library conflict with the installer of GStreamer for OSX   1 comment

In a post from a while ago, I mentioned an “experimental” installer of gstreamer for OSX. Some people found that libraries bundled with the installer (libiconv.2.dylib in particular) conflicted with versions of the same libraries deployed by other applications. Brad Borevitz just suggested a hack to remedy this issue. As with any hack, no responsibilities are taken for unexpected/undesired effects:-)
Read the rest of this entry »

Posted April 18, 2010 by ac in Software

Tagged with , , , , ,

GStreamer installer for MacOSX   46 comments

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).
Read the rest of this entry »

Posted April 3, 2009 by ac in Programming

Tagged with , , , , ,

New GSVideo with better OSX support   23 comments

With release 0.4.6 of GSVideo (download here) users on Mac and Windows don’t need to do any extra install, since the gstreamer binaries are included inside the library package itself (Mac version uses the gstreamer binaries that are bundled with the current nightly build of songbird 1.1) . Version 0.4.5 on Windows already had this advantage, but it also presented a number of bugs that probably made it somewhat useless (most notably, gsvideo wouldn’t not be work when installed in a path containing spaces), and the included version of gstreamer had some library dependency issues. GSVideo 0.4.6 solved these two problems.
Read the rest of this entry »

Posted January 29, 2009 by ac in Programming

Tagged with , , , , ,