public class FrameGrab
extends org.jcodec.api.FrameGrab
| Constructor and Description |
|---|
FrameGrab(org.jcodec.common.SeekableByteChannel in) |
FrameGrab(org.jcodec.common.SeekableDemuxerTrack videoTrack,
org.jcodec.api.specific.ContainerAdaptor decoder) |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
getFrame()
Get frame at current position in AWT image
|
void |
getFrame(android.graphics.Bitmap bmp)
Get frame at current position in AWT image
|
static android.graphics.Bitmap |
getFrame(java.io.File file,
double second)
Get frame at a specified second as AWT image
|
static android.graphics.Bitmap |
getFrame(java.io.File file,
int frameNumber)
Get frame at a specified frame number as AWT image
|
static android.graphics.Bitmap |
getFrame(org.jcodec.common.SeekableByteChannel file,
double second)
Get frame at a specified second as AWT image
|
static android.graphics.Bitmap |
getFrame(org.jcodec.common.SeekableByteChannel file,
int frameNumber)
Get frame at a specified frame number as AWT image
|
static android.graphics.Bitmap |
getFrame(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
double second)
Get a specified frame by second from an already open demuxer track
|
static android.graphics.Bitmap |
getFrame(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
int frameNumber)
Get a specified frame by number from an already open demuxer track
|
static android.graphics.Bitmap |
getFrameSloppy(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
double second)
Get a specified frame by second from an already open demuxer track (
sloppy mode, i.e.
|
static android.graphics.Bitmap |
getFrameSloppy(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
int frameNumber)
Get a specified frame by number from an already open demuxer track (
sloppy mode, i.e.
|
getMediaInfo, getNativeFrame, getNativeFrame, getNativeFrame, getNativeFrame, getNativeFrame, getNativeFrame, getNativeFrame, getNativeFrameSloppy, getNativeFrameSloppy, seekToFramePrecise, seekToFrameSloppy, seekToSecondPrecise, seekToSecondSloppypublic FrameGrab(org.jcodec.common.SeekableByteChannel in)
throws java.io.IOException,
org.jcodec.api.JCodecException
java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic FrameGrab(org.jcodec.common.SeekableDemuxerTrack videoTrack,
org.jcodec.api.specific.ContainerAdaptor decoder)
public static android.graphics.Bitmap getFrame(java.io.File file,
double second)
throws java.io.IOException,
org.jcodec.api.JCodecException
file - second - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrame(org.jcodec.common.SeekableByteChannel file,
double second)
throws org.jcodec.api.JCodecException,
java.io.IOException
file - second - org.jcodec.api.UnsupportedFormatExceptionjava.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic android.graphics.Bitmap getFrame()
throws java.io.IOException
java.io.IOExceptionpublic void getFrame(android.graphics.Bitmap bmp)
throws java.io.IOException
java.io.IOExceptionpublic static android.graphics.Bitmap getFrame(java.io.File file,
int frameNumber)
throws java.io.IOException,
org.jcodec.api.JCodecException
file - second - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrame(org.jcodec.common.SeekableByteChannel file,
int frameNumber)
throws org.jcodec.api.JCodecException,
java.io.IOException
file - second - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrame(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
int frameNumber)
throws java.io.IOException,
org.jcodec.api.JCodecException
vt - decoder - frameNumber - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrame(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
double second)
throws java.io.IOException,
org.jcodec.api.JCodecException
vt - decoder - frameNumber - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrameSloppy(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
int frameNumber)
throws java.io.IOException,
org.jcodec.api.JCodecException
vt - decoder - frameNumber - java.io.IOExceptionorg.jcodec.api.JCodecExceptionpublic static android.graphics.Bitmap getFrameSloppy(org.jcodec.common.SeekableDemuxerTrack vt,
org.jcodec.api.specific.ContainerAdaptor decoder,
double second)
throws java.io.IOException,
org.jcodec.api.JCodecException
vt - decoder - frameNumber - java.io.IOExceptionorg.jcodec.api.JCodecExceptionCopyright © 2015. All Rights Reserved.