I am on 10.6.8 with the latest stable Processing and (32-bit) GSvideo. My script works from within Processing (video capture and processing, sound output), but when I export an application and run it separately, there is no video, and the Console returns the following error:
10/4/11 2:19:52 PM
[0x0-0x2b02b].performer[279]
[JavaAppLauncher] Requested [1.5*], launching in [1.6] instead.
10/4/11 2:19:52 PM
[0x0-0x2b02b].performer[279]
GSVideo version: 0.9
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Unable to load library 'gstreamer-0.10': dlopen(libgstreamer-0.10.dylib, 9): image not found
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at com.sun.jna.Library$Handler.<init>(Library.java:140)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at com.sun.jna.Native.loadLibrary(Native.java:379)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:48)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:45)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at org.gstreamer.Gst.<clinit>(Gst.java:59)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at codeanticode.gsvideo.GSVideo.initImpl(Unknown Source)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at codeanticode.gsvideo.GSVideo.init(Unknown Source)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at codeanticode.gsvideo.GSCapture.initGStreamer(Unknown Source)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at codeanticode.gsvideo.GSCapture.initPlatform(Unknown Source)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at codeanticode.gsvideo.GSCapture.<init>(Unknown Source)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at performer.setup(performer.java:119)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at processing.core.PApplet.handleDraw(PApplet.java:1608)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at processing.core.PApplet.run(PApplet.java:1530)
- 10/4/11 2:19:53 PM [0x0-0x2b02b].performer[279] at java.lang.Thread.run(Thread.java:680)
This is similar to a problem here:
http://forum.processing.org/topic/problems-with-gsvideo-on-a-mac-unsatisfiedlinkerror-gstreamer-0-10 but it's from well over a year ago, and all indication was that the dependency issue was fixed.
I would like, eventually, to run this program at startup, but I need a standalone application in order to do that. Does anyone know what the problem could be?
1