uk.co.silentsoftware.core.converters.video
Class VideoConverter

java.lang.Object
  extended by uk.co.silentsoftware.core.converters.video.VideoConverter

public class VideoConverter
extends java.lang.Object

Simple JMF wrapper to import video at a given frame sampling rate. Note JMF does not always throw exceptions when it cannot decode a file and getting additional third party jffmpeg to work with this lib has been fruitless. If you do get it working (cross platform) please show me how!


Field Summary
private static boolean canResume
          Flag to indicate when we can leave the convert method and the video has been processed
 
Constructor Summary
VideoConverter()
           
 
Method Summary
static java.util.List<java.awt.image.BufferedImage> convertVideoToBufferedImages(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canResume

private static volatile boolean canResume
Flag to indicate when we can leave the convert method and the video has been processed

Constructor Detail

VideoConverter

public VideoConverter()
Method Detail

convertVideoToBufferedImages

public static java.util.List<java.awt.image.BufferedImage> convertVideoToBufferedImages(java.io.File f)
                                                                                 throws java.io.IOException,
                                                                                        javax.media.NoPlayerException,
                                                                                        java.lang.InstantiationException,
                                                                                        java.lang.IllegalAccessException,
                                                                                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
javax.media.NoPlayerException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException