This set of tutorials shows how to install the latest Xuggler library on a Linux machine.
Part 1: Downloading and Building
In this tutorial we show how to find the latest version of Xuggler and install it on your favorite Linux machine.
Part 2: Installing and Verifying
After you’ve installed Xuggler on your machine and rebooted, it’d be nice to test that everything is working. This tutorial shows you how to do that.
Part 3: For those who don’t like Videos
Here are the steps in text for those who don’t like video:
- Uninstall old versions of Xuggler first if you’ve already installed it. Do this by running
ant uninstallin the directory you originally installed from.
- Download the latest Xuggler
.tar.gzfile for Linux from here
- Untar the download by running
tar -xzvf xuggler-version.tar.gz
- Set the environment variables
XUGGLE_HOMEto where you want xuggle installed:
export XUGGLE_HOME=/usr/local export PATH=$XUGGLE_HOME/bin:$PATH export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH
- cd to
ant run-tests. This can take anywhere from 10 minutes to over an hour depending on your machine.
- Once the build has finished, run
sudo ant install
- Then to verify the build, try the following command (all one one line). You should be able to pass in any media file you like to test; for the example we’re asking for meta-information about the file
java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar com.xuggle.xuggler.demos.GetContainerInfo test/fixtures/testfile.flv
- Congratulations you should see meta information (for example number and type of streams in the container) printed to your console