The vlcj project provides a Java framework to allow an instance of a native vlc media player to be embedded in a Java AWT Window or Swing JFrame.
You get more than just simple bindings, you also get a higher level framework that hides a lot of the complexities of working with libvlc.
vlcj works just fine on Linux and Windows and should work on Mac - but for Mac you likely need a bleeding-edge release of vlc.
At least JDK 1.6 is required, and it works without changes on JDK 1.7.
This is the open source vlcj project page, see also the 'official' home page where you can find more information as well as some new simple tutorials.
21/09/2012 New pre-release snapshot version 2.2.0:
- new native log integration (libvlc 2.1.x);
- native media discoverer integration - it is now possible to get a list of audio and video (on Linux) capture devices;
- media meta data now provides media length (if available);
- minor bug fixes and memory leak fixes.
20/05/2012 Released version 2.1.0, for use with libvlc 2.0.
28/01/2012 Moved to github.
You can also follow @capricasoftware on Twitter for more vlcj news.
The vlcj project page is at github.
Online Javadoc is available:
Documentation is being made available at Caprica Software.
Support for commercial projects is provided exclusively on commercial terms - send an email to the following address for more information:
mark [dot] lee [at] capricasoftware [dot] co [dot] uk
The vlcj framework is provided under the GPL, version 3 or later.
If you want to consider a commercial license for vlcj that allows you to use and redistribute vlcj without complying with the GPL then send your proposal to:
mark [dot] lee [at] capricasoftware [dot] co [dot] uk