public class FFmpegFrameRecorder extends FrameRecorder
FrameRecorder.ExceptionaudioBitrate, audioChannels, audioCodec, audioCodecName, audioOptions, audioQuality, format, frameNumber, frameRate, gopSize, imageHeight, imageWidth, interleaved, list, pixelFormat, sampleFormat, sampleRate, timestamp, videoBitrate, videoCodec, videoCodecName, videoOptions, videoQuality| Constructor and Description |
|---|
FFmpegFrameRecorder(File file,
int audioChannels) |
FFmpegFrameRecorder(File file,
int imageWidth,
int imageHeight) |
FFmpegFrameRecorder(File file,
int imageWidth,
int imageHeight,
int audioChannels) |
FFmpegFrameRecorder(String filename,
int audioChannels) |
FFmpegFrameRecorder(String filename,
int imageWidth,
int imageHeight) |
FFmpegFrameRecorder(String filename,
int imageWidth,
int imageHeight,
int audioChannels) |
| Modifier and Type | Method and Description |
|---|---|
static FFmpegFrameRecorder |
createDefault(File f,
int w,
int h) |
static FFmpegFrameRecorder |
createDefault(String f,
int w,
int h) |
protected void |
finalize() |
int |
getFrameNumber() |
long |
getTimestamp() |
boolean |
record(int sampleRate,
int audioChannels,
Buffer... samples) |
boolean |
record(opencv_core.IplImage image) |
boolean |
record(opencv_core.IplImage image,
int pixelFormat) |
void |
release() |
void |
releaseUnsafe() |
void |
setFrameNumber(int frameNumber) |
void |
setTimestamp(long timestamp) |
void |
start() |
void |
startUnsafe() |
void |
stop() |
static void |
tryLoad() |
create, create, create, get, getAudioBitrate, getAudioChannels, getAudioCodec, getAudioCodecName, getAudioOption, getAudioQuality, getDefault, getFormat, getFrameRate, getGopSize, getImageHeight, getImageWidth, getPixelFormat, getSampleFormat, getSampleRate, getVideoBitrate, getVideoCodec, getVideoCodecName, getVideoOption, getVideoQuality, init, isInterleaved, record, record, setAudioBitrate, setAudioChannels, setAudioCodec, setAudioCodecName, setAudioOption, setAudioQuality, setFormat, setFrameRate, setGopSize, setImageHeight, setImageWidth, setInterleaved, setPixelFormat, setSampleFormat, setSampleRate, setVideoBitrate, setVideoCodec, setVideoCodecName, setVideoOption, setVideoQualitypublic FFmpegFrameRecorder(File file, int audioChannels)
public FFmpegFrameRecorder(String filename, int audioChannels)
public FFmpegFrameRecorder(File file, int imageWidth, int imageHeight)
public FFmpegFrameRecorder(String filename, int imageWidth, int imageHeight)
public FFmpegFrameRecorder(File file, int imageWidth, int imageHeight, int audioChannels)
public FFmpegFrameRecorder(String filename, int imageWidth, int imageHeight, int audioChannels)
public static FFmpegFrameRecorder createDefault(File f, int w, int h) throws FrameRecorder.Exception
FrameRecorder.Exceptionpublic static FFmpegFrameRecorder createDefault(String f, int w, int h) throws FrameRecorder.Exception
FrameRecorder.Exceptionpublic static void tryLoad()
throws FrameRecorder.Exception
FrameRecorder.Exceptionpublic void release()
throws FrameRecorder.Exception
release in class FrameRecorderFrameRecorder.Exceptionpublic void releaseUnsafe()
throws FrameRecorder.Exception
FrameRecorder.Exceptionprotected void finalize()
throws Throwable
public int getFrameNumber()
getFrameNumber in class FrameRecorderpublic void setFrameNumber(int frameNumber)
setFrameNumber in class FrameRecorderpublic long getTimestamp()
getTimestamp in class FrameRecorderpublic void setTimestamp(long timestamp)
setTimestamp in class FrameRecorderpublic void start()
throws FrameRecorder.Exception
start in class FrameRecorderFrameRecorder.Exceptionpublic void startUnsafe()
throws FrameRecorder.Exception
FrameRecorder.Exceptionpublic void stop()
throws FrameRecorder.Exception
stop in class FrameRecorderFrameRecorder.Exceptionpublic boolean record(opencv_core.IplImage image) throws FrameRecorder.Exception
record in class FrameRecorderFrameRecorder.Exceptionpublic boolean record(opencv_core.IplImage image, int pixelFormat) throws FrameRecorder.Exception
FrameRecorder.Exceptionpublic boolean record(int sampleRate,
int audioChannels,
Buffer... samples)
throws FrameRecorder.Exception
record in class FrameRecorderFrameRecorder.ExceptionCopyright © 2014. All Rights Reserved.