Difference between revisions of "Java bindings"

From VideoLAN Wiki
Jump to navigation Jump to search
(all the JVLC links are dead, remove it. It's dead, jim!)
Line 1: Line 1:
''At the moment the JVLC project is dead, as there is no maintainer for it.''
+
''At the moment the JVLC project is dead, as there is no maintainer for it. If you want information on it, see the wiki history ''
 
'''At the moment the VLCJ project is active, please look there instead.'''
 
'''At the moment the VLCJ project is active, please look there instead.'''
  
 
= VLCJ =
 
= VLCJ =
 +
 
VLCJ are Java bindings for VLC. It is managed as an external project at: http://code.google.com/p/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
+
There is an thread about it at: http://forum.videolan.org/viewtopic.php?f=32&t=56939&start=15
 +
Though it has its own forums for asking questions.
  
 
= 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.
 
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.
 
= Notice =
 
The information below pertains to the no longer maintained JVLC project.
 
 
For a complete overview about Java binding in VideoLAN goto to the [http://trac.videolan.org/jvlc/ JVLC homepage].
 
 
== Source code ==
 
Find the source code at {{file|bindings/java|bindings}}
 
 
== Compile ==
 
We use [http://maven.apache.org/ 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 ===
 
{{file|bindings/java/samples}}
 
Is the samples directory with a simple client.
 
 
A simple VLC client
 
{{file|bindings/java/samples/client/src/main/java/VlcClient.java}}
 
 
Display multiple videos
 
{{file|bindings/java/samples/client/src/main/java/MultipleVideosSample.java}}
 
 
A comprehensive JVLC example
 
{{file|bindings/java/core/src/main/java/org/videolan/jvlc/example/VLCExample.java}}
 
 
= OSGi =
 
For the use of Java binding under OSGi go to the [http://vlc4osgi.forge.os4os.org VLC4OSGi Homepage]
 
 
  
 
[[Category:Bindings]]
 
[[Category:Bindings]]

Revision as of 18:36, 11 April 2012

At the moment the JVLC project is dead, as there is no maintainer for it. If you want information on it, see the wiki history 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 thread about it at: http://forum.videolan.org/viewtopic.php?f=32&t=56939&start=15 Though it has its own forums for asking questions.

Java control of VLC

See this [forum topic] for information on controlling VLC via its RC interface from a separate java program.