Installation Instructions
Get sources from Sourceforge
- Either from the Subversion repository:
svn co https://libxine-java.svn.sourceforge.net/svnroot/libxine-java/trunk libxine-java ./bootstrap.sh
- Or the latest release from the libxine-java downloads page
Configure
For the AWT/Swing version:
./configure
Or, with support for SWT:
./configure --with-swt-jar=path/to/your/swt.jar
Compile and install
make sudo make install
Test with AWT Player
Run the Player.java example:
java -cp build Player {VideoFile}
Key controls: ' ' pause, 'f' toggle fullscreen, 'q' quit
Test minimal SWT example
Run the MuXineSWT.java example:
java -cp build:path/to/your/swt.jar MuXineSWT {VideoFile}
Mac OS X users: Don't forget to add -XstartOnFirstThread to the Java invocation (as needed for all SWT apps).
NOTE: if you get an error on linux saying:Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb5c10767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) ...you can try to tell XCB to ignore it by:
export LIBXCB_ALLOW_SLOPPY_LOCK=1