Difference between revisions of "Java bindings"

From VideoLAN Wiki
Jump to navigation Jump to search
(added compile and eclipse integration from README and links to the examples)
m (Add wikilinks, grammar, layout)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
For a complete overview about Java binding in VideoLAN goto to the [http://trac.videolan.org/jvlc/ JVLC homepage].
+
== VLCJ ==
  
= Source code =
+
VLCJ are Java bindings for VLC.
Find the source code at {{file|bindings/java|bindings}}
 
  
== Compile ==
+
Those are the '''recommended''' Java bindings for VLC.
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.
+
* It is managed as an external project at: http://www.capricasoftware.co.uk/vlcj/
 +
* 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
  
To compile the project, run from the bindings/java folder:
+
Though it has its own forums for asking questions.
  
mvn install
+
== 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.
  
== Tips and tricks ==
+
== 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]''
=== 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]]
 +
[[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