Xuggler on NetBeans
There are several reasons to write a tutorial, not all of them altruistic. The motivation for this one is to improve my understanding of video processing. Part of that will come from the research and effort to explain its usage clearly and part will come from the feedback from people who read it.
I am new to Xuggler  a set of programs and libraries (Java and C++) for encoding and decoding audio and video. The code presented in this tutorial has been tested and is presented as one way (the easy way) to do things. Please help me improve it. Send me an email, edit the article or add to the discussion page.
If all goes well this tutorial will have a few chapters getting more complicated as we go. The this one covers installing Xuggler and integrating the Java and runtime libraries into a NetBeans Java Desktop Application to display the video from any movie that uses a supported format. The next one will introduce multi-threading to increase performance and commands to move forward and backward in the video stream.
CAVEAT: The Swing Application Framework (SAF) that is used by NetBeans 7.0 in Java Desktop Applications is no longer supported by Oracle. There are plug-in replacements being developed such as the Better Swing Application Framework . I leave my arguments on the need for a lightweight GUI like SAF for a blog post. Regardless of how you create the GUI the concepts will be applicable.
- Install Xuggler libraries and programs, set up the Environment variables for NetBeans and our program. See Xuggler_Install
- Start the Java GUI program.
- Write the ImageReader class to interface to Xuggler and pass images back
- Add playback speed control.