Difference between revisions of "Java bindings"

From VideoLAN Wiki
Jump to navigation Jump to search
(moved java control up)
Line 7: Line 7:
  
 
= Java control of VLC =
 
= Java control of VLC =
See this [[https://forum.videolan.org/viewtopic.php?f=14&t=85347 forum topic]] for information on controlling VLC via its RC interface from a separate java program. The [[wiki:Java_control]] page describes this further and attaches the java source files.
+
See this [[https://forum.videolan.org/viewtopic.php?f=14&t=85347 forum topic]] for information on controlling VLC via its RC interface from a separate java program. The [[Java_control]] page describes this further and attaches the java source files.
 
 
  
 
= Notice =
 
= Notice =

Revision as of 20:32, 16 December 2010

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.

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

Java control of VLC

See this [forum topic] for information on controlling VLC via its RC interface from a separate java program. The Java_control page describes this further and attaches the java source files.

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


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