The GStreamer adventure part II: video capture on OSX   Leave a comment

This is a short post, just to give a “preview” of the work currently undergoing on OSX and GStreamer. A year ago, Ole Andre Ravnas, the author of OABuild, released a proof-of-concept GStreamer plugin to do video capture on OSX. Here is the full discussion that took place on bugzilla at that time, and here the plugin code that Ole Andre released. I discovered this code very recently, and together with Daniel Shiffman, we made a few changes to make it work on the latest macbooks. The code is pretty much the same as Ole Andre’s original, but with hard-coded values that better match the video format and framerate of the iSight cameras. We were able to compile it on both OSX Leopard (10.5) and Tiger (10.4). Extremely inefficient (100% CPU usage) but still a promising starting point. Download from here. Once decompressed, run ./configure from the command line, and then change to the src subdirectory and run make. Of course, this requires to have gstreamer already installed on the system, we are currently using macports to do it. Fink seems to be another viable alternative to get gstreamer installed on OSX, but I haven’t tried it myself.

Advertisements

Posted November 28, 2008 by ac in Programming

Tagged with , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: