Hello all,
I'm new to VLC but am quite impressed with it so far! I have a mixed environment of Linux servers and Windows/XP clients. I was interested in getting jvlc working so that I might write some of my own applications using that API in Java. I will detail how I built the product, but first, here is the error I am getting when I try to run the VLCExample java code...
$ java VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLan team
[00000001] main libvlc debug: libvlc was configured with ./configure '--enable-mozilla' '-enable-java-bindings'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Found old config file at /home/topgun/.vlc/vlcrc VLC will now use /home/topgun/.config/vlc/vlcrc.
Exception in thread "main" org.videolan.jvlc.VLCException: not implemented
at org.videolan.jvlc.Audio._install_callback(Native Method)
at org.videolan.jvlc.Audio.install_callback(Audio.java:44)
at org.videolan.jvlc.Audio.<init>(Audio.java:39)
at org.videolan.jvlc.JVLC.<init>(JVLC.java:80)
at VLCExample.main(VLCExample.java:26)
This stack is easy enough to follow in the code. I looked at the file bindings/java/src/callback-jni.c and sure enough from as best as I can tell, this method will always throw this exception...and it seems this method will always be called. Since this is called by the JVLC constructor I begin to wonder...how does this work ever?
My environment and how I built this...
I am using Java 1.6 to build and execute.
For reasons I can't get into, I did the svn co on my home Linux system [on 9/24/2007] which is an FC7.
I did the ./bootstrap there and then copied all the tree over to my work Linux system which is FC6.
[I could not get the ./configure to work on FC7...issues with required packages and version conflicts]
[I could not get the ./bootstrap working on FC6 mostly because of the older autoconf there...which I
can not upgrade because the new version is not available for FC6]
The build on FC6 worked fine. Also did a 'make install'.
Prior to running 'java VLCExample', I setup my library path as recommended elsewhere in the postings
export LD_LIBRARY_PATH=/usr/local/lib:/opt/jdk1.6/jre/lib/i386/xawt
And there we have all the facts as best as I can recall.
Thanks for your attention to this!!!
John