public static Bitmap getFrame(File file, double second) throws IOException, JCodecException {
        FileChannelWrapper ch = null;
        try {
            ch = NIOUtils.readableChannel(file);
            return ((AndroidFrameGrab) createAndroidFrameGrab(ch).seekToSecondPrecise(second)).getFrame();
        } finally {
            NIOUtils.closeQuietly(ch);
        }
    }
public static Bitmap getFrame(File file, double second) throws IOException, JCodecException {
        FileChannelWrapper ch = null;
        try {
            ch = NIOUtils.readableChannel(file);
            return ((AndroidFrameGrab) createAndroidFrameGrab(ch).seekToSecondPrecise(second)).getFrame();
        } finally {
            NIOUtils.closeQuietly(ch);
        }
    }
public static Bitmap getFrame ( File file , double second ) throws IOException , JCodecException { FileChannelWrapper ch = null ; try { ch = NIOUtils . readableChannel ( file ) ; return ( ( AndroidFrameGrab ) createAndroidFrameGrab ( ch ) . seekToSecondPrecise ( second ) ) . getFrame ( ) ; } finally { NIOUtils . closeQuietly ( ch ) ; } }
Get frame at a specified second as AWT image

@param file
@param second
@return A decoded frame from a given point in video.
@throws IOException
@throws JCodecException
Get frame at a specified second as AWT image