Java bindings
At the moment the JVLC project is dead, as there is no maintainer for it. At the moment the VLCJ project is active, please look there instead.
Contents
VLCJ
VLCJ are Java bindings for VLC. It is managed as an external project at: http://code.google.com/p/vlcj/ There is an active thread on the subject at: http://forum.videolan.org/viewtopic.php?f=32&t=56939&start=15
Notice
The information below pertains to the no longer maintained JVLC project.
For a complete overview about Java binding in VideoLAN goto to the JVLC homepage.
Source code
Find the source code at
- bindings/java (bindings)
Compile
We use Maven2 as the project management tool.
Take a look at the website to download and for general instructions on how to use it.
To compile the project, run from the bindings/java folder:
mvn install
Tips and tricks
Eclipse integration
To import the JVLC project into the eclipse IDE:
mvn eclipse:eclipse
and then import as an existing Java project.
Samples
Is the samples directory with a simple client.
A simple VLC client
Display multiple videos
A comprehensive JVLC example
OSGi
For the use of Java binding under OSGi go to the VLC4OSGi Homepage
Java control of VLC
See this [topic] for information on controlling VLC via its RC interface from a separate java program.