I am going to try your demo program in Window and Linux. Unfortunately, I am suffering in the following problem.
I have just unzip the package and create a run.bat, which is going to execute the code -- "java -Djava.library.path=. SwingClient".
After I clicked on the run.bat, the following exception occured.
Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\Programming Tech_o
ffice\External API Tech\Java Media Framework\VLC media player\Java VLC\Windows X
86\Binary\jvlc-win32-060612\jvlc.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:39)
at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java:44)
at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:42)
at VLCPlayerFrame.initComponents(SwingClient.java:48)
at VLCPlayerFrame.<init>(SwingClient.java:35)
at SwingClient.main(SwingClient.java:169)
After I have tried to run your Demo, I found this exception and I can't find what is the reason.
Thus, I tried to download the other package "jvlc-0.9.0-20070310-win32.zip". The SwingClient, VLCExample are also existing.
But, there is little bit different to the above binary version. For instance, the binary version do not have any VLCException.
I have tried this package's VLCExample, I am suffering in other problem. The compiler tell me that
"Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers."
In addition, I have also tried to compile the Source example, which is provided in Window Binary package. The example still can't run.
It told me that
"#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c901277, pid=128, tid=924
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x1277]
#
# An error report file with more information is saved as hs_err_pid128.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#"
Finally, I tried the binary version "jvlc-binary-linux-x86-20060801.tar.tar" and "jvlc-0.9.0.20070225-linux-x86_64-libs.tar.tar".
jvlc-binary-linux-x86-20060801.tar.tar : When I tried to run the jar file in the binary version package, it throw UnsatisfiedLinkError, the reason is that it can't found or open "libdvdpsi.so.4".
"vlc-0.9.0.20070225-linux-x86_64-libs.tar.tar : The package also can't run, it told me that the native library is 64 bits. Unfortunately, my linux is 32 bits.
As a result, I am writing to ask you how can I use your product JVLC? I am going to develop a JAVA Application which have a Client Media Player for playing a WMV streaming media.
The Application should run on Linux and Window. Thus, I have found that the most powerfull player for both platform is VLC. Would you mind to teach me how to use your product? And
Would you mind to send me another package to me for demostraction in both platform? I want to add the player frame in to my own frame!!
Thanks you very much!