public CVVideoWriter(string filename, CVCodec codec, CVFramesPerSecond fps, int width, int height, bool is_color) { Create(filename, codec, fps, width, height, is_color); }
protected void Create(string filename, CVCodec codec, CVFramesPerSecond fps, int width, int height, bool is_color) { vw_ = PInvoke.cvCreateVideoWriter(filename, (int)codec, (int)fps, new __CvSize(width, height), is_color ? 1 : 0); CVUtils.CheckLastError(); }
public CVVideoWriter(string filename, CVCodec codec, CVFramesPerSecond fps, int width, int height) { Create(filename, codec, fps, width, height, true); }