- libxine-java uses SWIG to provide direct access to the complete native xine library.
- The absolute path to the installed native libraries (JNI) is inserted into org.libxine.XineJNIPath.java by configure. By this, it is not necessary to change LD_LIBRARY_PATH (respectively DYLD_LIBRARY_PATH on Mac OS X) or set the java.library.path property.
- libxine.jar is installed into a system Java directory. This is /Library/Java/Extensions/ on Mac OS X and java.home/lib/ext on Linux systems. By this, the classpath does not need to configured for the use of libxine-java.
- The class XineController handles the low-level xine initialization and provides a simple video player interface. Non-supported xine functions can still be called directly by means of the generated SWIG binding. The native xine streame required for most xine lib calls can be obtained from XineController.getNativeStreamAll().
- To show a video, xine requires a video output, which implements XineVideoView. For this, libxine-java provides XineAWTCanvas/XineSwingCanvas for use in AWT/Swing windows, a standalone XineAWTFrame, and XineSWTCanvas for SWT windows.