ActiveX vs JVLC
Posted: 27 Jun 2007 14:01
Hi,
I am actually trying to develop an application using VLC for streaming 3gp files via rtsp protocol.
I have two solutions, the first one is to use JVLC and the other one use VLC via ActiveX.
My problems are the following:
1) I have lot of problems to install the JVLC API 0.9.0 with the error when I am building
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\qxavfol\JavaApplication5\jvlc.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:36)
at javaapplication5.Main.main(Main.java:31)
Java Result: 1
BUILD SUCCESSFUL (total time: 6 seconds)
2) I have no idea how hard is to use ActiveX in Java
3) Do you think in ActiveX or JVLC is possible to stream 3gp file
4) Is it possible to change a stream actually played by another one without closing player ?
Basically if i am playing rtsp://127.0.0.1/stream1.3gp, can I open the stream rtsp://127.0.0.1/stream2.3gp ?
5) Is it possible to integrate AcitveX and Swing to have a player inside a JPanel ? (I suppose yes ...)
At the end which one I should use ? The more logical will be JVLC but I can't use it in its version 0.9.0, the 060612 works anyway but I don't know if it will support 3gp .... . That's why ActiveX could provide another solution.
Thank you
Xavier
I am actually trying to develop an application using VLC for streaming 3gp files via rtsp protocol.
I have two solutions, the first one is to use JVLC and the other one use VLC via ActiveX.
My problems are the following:
1) I have lot of problems to install the JVLC API 0.9.0 with the error when I am building
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\qxavfol\JavaApplication5\jvlc.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:36)
at javaapplication5.Main.main(Main.java:31)
Java Result: 1
BUILD SUCCESSFUL (total time: 6 seconds)
2) I have no idea how hard is to use ActiveX in Java
3) Do you think in ActiveX or JVLC is possible to stream 3gp file
4) Is it possible to change a stream actually played by another one without closing player ?
Basically if i am playing rtsp://127.0.0.1/stream1.3gp, can I open the stream rtsp://127.0.0.1/stream2.3gp ?
5) Is it possible to integrate AcitveX and Swing to have a player inside a JPanel ? (I suppose yes ...)
At the end which one I should use ? The more logical will be JVLC but I can't use it in its version 0.9.0, the 060612 works anyway but I don't know if it will support 3gp .... . That's why ActiveX could provide another solution.
Thank you
Xavier