JcodecFrameGrab function ( double arg0 ) { sdt ( ) . seek ( arg0 ) ; decodeLeadingFrames ( ) ; return this ; }
position frame grabber to a specific second in a movie . as a result the next decoded frame will be precisely at the requested second . warning : potentially very slow . use only when you absolutely need precise seek . tries to seek to exactly the requested second and for this it might have to decode a sequence of frames from the closes key frame . depending on gop structure this may be as many as 500 frames . concode_field_sep ThreadLocal<int[][]> buffers concode_elem_sep DemuxerTrack videoTrack concode_elem_sep Logger LOGGER concode_elem_sep ContainerAdaptor decoder concode_field_sep MediaInfo getMediaInfo concode_elem_sep SeekableDemuxerTrack sdt concode_elem_sep int[][] getBuffer concode_elem_sep void goToPrevKeyframe concode_elem_sep ContainerAdaptor detectDecoder concode_elem_sep JcodecFrameGrab seekToSecondSloppy concode_elem_sep void decodeLeadingFrames concode_elem_sep JcodecFrameGrab seekToFrameSloppy concode_elem_sep Picture getNativeFrame concode_elem_sep double getTotalDuration concode_elem_sep VideoDecoder byFourcc concode_elem_sep JcodecFrameGrab seekToFramePrecise concode_elem_sep int getTotalFrames concode_elem_sep long getCurrentFrameNum concode_elem_sep double getFPS concode_elem_sep int detectKeyFrame