We use the same code in our laboratories, and it always worked like a charm. In fact, I copied your code into one of my Eclipse projects. I downloaded FLV files from the Internet and successfully converted them to MOV with your code.
My students often report problems setting up a project in conjunction with Xuggler. Perhaps you are ready to reconfigure your project to Maven, which so far has not failed us. On Maven-dependent platforms, the appropriate libraries are automatically added to the Eclipse project.
Since the release of Kepler, the M2 module, which is Maven's management for Eclipse, has been part of the core line. Thus, creating a maven project will be easy. Just add the following repository and dependency on your pom.xml afterwards.
Storage:
<repositories> <repository> <id>xuggle repo</id> <url>http://xuggle.googlecode.com/svn/trunk/repo/share/java/</url> </repository> </repositories>
code>
Dependencies:
<dependencies> <dependency> <groupId>xuggle</groupId> <artifactId>xuggle-xuggler</artifactId> <version>5.4</version> </dependency> </dependencies>
code>
As mentioned earlier, in this project setup, your code works. For your reference, we tested MacOS 10.9.4 and Java 7.
source share