public class VideoWriter extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
nativeObj |
Modifier | Constructor and Description |
---|---|
|
VideoWriter() |
protected |
VideoWriter(long addr) |
|
VideoWriter(java.lang.String filename,
int fourcc,
double fps,
Size frameSize) |
|
VideoWriter(java.lang.String filename,
int fourcc,
double fps,
Size frameSize,
boolean isColor) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
static int |
fourcc(char c1,
char c2,
char c3,
char c4) |
double |
get(int propId) |
boolean |
isOpened() |
boolean |
open(java.lang.String filename,
int fourcc,
double fps,
Size frameSize) |
boolean |
open(java.lang.String filename,
int fourcc,
double fps,
Size frameSize,
boolean isColor) |
void |
release() |
boolean |
set(int propId,
double value) |
void |
write(Mat image) |
protected final long nativeObj
protected VideoWriter(long addr)
public VideoWriter(java.lang.String filename, int fourcc, double fps, Size frameSize, boolean isColor)
public VideoWriter(java.lang.String filename, int fourcc, double fps, Size frameSize)
public VideoWriter()
public boolean isOpened()
public boolean open(java.lang.String filename, int fourcc, double fps, Size frameSize, boolean isColor)
public boolean set(int propId, double value)
public double get(int propId)
public static int fourcc(char c1, char c2, char c3, char c4)
public void release()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable