I forked the current Processing 2.0 library code (GStreamer isn’t in 1.5 is it?)
Anyway (as I’ve pointed you to before
) the forked library loader (for Windows) is here - http://code.google.com/p/praxis/source/browse/praxis.video-gstreamer-win/src/net/neilcsmith/praxis/video/gstreamer/windows/LibraryLoaderImpl.java?repo=ext You’ll need to change the lines with InstalledFileLocator (from NetBeans platform) to point at the folder you put the native libs in. You’ll probably want to make load() public too.
You’ll need the GStreamer native libs themselves - easier than checking out Processing will be to download the Praxis plugin from http://code.google.com/p/praxis/downloads/list. An *.nbm file is just a rebadged Zip, so extract it and you’ll find the libs.
The GStreamer libs from Processing include a few GPL plugins. Unfortunately, I’m not entirely sure which are the GPL ones (Praxis is GPL anyway), so you’ll have to figure it out and just delete them. Removing plugins you don’t need shouldn’t break anything.
You’ll need to write a simple player, and upload to the texture using the code that theagentd gave you as a base. Some of the code in my PlaybinDelegate might help you - ignore the GPL, I’ll let you use what you want!
You’ll also want to take out the line that sets the audio sink to null, which is why audio doesn’t work in Praxis - I need to write a custom audio sink to get the audio into Praxis’ audio pipeline.
OSX is also doable (and should be easier to port from Processing) but I don’t have access to a Mac to test on at the moment.
Anything else, just ask. And if you want to check all the native libs link properly, try Praxis and the plugin first. They work here fine, so hopefully the same for you.
Best wishes, Neil