Here is a new release of the gsvideo library for processing. This version (0.3.9) includes the GSCapture and GSMovieMaker classes (however, GSMovieMaker is not functional yet):
So, the GSCapture class is the most important addition at this time. Video capture is highly platform dependent, and it requires different gstreamer input plugins on Linux, Mac OSX and MS Windows.
On Windows, gsvideo uses the directshow wrapper source element. This has the advantage of making available in Processing any camera that is supported by Windows. However, getting the directshow wrapper to work properly is tricky. First of all, you need to install the latest version of GStreamer, which you can grab from here:
Install the packages gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad and gst-plugins-ugly. I have used the “-setup.zip” files, which contain a windows installer for each package. Now, an important detail is that the directshow wrapper included in the latest gst-plugins-bad (0.10.6) package is not the most up-to-date and doesn’t work with many webcams. Here is the dll of the updated directshow wrapper that fixes these compatibility issues. Just download it and copy where the gstreamer plugins are installed, usually in “C:\Program Files\Common Files\GStreamer.10\lib\gstreamer-0.10”.
On Linux, gsvideo uses the video4linux source plugin. If you camera is supported then it should work, but since mine is not I couldn’t test it.
For Mac… well, not much progress really. The biggest issue here is to have an easy way to install gstreamer on OSX. I haven’t had time to work on this, but I’ll try to as soon as possible.
Hopefully the next release of the library will have its own webpage, most likely as a Google code project, where I will also upload simplified installation packages of gstreamer for Windows and OSX, in order to make the setup process less painful for the users of these platforms (gstreamer usually comes preinstalled on most Linux distributions).