I'm trying to export a processing application that uses GSVideo as a windows executable. However when I run the application the whole thing just hangs without any notification as to why. I've managed to figure out that its something to do with the GSVideo library and the gstreamer dlls required by the app. I've copied over the gstreamer folder to the application folder as mentioned here http://codeanticode.wordpress.com/2009/07/26/fresh-releases-of-gsvideo-and-glgraphics/ . Still no joy though, the application still hangs.
I can also recreate this by trying to export the 'Loop' sketch in the GSVideo examples. Runs fine when testing from the PDE, but as soon as I export as a windows app, it doesnt work. Even if I copy over the gstreamer directory.
Is there something I'm missing here? And can anybody replicate this bug on windows 7.
@jobleonard: I found a workaround for windows. With the corresponding paths it should work on mac too.
Put the following in
GSVideo.localGStreamerPath = sketchPath+"/gstreamer/win";
This variable is empty by default.
Export your application.
Copy the folder _
to the folder of your exported application.
(Now the app folder should include the following folders: source, lib and gstreamer)
Thank you very much for this tip :) But I have another problem with present mode : if I export for win 7 (processing 1.5) it works, but if I export it with Present mode, videos does not appear. I tried with the fullscreen lib, if I press a key to switch in fullscreen mode (same resolution), I can hear my movie but not see it. Any idea ? Thanks !