javase/src/main/java/org/jcodec/api/awt/AWTFrameGrab.java
public static BufferedImage getFrameSloppy(SeekableDemuxerTrack vt, ContainerAdaptor decoder, double second)
            throws IOException, JCodecException {
        return ((AWTFrameGrab) new AWTFrameGrab(vt, decoder).seekToSecondSloppy(second)).getFrame();
    }
public static BufferedImage getFrameSloppy(SeekableDemuxerTrack vt, ContainerAdaptor decoder, double second)
            throws IOException, JCodecException {
        return ((AWTFrameGrab) new AWTFrameGrab(vt, decoder).seekToSecondSloppy(second)).getFrame();
    }
public static BufferedImage getFrameSloppy ( SeekableDemuxerTrack vt , ContainerAdaptor decoder , double second ) throws IOException , JCodecException { return ( ( AWTFrameGrab ) new AWTFrameGrab ( vt , decoder ) . seekToSecondSloppy ( second ) ) . getFrame ( ) ; }
Get a specified frame by second from an already open demuxer track (
sloppy mode, i.e. nearest keyframe )

@param vt
@param decoder
@param frameNumber
@return
@throws IOException
@throws JCodecException
Get a specified frame by second from an already open demuxer track ( sloppy mode i . e . nearest keyframe )