I'm designing this Java web applet to stream video via RTSP from a video server. In order to render this video, the Xuggler 5.4 library (xuggle-xuggler.jar
) will be used. Currently, video is rendered properly when I run it on Windows XP and Ubuntu 10.04 machines. When I try to run it on Windows 7, however, I get the following error:
10:10:13.370 [Thread-13] WARN com.xuggle.ferry.JNILibrary - Failure: library load of library: xuggle; url: C:\Users\Justin\AppData\Local\Temp\xuggle\xuggle8376027568348573783.dll; error: java.lang.UnsatisfiedLinkError: C:\Users\Justin\AppData\Local\Temp\xuggle\xuggle8376027568348573783.dll: Can't find dependent libraries
10:10:13.448 [Thread-13] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle; version: 5; Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
Exception in thread "Thread-13" java.lang.UnsatisfiedLinkError: no xuggle in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:268)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:171)
at com.xuggle.ferry.JNILibrary.load(JNILibrary.java:161)
at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:16)
at com.xuggle.ferry.Ferry.<clinit>(Ferry.java:25)
at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
at com.xuggle.xuggler.ICodec$ID.<clinit>(ICodec.java:760)
at com.ioindustries.videoserver.RtpSession.run(RtpSession.java:86)
at java.lang.Thread.run(Unknown Source)
I've tried extracting the xuggle-5.dll
and placing it in my web
directory, then linking it to Windows %PATH% and even Windows %CLASSPATH%, but video still does not render when I do so and the error disappears (at that point, I'm not sure what is happening). I've also tried running xuggle-5.dll through the dependency walker, although all I get is an error with IESHIM.dll as shown in the screenshot below:
Of course, the same error with IESHIM.dll occurs when I run it on the Windows XP and on the Ubuntu 10.04 machines.
I also have the xuggle-xuggler.jar file referenced in under the HTML document that is used to launch the web applet.
At this point, I'm really not sure why Xuggler fails to run on my Windows 7 (32-bit) machine specifically, which I use for development. Any help on the matter would be greatly appreciated.
As a note, I am trying to run with the GPL version of Xuggle 5.4 (which should not require any installation unlike previous versions of Xuggle) available on the Xuggle website.
Here is a snippet of my HTML document:
<div id="applet_box" class="applet box">
<applet id="applet" code="com.videoserver.ClientApplet"
archive="VideoServerClient.jar, xuggle-xuggler-5.4.jar, slf4j-api-1.6.4.jar, logback-classic-1.0.0.jar, logback-core-1.0.0.jar" MAYSCRIPT>
</applet>
</div>