You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
19 years ago | |
|---|---|---|
| .. | ||
| includes | 20 years ago | |
| org/videolan/jvlc | 19 years ago | |
| src | 19 years ago | |
| FAQ | 20 years ago | |
| Makefile.am | 20 years ago | |
| README | 20 years ago | |
| THANKS | 20 years ago | |
| TODO | 20 years ago | |
| VLCExample.java | 19 years ago | |
| VlcClient.java | 20 years ago | |
| createEclipseProject.sh | 20 years ago | |
| javadoc.xml | 21 years ago | |
README
First of all, this is a *developers* only version
Usage
-----
In order to use these bindings you have to compile vlc from source. I
recommend you to take the latest version from videolan svn repository
(or use at least revison 18443) by doing:
svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
bootstrap, clean, set environment variables, configure and build:
./bootstrap
export JAVA_HOME=/path/to/jvm
(for example i have JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun)
./configure --enable-java-bindings && make && make install
To run a Java VLC example issue (be sure you have an a.avi and a.mp3 files
in your user.dir folder):
java -Djava.library.path=/usr/local/lib VLCExample
(if you have specified a prefix in configure, change /usr/local/lib to
PREFIX/lib)
Be sure your ldconfig can find libjawt.so and libmawt.so or you will
get linking errors when you run the program.
Happy playing.