uk.co.silentsoftware.core.converters.video
Class VideoConverter
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canResume
private static volatile boolean canResume
- Flag to indicate when we can leave the convert method
and the video has been processed
VideoConverter
public VideoConverter()
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