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 longnativeObj
-
Constructor Summary
Constructors Modifier Constructor Description VideoWriter()protectedVideoWriter(long addr)VideoWriter(String filename, int fourcc, double fps, Size frameSize)VideoWriter(String filename, int fourcc, double fps, Size frameSize, boolean isColor)VideoWriter(String filename, int apiPreference, int fourcc, double fps, Size frameSize)VideoWriter(String filename, int apiPreference, int fourcc, double fps, Size frameSize, boolean isColor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoWriter__fromPtr__(long addr)protected voidfinalize()static intfourcc(char c1, char c2, char c3, char c4)doubleget(int propId)StringgetBackendName()longgetNativeObjAddr()booleanisOpened()booleanopen(String filename, int fourcc, double fps, Size frameSize)booleanopen(String filename, int fourcc, double fps, Size frameSize, boolean isColor)booleanopen(String filename, int apiPreference, int fourcc, double fps, Size frameSize)booleanopen(String filename, int apiPreference, int fourcc, double fps, Size frameSize, boolean isColor)voidrelease()booleanset(int propId, double value)voidwrite(Mat image)
-
-
-
Constructor Detail
-
VideoWriter
protected VideoWriter(long addr)
-
VideoWriter
public VideoWriter(String filename, int apiPreference, int fourcc, double fps, Size frameSize, boolean isColor)
-
VideoWriter
public VideoWriter(String filename, int apiPreference, int fourcc, double fps, Size frameSize)
-
VideoWriter
public VideoWriter(String filename, int fourcc, double fps, Size frameSize, boolean isColor)
-
VideoWriter
public VideoWriter()
-
-
Method Detail
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static VideoWriter __fromPtr__(long addr)
-
getBackendName
public String getBackendName()
-
isOpened
public boolean isOpened()
-
open
public boolean open(String filename, int apiPreference, int fourcc, double fps, Size frameSize, boolean isColor)
-
open
public boolean open(String filename, int apiPreference, int fourcc, double fps, Size frameSize)
-
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)
-
-