Package org.opencv.videoio
Class VideoWriter
- java.lang.Object
-
- org.opencv.videoio.VideoWriter
-
public class VideoWriter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
nativeObj
-
Constructor Summary
Constructors Modifier Constructor Description VideoWriter()
protected
VideoWriter(long addr)
VideoWriter(String filename, int fourcc, double fps, Size frameSize)
VideoWriter(String filename, int fourcc, double fps, Size frameSize, boolean isColor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
static int
fourcc(char c1, char c2, char c3, char c4)
double
get(int propId)
boolean
isOpened()
boolean
open(String filename, int fourcc, double fps, Size frameSize)
boolean
open(String filename, int fourcc, double fps, Size frameSize, boolean isColor)
void
release()
boolean
set(int propId, double value)
void
write(Mat image)
-
-
-
Method Detail
-
isOpened
public boolean isOpened()
-
set
public boolean set(int propId, double value)
-
get
public double get(int propId)
-
fourcc
public static int fourcc(char c1, char c2, char c3, char c4)
-
release
public void release()
-
write
public void write(Mat image)
-
-