Loading...
Logo
Processing Forum
Has this been fixed in 0.8? I've tried using the previous GSVideos in Eclipse and couldnt get it to run without throwing an UnsatisfiedLinkError error but I thought it would've been fixed so maybe I'm doing something wrong. In my Eclipse project I included/added these jars:

GSVideo.jar
gstreamer-java.jar
jna.jar

then I tried to run the Loop example and it threw these errors:

GSVideo version: 0.8

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Unable to load library 'gstreamer-0.10': dlopen(libgstreamer-0.10.dylib, 9): image not found

at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)

at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)

at com.sun.jna.Library$Handler.<init>(Library.java:140)

at com.sun.jna.Native.loadLibrary(Native.java:379)

at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:48)

at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:45)

at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)

at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)

at org.gstreamer.Gst.<clinit>(Gst.java:59)

at codeanticode.gsvideo.GSVideo.initImpl(GSVideo.java:129)

at codeanticode.gsvideo.GSVideo.init(GSVideo.java:86)

at codeanticode.gsvideo.GSMovie.<init>(GSMovie.java:92)

at codeanticode.gsvideo.GSMovie.<init>(GSMovie.java:69)

at GSVideo_Loop_Test.setup(GSVideo_Loop_Test.java:28)

at processing.core.PApplet.handleDraw(PApplet.java:1578)

at processing.core.PApplet.run(PApplet.java:1498)

at java.lang.Thread.run(Thread.java:637)

I set the native library path in the  gstreamer-java.jar  to:
... /Processing/libraries/GSVideo/library/gstreamer/macosx

I also tired setting the native library path of the other 2 jars but it didn't run. I'm using OSX 10.6.3 with a Intel Core 2 Duo and  GSVideo-0.8-snowleopard32.zip.

Animation library for timeline/keyframe based tweens and more: www.ekeneijeoma.com/processing/ijeomamotion/

Replies(5)

Did you also add the gstreamer folder to your project?

Hey Jono thanks for the reply! Yes I tried copying and also linking the files to my project. How did you link the gstreamer folder to the jars? Don't I have to link that folder to the either  GSVideo.jar or gstreamer-java.jar? Do you have an empty/template Eclipse project  with GSVideo and etc you could share?
Try downloading and using this Eclipse Project (with GLGraphics and OpenGL ready for the importing). Built on OS X 10.6.6

http://dl.dropbox.com/u/1595444/GSVideoTest.zip

GL!
Thanks Jono, problem solved!

Animation library for timeline/keyframe based tweens and more: www.ekeneijeoma.com/processing/ijeomamotion/
hi all.  having the same problem here.  @jonobr1's dropbox file isn't there anymore...can anyone please re-upload?
thanks!