javase/src/main/java/org/jcodec/api/awt/AWTFrameGrab.java
public static BufferedImage getFrameSloppy(SeekableDemuxerTrack vt, ContainerAdaptor decoder, int frameNumber)
            throws IOException, JCodecException {
        return ((AWTFrameGrab) new AWTFrameGrab(vt, decoder).seekToFrameSloppy(frameNumber)).getFrame();
    }
public static BufferedImage getFrameSloppy(SeekableDemuxerTrack vt, ContainerAdaptor decoder, int frameNumber)
            throws IOException, JCodecException {
        return ((AWTFrameGrab) new AWTFrameGrab(vt, decoder).seekToFrameSloppy(frameNumber)).getFrame();
    }
public static BufferedImage getFrameSloppy ( SeekableDemuxerTrack vt , ContainerAdaptor decoder , int frameNumber ) throws IOException , JCodecException { return ( ( AWTFrameGrab ) new AWTFrameGrab ( vt , decoder ) . seekToFrameSloppy ( frameNumber ) ) . getFrame ( ) ; }
Get a specified frame by number 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 number from an already open demuxer track ( sloppy mode i . e . nearest keyframe )