Difference between revisions of "Java bindings"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Add wikilinks, grammar, layout)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
''At the moment the JVLC project is dead, as there is no maintainer for it.''
+
== VLCJ ==
'''At the moment the VLCJ project is active, please look there instead.'''
 
  
= VLCJ =
+
VLCJ are Java bindings for VLC.
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 =
+
Those are the '''recommended''' Java bindings for 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 [[Java_control]] page describes this further and attaches the java source files.
 
  
= Notice =
+
* It is managed as an external project at: http://www.capricasoftware.co.uk/vlcj/
The information below pertains to the no longer maintained JVLC project.
+
* Source code repository can be found on github: https://github.com/caprica/vlcj
 +
* There is a thread about it at: https://forum.videolan.org/viewtopic.php?f=32&t=56939&start=15
  
For a complete overview about Java binding in VideoLAN goto to the [http://trac.videolan.org/jvlc/ JVLC homepage].
+
Though it has its own forums for asking questions.
  
== Source code ==
+
== Java control of VLC ==
Find the source code at {{file|bindings/java|bindings}}
+
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.
 
 
== 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]
 
  
 +
== JVLC ==
 +
''At the moment the JVLC project is dead, as there is no maintainer for it.  If you want information on it, see [{{fullurl:{{PAGENAME}}|action=history}} the wiki history]''
  
 
[[Category:Bindings]]
 
[[Category:Bindings]]
 +
[[Category:Inactive project pages]]

Latest revision as of 03:39, 1 April 2019

VLCJ

VLCJ are Java bindings for VLC.

Those are the recommended Java bindings for VLC.

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.

JVLC

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