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(); }